Download the PHP package patinthehat/laravel-support without Composer
On this page you can find all versions of the php package patinthehat/laravel-support. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-support
LaravelSupport
Various support classes for Laravel 5+.
Installation
Install with composer:
composer require patinthehat/laravel-support
Classes
ExtendedSeeder
ExtendedSeeder is an extended version of the Seeder
class and provides easy foreign key check enable/disable and table truncating. It also allows for easy access to Faker.
Methods
getFaker()
- returns an instance of Faker\Factory (see Faker).init($tableName, $disableForeignKeyChecks = true, $deleteAllTableEntries = true)
- call at the beginning ofrun()
.cleanup()
- call at the end ofrun()
.
Sample Usage:
ExtendedMigration
ExtendedMigration is an extended version of the Migration
class and provides easy foreign key creation/deletion.
Methods
--
Sample Usage:
License
LaravelSupport is available under the MIT License.
All versions of laravel-support with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.4
The package patinthehat/laravel-support contains the following files
Loading the files please wait ....