gearbox-solutions / eloquent-filemaker

A Model extension and Eloquent driver for Laravel connecting to FileMaker through the Data API
https://gearboxgo.com
MIT License
54 stars 16 forks source link

Add vendor publish as well as register make:fm-model command #48

Open likeadeckofcards opened 1 year ago

likeadeckofcards commented 1 year ago

This PR creates 2 option vendor:publish options. The default will publish a new model in the stubs folder that will be used by the make:fm-model command. The second option will publish the fm.model to override the default model.stub so you can use make:model intended if you plan to only use this project with FileMaker backed models. Also, created a new command make:fm-model that will create model similar to Laravel's native make:model command. The readme file has been updated to include these new features.