laravel/framework — pull request #1303 by awellis13 (2013-05-15 05:50:57+00:00)
Title: allow disabling the creation of the compiled.php

I would like to propose a feature request on the `artisan optimize` command. Right now, the `compile.php` file is always generated no matter what. When I'm debugging projects of mine, I use xDebug to step through my code. It has become a little annoying to step into the compiled.php file and discovering bugs with your code. You then have to scroll around and figure out what class you're in, then hunt that file down and make the changes then rerun the `optimize` command.

I would like the ability to disable the creation of this file for local development. This change also would propose a configuration change to the config file `compile.php` in the skeleton application.

That file would now need to look like this:

````
true,

/*
|--------------------------------------------------------------------------
| Additional Compiled Classes
|--------------------------------------------------------------------------
|
| Here you may specify additional classes to include in the compiled file
| generated by the `artisan optimize` command. These should be classes
| that are included on basically every request into the application.
|
*/
'classes' => array()
);
````

I have tested this locally and it works fantastic now. I don't know if there is anyone else out there who would like to be able to do this, but if this made it in I'd be a happy panda.

Best regards,
Andrew