bagoesz21 / laravel-console-browser
Browser console for Laravel Framework.
Installs: 461
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 0
Language:CSS
Requires
- php: ^7.3|^8.0
- illuminate/support: ^8.0|^9.0
Requires (Dev)
- orchestra/testbench: ^6.2
README
In-browser console for Laravel PHP framework.
This package is a re-published, re-organised and maintained version of teepluss/laravel-console, which isn't maintained anymore.
This package executes your code within ConsoleController@postExecute
context, and displays the produced output.
The purpose is to easily test your stuff without creating garbage routes and controllers just to run something, ... I'm sure you know what I'm talking about :)
This package is intended for a local testing, and shouldn't get nowhere near your production servers!
Screenshots
Installation
Laravel
To install through composer, simply run the following command:
php composer require bagoesz21/laravel-console-browser
If you don't use Laravel 5.5+ and its package discovery feature, register the console service provider in config/app.php
:
'providers' => [ ... Bagoesz21\ConsoleBrowser\ConsoleBrowserServiceProvider::class, ];
Then publish the package assets:
php artisan vendor:publish --provider="Bagoesz21\ConsoleBrowser\ConsoleBrowserServiceProvider"
And you are done! Open the console in:
yourdomain.com/console
The default username and password is username:password
You can change on config/console.php