wateringcart / laravel-posts by WateringCart

Laravel-Posts.
20
0
1
Package Data
Maintainer Username: WateringCart
Maintainer Contact: wateringcart@outlook.com (Wateringcart)
Package Create Date: 2017-05-20
Package Last Update: 2017-05-22
Language: PHP
License: MIT
Last Refreshed: 2024-04-30 03:02:48
Package Statistics
Total Downloads: 20
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

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"