wateringcart/laravel-posts

v0.0.4 2017-05-22 14:31 UTC

This package is not auto-updated.

Last update: 2024-11-24 02:33:37 UTC


README

README.md

  1. Add posts to composer.json:
"wateringcart/laravel-posts": "dev-master",

  1. Run composer update to pull down the code:
$ composer up

  1. Edit app/config/app.php and add the provider, Add the alias:
'providers' => [
    // ... orther providers ...
    Wateringcart\PostsServiceProvider::class,
],

'aliases' => [
    // ... orther ServiceProvider aliases ...
    'Posts' => Wateringcart\PostsServiceProvider::class,
],
  1. vendor:publish :

$ php artisan vendor:publish --provider="Wateringcart\PostsServiceProvider"