Better Laravel Exception Handler
- The database of the table schema, the output function into the file
- Laravel 5
- Output Excel2007
- Mysql5.6 After,MariaDB10 After
To get the latest version of Laravel Exceptions, simply require the project using Composer:
composer require Imagine10255/schema-build --dev
Instead, you may of course manually update your require block and run composer update
if you so choose:
{
"require": {
"Imagine10255/schema-build": "^1.0"
}
}
Include the service provider within app/Providers/AppServiceProvider.php
. The service povider is needed for the generator artisan command.
...
if ($this->app->environment() == 'local') {
$this->app->register('Imagine10255\SchemaBuild\SchemaBuildServiceProvider');
}
publish
php artisan vendor:publish --provider="Imagine10255\SchemaBuild\SchemaBuildServiceProvider"
build excel
php artisan schema:build-excel