Laravel Voyager BREAD builder for existing data. The intention of this package is to make it easy to make seeders for your BREAD.
Via Composer
$ composer require codelabs/voyagerbreadbuilder$ php artisan bread:datatypes articles Replace articles with the name of the slug in your data_types table. This will create the following file:
/database/seeds/articles/VoyagerDataTypesSeeder.php$ php artisan bread:datarows articles Replace articles with the name of the slug in your data_types table. This will create the following file:
/database/seeds/articles/VoyagerDataRowSeeder.php$ php artisan bread:permissions articles Replace articles with the name of the table you want to add permissions to.
This will create the following seeder:
/database/seeds/articles/VoyagerDataRowSeeder.phpThis seeder will create the following in the permissions table
- browse_articles
- read_articles
- edit_articles
- add_articles
- delete_articles
Please see the changelog for more information on what has changed recently.
$ composer testPlease see contributing.md for details and a todolist.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
MIT. Please see the license file for more information.