sbkinfo/cleanses

Trasher for laravel

v1.0.4 2018-02-14 15:59 UTC

This package is not auto-updated.

Last update: 2024-11-10 06:07:07 UTC


README

Cleanses (database inverse seeds) for laravel framework.

How to install

Run this command in terminal

composer require "sbkinfo/cleanses"

Include ServiceProvider in config/app.php

'providers' => [
    
    # Other service providers...
    SBKInfo\Cleanses\Providers\CleanserProvider::class
    
]

To create a Cleanser class, run the following command

php artisan make:cleanser Test

To run a Cleanser class, run the following command

php artisan db:cleanser Test