I can't find any documentation and haven't tested it yet but here's a class for a 'tinker' command in the Illuminate (Laravel) sources: https://github.com/laravel/framework/blob/master/src/Illumin...
'php artisan tinker' on the command line should bring it up.