Easily Running Custom Scripts in a Bootstrapped Laravel Environment

Laravel is pretty great. It conveniently includes a very robust command line tool, artisan, that can very easily be extended with custom commands.

That's great and meets most needs, but what if you want to just run an arbitrary script inside your bootstrapped laravel environment without having to create a specific artisan command to do so?

If you find yourself needing or wanting to do this, I have a solution for you that keeps things pretty simple, the way working with laravel tends to be.