Integrate laravels quiery builder

Permalink 1 user found helpful
Hi all
I'd like to port a laravel 5 project to c5.7.
In the project I used laravels query builder. So I've tried to integrate the querybuilder into my package.
I followed the instruction here:http://www.edzynda.com/use-laravels-eloquent-orm-outside-of-laravel...

Whenever I include the database.php file, c5 is not able to load the class of a block I've created inside the packages.
I guess it has something to do with namespaces.

Any idea?
Thanks
Ueli