Question:
Is it possible to use Lumen and Eloquent on a Firebird database that is already used by another application, without the ORM making changes to the database structure?
Another detail: is there the possibility of accessing only 10% of the tables without the risk of alteration, creating only the necessary Models classes?
I'm starting to learn the framework and would like to know about this possibility.
Would they be able to indicate any article, article or book that would help me to do so?
Answer:
Is it possible to use Lumen and Eloquent on a Firebird database that is already used by another application, without the ORM making changes to the database structure?
Yes, it is possible. Eloquent does not change the source database table structure (except in cases where you create a migration ). You just need to adapt the Model, like the primary key field, table name, access the correct fields, and so on.
The Eloquent Documentation shows you how to do this.
For Firebird support with Lumen or Laravel, you can use this package :
https://github.com/jacquestvanzuydam/laravel-firebird/tree/5.2-sup
Another detail: is there the possibility of accessing only 10% of the tables without the risk of alteration, creating only the necessary Models classes?
Only the Models you implement will be able to manipulate the tables. What you don't implement if you don't have to will be left out.
Would they be able to indicate any article, article or book that would help me to do so?
You can choose to read the documentation for Lumen, Laravel or the package I recommended for this. For those of you who are just starting out, I don't know if it's a good idea to go straight to Lumen, because you'll have to do a lot by hand.
A step by step for what you want to do you will hardly find, but nothing stops you from breaking your head and publishing something that can help someone in the future 🙂