selahattinunlu / laravel-api-query-builder

Laravel & Lumen Api Query Builder Package
331 stars 66 forks source link

Lumen compatibility #4

Closed OskarD closed 8 years ago

OskarD commented 8 years ago

Support for Lumen would be great! Right now, I get an uncaught ReflectionException:

( ! ) Fatal error: Uncaught ReflectionException: Class path.storage does not exist in /home/vagrant/Code/parties-api/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 738

OskarD commented 8 years ago

Turns out the problem is on the other side of the equation (Lumen), sorry

OskarD commented 8 years ago

It would still be cool to have Lumen support, though. After some research, it seems like all the problems can be addressed within this repo to allow for Lumen support

selahattinunlu commented 8 years ago

@OskarD I will add Lumen support today, thanks for advice :)

selahattinunlu commented 8 years ago

@OskarD I released new version for lumen compatibility.

Please remember, add these lines in bootstrap/app.php: $app->withFacades(); $app->withEloquent(); $app->register(Unlu\Laravel\Api\LumenServiceProvider::class);