Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrating to FuelPHP with existing database

I'm migreting from Codeigniter to FuelPHP. I like Fuel's ORM and other nice stuff and it's really good to enough to start with if you're creating an app from scratch. In my case I have a populated MySQL database and am looking for a right way to use Fuel's ORM and generate controllers, models and views with existing database schema and data. The FuelPHP forum seems to be down for a while and I can't search there. Thanks in advance!

like image 747
Cyprezz Avatar asked Mar 08 '26 11:03

Cyprezz


1 Answers

Oil can not be used to reverse engineer an existing database.

But nobody's stopping you from writing your own tasks that will do that, or even simply generate the oil commandline for you based on an existing table layout.

This task can for example generate models from existing tables...

like image 104
WanWizard Avatar answered Mar 10 '26 01:03

WanWizard



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!