teepluss/console

Browser console for Laravel Framework.

Downloads

48921

Stars

43

Version

2.1.0

Laravel 5 Console

In-browser console for Laravel 5 PHP framework.

This package is a re-published, re-organised and maintained version of darsain/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

Index Output SQL

Installation

Laravel 5

To install through composer, simply run the following command:

php composer require teepluss/console

If you don't use Laravel 5.5+ and its package discovery feature, register the console service provider in config/app.php:

'providers' => [
	...
	Teepluss\Console\ConsoleServiceProvider::class,
];

Then publish the package assets:

php artisan vendor:publish --provider="Teepluss\Console\ConsoleServiceProvider"

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

teepluss

Author

teepluss