This is a repository intended to serve as a starting point if you want to bootstrap a project in PHP.
It could be useful if you want to start from scratch a kata or a little exercise or project.
- If you don't have it already, install Composer.
- Create your project based on this bootstrap repo:
composer create-project codelytv/php-bootstrap your-kata-name. - Run all the checks:
composer test. This will do some checks that you can perform with isolated commands:- PHP Parallel Lint:
composer lint. - PHP Style Check:
composer style. If you want to fix style issues automatically:composer fix-style. - PHP Unit:
composer phpunit.
- PHP Parallel Lint:
- Start coding!
- Refactoring.guru Code Smells catalog
- Refactoring.guru Refactorings catalog
- SourceMaking Refactorings catalog
- Martin Fowler Refactorings catalog
- CodelyTV Refactoring videos (Spanish)
This hopefully helpful utility has been developed by CodelyTV and Contributors.
We'll try to maintain this project as simple as possible, but Pull Requests are welcomed!
The MIT License (MIT). Please see License File for more information.