bagoesz21 / laravel-console-browser by bagoesz21

Browser console for Laravel Framework.
453
2
1
Package Data
Maintainer Username: bagoesz21
Maintainer Contact: bgs.beep21@gmail.com (BEEP)
Package Create Date: 2020-10-20
Package Last Update: 2024-04-18
Home Page:
Language: CSS
License: MIT
Last Refreshed: 2024-11-18 03:02:18
Package Statistics
Total Downloads: 453
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 1
Total Forks: 1
Total Open Issues: 0

Laravel Console Browser

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