Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chemaclass/php-scaffolding
A basic PHP scaffolding. Perfect for your pet projects and katas.
https://github.com/chemaclass/php-scaffolding
katas php php-scaffolding phpunit scaffolding
Last synced: 3 months ago
JSON representation
A basic PHP scaffolding. Perfect for your pet projects and katas.
- Host: GitHub
- URL: https://github.com/chemaclass/php-scaffolding
- Owner: Chemaclass
- License: other
- Created: 2020-02-08T13:15:34.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T13:04:41.000Z (about 1 year ago)
- Last Synced: 2023-12-04T13:35:07.542Z (about 1 year ago)
- Topics: katas, php, php-scaffolding, phpunit, scaffolding
- Language: PHP
- Homepage:
- Size: 454 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Scaffolding
[![MIT Software License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
This is a scaffolding for PHP projects. A basic structure ready to start coding in `src` and `tests`.
### Some composer scripts
```bash
composer test-all # run test-quality & test-phpunit
composer test-quality # run csrun & psalm & phpstan
composer test-phpunit # run phpunitcomposer csrun # check code style
composer psalm # run psalm coverage
composer phpstan # run phpstan coverage
```### Git hooks
Install the pre-commit hook running:
```bash
./tools/git-hooks/init.sh
```### Basic Dockerfile
If you don't have PHP in your local machine, you can use docker to build an image with `PHP 8.0`.
```bash
docker build -t php-scaffolding .
```### Contributions
Feel free to open any PR with your ideas, suggestions or improvements.
Or contact me directly via [Twitter](https://twitter.com/Chemaclass).