jabarihunt/mysql-model-builder

A class that builds usable models based on your MySQL database tables.

Installs: 71

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/jabarihunt/mysql-model-builder

v0.4.3 2022-08-16 14:03 UTC

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

  1. Fork Repository
  2. Create a descriptive branch name
  3. Make edits to your branch
  4. Squash (Rebase) your commits
  5. Create a pull request

License

This project is licensed under the MIT License - see the LICENSE.md file for details