This project is a PHP application boilerplate using Laravel components and Phinx for database migrations.
- Uses Laravel's Illuminate Collections.
- Phinx for database migrations.
- dotenv-php for environment variables.
- PHP >= 7.4
- Composer
-
Clone the repository:
git clone https://github.com/yourusername/php-project-boilerplate.git
-
Navigate into the project directory:
cd php-project-boilerplate
-
Install dependencies:
composer install
./cmdrunner migrate
./cmdrunner rollback
./cmdrunner status
./cmdrunner create migration MyNewMigration
./cmdrunner create seed MyNewSeeder
./cmdrunner seed
composer test
- Adjust database settings in
phinx.php
and.env
.
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeatureName
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeatureName
). - Open a pull request.
MIT License. See LICENSE for details.