PHP code example of mazedlx / ignition-migrations
1. Go to this page and download the library: Download mazedlx/ignition-migrations library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mazedlx / ignition-migrations example snippets
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Ignition::tab(new MigrationsTab);
}
return [
/*
* You can choose if you want the output to be
* raw, like it would look in your terminal, or to be
* html, which will display a nice HTML table.
*/
'view' => 'raw',
];
bash
$ php artisan vendor:publish --provider="Mazedlx\MigrationsTab\TabServiceProvider"