wateringcart/laravel-posts

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

This package is not auto-updated.

Last update: 2024-05-11 23:46:26 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"