teepluss/console

Browser console for Laravel Framework.

Installs: 49 669

Dependents: 0

Suggesters: 0

Security: 0

Stars: 42

Watchers: 4

Forks: 44

Language:CSS

2.1.0 2017-04-20 09:18 UTC

This package is not auto-updated.

Last update: 2024-10-27 02:40:19 UTC


README

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