PHP code example of idfx / laravel-example-package
1. Go to this page and download the library: Download idfx/laravel-example-package 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/ */
idfx / laravel-example-package example snippets
return [
/*
|--------------------------------------------------------------------------
| Command Output
|--------------------------------------------------------------------------
|
| This value will be shown when the example command is executed
|
*/
'command_output' => 'Output configured in config file',
];
$example = new Idfx\Example();
echo $example->echoPhrase('Hello, Idfx!');
bash
php artisan vendor:publish --tag="example-package-migrations"
php artisan migrate