|
| 1 | +# PHP Bootstrap (base / project skeleton) |
| 2 | + |
| 3 | +[](https://travis-ci.org/CodelyTV/php-bootstrap) |
| 4 | +[](https://codeclimate.com/github/CodelyTV/php-bootstrap) |
| 5 | +[](https://codeclimate.com/github/CodelyTV/php-bootstrap/coverage) |
| 6 | + |
| 7 | +## Introduction |
| 8 | + |
| 9 | +This is a repository intended to serve as a starting point if you want to bootstrap a project in PHP. |
| 10 | + |
| 11 | +It could be useful if you want to start from scratch a kata or a little exercise or project. |
| 12 | + |
| 13 | +## How To Start |
| 14 | + |
| 15 | +1. Clone this repository `git clone https://github.com/CodelyTV/php-bootstrap`. |
| 16 | +2. Install all the [Composer](https://getcomposer.org/) dependencies with `composer install`. |
| 17 | +3. Run the [PHP Paralel Lint](https://github.com/JakubOnderka/PHP-Parallel-Lint) with `composer lint`. |
| 18 | +4. Run the [PHP Unit](https://phpunit.de/) test with `composer phpunit` (you can also run both checks with the `composer test` command). |
| 19 | +5. Start your project! |
| 20 | + |
| 21 | +## Helpful resources |
| 22 | + |
| 23 | +### PHP 7 |
| 24 | + |
| 25 | +* [PHP 7 new features](http://php.net/manual/en/migration70.new-features.php) |
| 26 | +* [Scalar type declarations example](https://github.com/tpunt/PHP7-Reference#scalar-type-declarations) |
| 27 | +* [Return type declarations example](https://github.com/tpunt/PHP7-Reference#return-type-declarations) |
| 28 | + |
| 29 | +### PHPUnit 5.5 |
| 30 | + |
| 31 | +* [Introduction to writing tests for PHPUnit](https://phpunit.de/manual/current/en/writing-tests-for-phpunit.html) |
| 32 | +* [Testing exceptions with PHPUnit](https://phpunit.de/manual/current/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.exceptions) |
| 33 | +* [PHPUnit assertions](https://phpunit.de/manual/current/en/appendixes.assertions.html) |
| 34 | + |
| 35 | +### Refactoring |
| 36 | + |
| 37 | +* [Refactoring.guru Code Smells catalog](https://refactoring.guru/smells/smells) |
| 38 | +* [Refactoring.guru Refactorings catalog](https://refactoring.guru/catalog) |
| 39 | +* [SourceMaking Refactorings catalog](https://sourcemaking.com/refactoring) |
| 40 | +* [Martin Fowler Refactorings catalog](http://refactoring.com/catalog/) |
| 41 | +* [CodelyTV Refactoring videos (Spanish)](http://codely.tv/tag/refactoring/) |
| 42 | + |
| 43 | +# Other programming languages |
| 44 | + |
| 45 | +* [PHP](https://github.com/CodelyTV/php-bootstrap) |
| 46 | +* [Scala](https://github.com/CodelyTV/scala_bootstrap) |
| 47 | + |
| 48 | +## About |
| 49 | + |
| 50 | +This hopefully helpful utility has been developed by [CodelyTV](http://codely.tv/). |
| 51 | + |
| 52 | +We'll try to maintain this project as simple as possible, but Pull Requests are welcomed! |
0 commit comments