Easy Articles for Laravel
You can install the package via composer:
composer require artisanry/articles
You must publish the migration with:
php artisan vendor:publish --provider="Artisanry\Articles\ArticlesServiceProvider" --tag="migrations"
php artisan migrate
Optionally you can publish the config-file with:
php artisan vendor:publish --provider="Artisanry\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 `Artisanry\Articles\Article`. */ 'article_model' => \Artisanry\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 email@example.com. All security vulnerabilities will be promptly addressed.
This project exists thanks to all the people who contribute.
Mozilla Public License Version 2.0 (MPL-2.0).