Closed mwuhahaha closed 8 years ago
Hey!
At first glance everything looks okay to me. I currently don't have a Lumen app with annotations running. My Laravel5 app with annotations works with Timestampable and my Lumen5 app with Fluent works as well.
Is it only the doctrine:info
command that fails or if you open the app too?
You are not loading the config files. Could it be the problem? I will post a snipet soon about loading the configs
When I configured lumen, I had to load some config files like it:
PS 1: I am not using annotations too. I am using fluent as mapping drive. PS 2: I had to create the manually the config folder and the config files because you cannot let lumen generate then. Lumen doesn't support it.
...
$app->withFacades();
// $app->withEloquent();
/*
|--------------------------------------------------------------------------
| Register Configuration Files
|--------------------------------------------------------------------------
|
| Now we will register the configuration files.
|
*/
$app->configure('cache');
$app->configure('database');
$app->configure('doctrine');
$app->configure('filesystems');
$app->configure('mail');
$app->configure('migrations');
$app->configure('services');
@josenicomaia That solved it for me. Thank you very much. I wasn't properly loading the config file.
Thank you both for your help and the great work you've done.
Hello, first thank you very much for your work on this awesome project.
I am getting the following error:
when attempting to run
php artisan doctrine:info
My bootstrap/app.php is as follows
and composer.json has been updated.
It's referring to:
Any ideas? Seems like many people ran into an issue including the ExtensionsServiceProvider before the DoctrineServiceProvider, but that does not seem to be the case here.
Thanks again for your help.