Easy Articles for Laravel
You can install the package via composer:
composer require faustbrian/laravel-articles
You must publish the migration with:
php artisan vendor:publish --provider="BrianFaust\Articles\ArticlesServiceProvider" --tag="migrations"
php artisan migrate
Optionally you can publish the config-file with:
php artisan vendor:publish --provider="BrianFaust\Articles\ArticlesServiceProvider" --tag="config"
This is the contents of the file which will be published at
return [ /* * The class name of the article model that holds all articles. * * The model must be or extend `BrianFaust\Articles\Article`. */ 'article_model' => \BrianFaust\Articles\Article::class, /* * The class name of the author model that owns all articles. */ 'author_model' => \App\User::class, ];
If you discover a security vulnerability within this package, please send an e-mail to firstname.lastname@example.org. All security vulnerabilities will be promptly addressed.