You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a laravel 4.2 app that I would like to use this for. I'm able to get it installed okay but I'm getting the error "ReflectionException: Class db does not exist".
The full error from artisan is:
{"error":{"type":"ReflectionException","message":"Class db does not exist","file":"/var/www/laravel/vendor/laravel/framework/src/Illuminate/Container/Container.php","line":504}}
in my composer.json I have: "cooperl/laravel-db2": "1.0.*"
I added 'Cooperl\Database\DB2\DB2ServiceProvider', to my app.php file
and my controller is making a very simple query: DB::connection('iseries')->table('my_users')->first();.
I get the same error if I attempt to run php artisan
My main question is does this work at all for laravel 4?
The text was updated successfully, but these errors were encountered:
I have a laravel 4.2 app that I would like to use this for. I'm able to get it installed okay but I'm getting the error "ReflectionException: Class db does not exist".
The full error from artisan is:
{"error":{"type":"ReflectionException","message":"Class db does not exist","file":"/var/www/laravel/vendor/laravel/framework/src/Illuminate/Container/Container.php","line":504}}
in my composer.json I have:
"cooperl/laravel-db2": "1.0.*"
I added
'Cooperl\Database\DB2\DB2ServiceProvider',
to my app.php fileand my controller is making a very simple query:
DB::connection('iseries')->table('my_users')->first();
.I get the same error if I attempt to run
php artisan
My main question is does this work at all for laravel 4?
The text was updated successfully, but these errors were encountered: