# Laravel 5.1 Generators

Some generators for Laravel 5.1

## Install

Require the package:

```sh
composer require bvw/laravel-generators dev-master
```

Add the service provider to **config/app.php** in Providers section:

```sh
BVW\Providers\GeneratorServiceProvider::class,
```

Run the generators:

```sh
php artisan make:database
```

### Available Commands

```sh
make:database -- creates a database based on your environment variables (.env file)
```

### Notes

For the *make:database* command you should configure your .env and add DB_CONNECTION to override default *mysql* in 
**config/database.php** config file