Hi there a Laravel newbie building a Laravel 5.1- based app which needs to talk to an existing, populated MySQL database containing user information etc. Ideally, I'd like to use the Eloquent ORM that comes built in, but I don't want to get bogged down in manually creating Eloquent models either. I've had a look at some migrations generators on GitHub but I don't think these are what I need as we don't need to change the database. Are there generators to simply create the models for each table and the necessary logic for standard CRUD operations?
Thanks
How many tables do you have? A basic model is probably 4 lines of code, so it might not be too much hassle to create them manually failing that you could spin through each database table using mysql schema and automatically generate the files
Hi
We only have 1 existing table that we need for authentication purposes, but because we use our own password/hashing algorithm it's a bit more involved, as we have to code a new UserProvider and AuthProvider. I just wish there was an easier way !
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community