- Clone repository:
git clone https://github.com/Stacha-dev/tardis.git && cd tardis - Run install script
./bin/install.sh <db_user> <db_password> <db_name> - Generate password for root user
composer app:password <password>
- Update
git pull developto get recent commits - Install composer dependencies
composer install - Load DB schema
composer migrations:migrateand generate proxiescomposer orm:proxies - Create new branch by
git checkout -b <branch-name>follow this convention:- Feature
feat/<feature-name> - Bugfix
fix/<bugfix-name> - Chore
chore/<chore-name>
- Feature
- Commit changes to the remote branch
- In case of feature add PHP Unit test suite
- Create pull request into
developbranch follow this convention<type>(Scope): Descriptionexample:feat(User): Added user model
Endpoints: POSTMAN
composer app:password <password> // Generates password
composer orm:create // Creates DB schema
composer orm:update // Updates DB schema
compsoer orm:drop // Drops DB schema
composer migrations:diff // Generates differences in DB schema
composer migrations:status // Show migration status
composer migrations:migrate // Migrate to latest migration
composert migrations:migrate:prev // Migrate to previous migration
composer phpstan // Runs static analysis
composer cs // Checks coding standarts
composer cs:fix // Fixes coding standarts
composer test // Runs all unit tests
compsoer test:coverage // Generates test coverage