wateringcart / laravel-posts
Laravel-Posts.
v0.0.4
2017-05-22 14:31 UTC
Requires
- php: >=5.6.0
Requires (Dev)
- phpunit/phpunit: ~5.7
This package is not auto-updated.
Last update: 2024-11-24 02:33:37 UTC
README
README.md
- Add posts to
composer.json
:
"wateringcart/laravel-posts": "dev-master",
- Run
composer update
to pull down the code:
$ composer up
- 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,
],
vendor:publish
:
$ php artisan vendor:publish --provider="Wateringcart\PostsServiceProvider"