2017 © Pedro Peláez
 

library blog

Blog package for lavalite.

image

litecms/blog

Blog package for lavalite.

  • Thursday, January 26, 2017
  • by Renfos
  • Repository
  • 2 Watchers
  • 1 Stars
  • 3,308 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Lavalite package that provides blog management facility for the cms., (*1)

Installation

Begin by installing this package through Composer. Edit your project's composer.json file to require litecms/blog., (*2)

"litecms/blog": "dev-master"

Next, update Composer from the Terminal:, (*3)

composer update

Once this operation completes execute below cammnds in command line to finalize installation., (*4)

Litecms\Blog\Providers\BlogServiceProvider::class,

And also add it to alias, (*5)

'Blog'  => Litecms\Blog\Facades\Blog::class,

Publishing files and migraiting database.

Migration and seeds, (*6)

php artisan migrate
php artisan db:seed --class=Litecms\\Blog\\Seeds\\BlogTableSeeder
php artisan db:seed --class=Litecms\\Blog\\Seeds\\TagTableSeeder
php artisan db:seed --class=Litecms\\Blog\\Seeds\\CategoryTableSeeder

Publishing configuration, (*7)

php artisan vendor:publish --provider="Litecms\Blog\Providers\BlogServiceProvider" --tag="config"

Publishing language, (*8)

php artisan vendor:publish --provider="Litecms\Blog\Providers\BlogServiceProvider" --tag="lang"

Publishing views, (*9)

php artisan vendor:publish --provider="Litecms\Blog\Providers\BlogServiceProvider" --tag="view"

Web Urls

Admin, (*10)

http://path-to-route-folder/admin/blog/{modulename}

User, (*11)

http://path-to-route-folder/user/blog/{modulename}

Public, (*12)

http://path-to-route-folder/blogs

API endpoints

List, (*13)

http://path-to-route-folder/api/user/blog/{modulename}
METHOD: GET

Create, (*14)

http://path-to-route-folder/api/user/blog/{modulename}
METHOD: POST

Edit, (*15)

http://path-to-route-folder/api/user/blog/{modulename}/{id}
METHOD: PUT

Delete, (*16)

http://path-to-route-folder/api/user/blog/{modulename}/{id}
METHOD: DELETE

Public List, (*17)

http://path-to-route-folder/api/blog/{modulename}
METHOD: GET

Public Single, (*18)

http://path-to-route-folder/api/blog/{modulename}/{slug}
METHOD: GET

The Versions

26/01 2017

dev-master

9999999-dev

Blog package for lavalite.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Litecms

blog lavalite

30/07 2016

1.1.x-dev

1.1.9999999.9999999-dev

Blog package for lavalite.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Litecms

blog lavalite

30/07 2016

1.0.x-dev

1.0.9999999.9999999-dev

Blog package for lavalite.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Litecms

blog lavalite

25/07 2016

v1.0.0

1.0.0.0

Blog package for lavalite.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Litecms

blog lavalite