I used to have a bootstrap/compiled.php
file. Then I accidentally deleted it, and because for some reason it was in .gitignore, I don't have another copy of it. How do I get it back?
I tried running compose dump-autoload
and php artisan optimize
, neither of these generated the file. Where does it come from? How do I produce it?
Laravel 4.1+ does not create bootstrap/compiled.php
on development boxes anymore, only in 'production'. Actually Laravel checks if debug mode is on
if it is, it will not generate the compiled.php.
But you can:
php artisan optimize --force
To force its creation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With