dragg/laravel-seed-guarded

Set seeds by default guarded for Laravel 5.2+

0.1.3 2017-01-17 08:50 UTC

This package is auto-updated.

Last update: 2024-04-20 00:54:55 UTC


README

If you prefer run seeds by default with enabling the mass assignment restrictions in Laravel 5.2+ then you should use it.

Installation

Require this package with composer using the following command:

composer require dragg/laravel-seed-guarded

After updating composer, add the service provider to the providers array in config/app.php

Dragg\LaravelSeedGuarded\SeedServiceProvider::class,