Hi SlimFramework Friends
I have created a project using the odan/slim4-skeleton - which is just awesome by the way (this had to be said )
First - is there a reason why the Eoloquent ORM is not used any more? In the slim 3 it was very prominent and now it seems as everyone uses a different approach - is there a reason for that?
For me it was a working solution because I use the generate-model engine from laravel to reverse generate eloquent models of all existing db tables.
the result are eloquent models. So I am in the progress to figure out if I need eloquent to use them, or if I can use them with the integrated query-builder (in skeleton).
The skeleton uses array-objects as DTO Modles by my understanding. They are hand crafted I suggest. Does anyone know of a way to generate them?
I just mentioned the above to give you my reasoning for wanting to use eloquent
So I tried to integrate Eloquent ORM into the slim 4 skeleton setup - but it did not work out for me.
Has anyone done this successfully (in the skeleton setup) and can point me into the right direction?
Hello Mario,
I think on one of the reasons why Eloquent is not enabled by default could be to point the developer to use clean architectures, instead to be coupled to an ORM from the beginning.
Cheers,
ยท_-
Hi Mario,
I wanted to try out Slim 4 skeleton with eloquent too, but I didnโt manage to pull it off.
Also in my skeleton app there is no app/config directory. Is that something you created?
Can you send some example code, how you managed to do this?