bagoesz21 / laravel-console-browser by bagoesz21

Browser console for Laravel Framework.
420
2
1
Package Data
Maintainer Username: bagoesz21
Maintainer Contact: bgs.beep21@gmail.com (BEEP)
Package Create Date: 2020-10-20
Package Last Update: 2024-01-12
Home Page:
Language: CSS
License: MIT
Last Refreshed: 2024-03-23 03:02:53
Package Statistics
Total Downloads: 420
Monthly Downloads: 5
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