jabarihunt / mysql-model-builder
A class that builds usable models based on your MySQL database tables.
v0.4.3
2022-08-16 14:03 UTC
Requires
- php: >=8.0
- icanboogie/inflector: 2.0.1
- jabarihunt/mysql: v1.5.0
- vlucas/phpdotenv: 5.4.1
README
A development utility that creates CRUD models from your MySQL database tables.
Getting Started
Once the below conditions are met, you can build usable models for your entire database...
Prerequisites
- PHP 8+
- .env file in your project with DB credentials
Installing
Run the following command in the same directory as your project's composer.json file:
composer require --dev jabarihunt/mysql-model-builder
This will install the tool as a development dependency. Remember, you should always run the following before deploying to production:
composer install --no-dev
Usage
Contributing
- Fork Repository
- Create a descriptive branch name
- Make edits to your branch
- Squash (Rebase) your commits
- Create a pull request
License
This project is licensed under the MIT License - see the LICENSE.md file for details