I am currently using artisan with laravel and I get the following error if I try to run any command with artisan (such as php artisan optimize):
[Symfony\Component\Debug\Exception\FatalErrorException] Class 'Artisan' not found
I haven't seen this error anywhere on the internet and frankly am confused that it has showed up. I haven't altered any of the the core code and I have tried composer dump-autoload with no success. Any ideas would be appreciated.