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-11-20 02:02:08 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,