PHP code example of alkhachatryan / laravel-web-console
1. Go to this page and download the library: Download alkhachatryan/laravel-web-console 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/ */
alkhachatryan / laravel-web-console example snippets
// Disable login (don't ask for credentials, be careful)
'no_login' => true,
use Alkhachatryan\LaravelWebConsole\LaravelWebConsole;
class HomeController extends Controller
{
public function index() {
return LaravelWebConsole::show();
}
}
bash
php artisan vendor:publish --tag=webconsole
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.