PHP code example of jeremykenedy / laravel2step
1. Go to this page and download the library: Download jeremykenedy/laravel2step 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/ */
jeremykenedy / laravel2step example snippets
'providers' => [
jeremykenedy\laravel2step\laravel2stepServiceProvider::class,
];
php artisan migrate
twostep
Route::group(['middleware' => ['twostep']], function () {
Route::get('/home', 'HomeController@index')->name('home');
});
bash
php artisan vendor:publish --tag=laravel2step