You want an easy way to interact with your application.
php artisan tinker command.
This command provides a REPL (Read-Eval-Print Loop) for PHP with your application's settings already loaded.
$ php artisan tinker  > echo Config::get('app.url'); http:://your.app.url  > exit;
You can access the database, use models, etc.
$ php artisan tinker  > $user = User::find(1); ->object(User)( 'incrementing' => true, 'timestamps' => true, 'exists' => true )  > echo $user->name; Chuck  > exit;
The tinker command uses Boris.
Boris is a robust, little REPL for PHP. Check out their web page at github.com/d11wtq/boris.
If the tinker command doesn't work for you, it is very likely the
disable_functions setting in your
php.ini contains the needed
pcntl_() functions. Put a comment before this line in your
php.ini and that should allow tinker to work.