PHP Project Setup Script - A bash script for common setups for my PHP projects
- Shell 88%
- PHP 12%
| scripts | ||
| templates | ||
| .editorconfig | ||
| .gitignore | ||
| lefthook.yml | ||
| LICENSE | ||
| mise.toml | ||
| ppss | ||
| README.md | ||
PHP Project Setup Script
PPSS (PHP Project Setup Script) is a Bash script so that I can quickly set up all my normal dependencies in a PHP project
Features
- Set up Herd with the latest PHP version
- Install dev packages:
- PHP CS Fixer + Custom Rules
- PHPStan
- Larastan for Laravel projects
- Rector
- Composer Normalize
- Set up dev tools using Mise:
- Set up git hooks
- Set up configuration files
- Add Composer scripts to run code quality tools
- Adds or adjusts Composer lifecycle scripts
Requirements
⚠️ Currently this script is only supported on macOS
Usage
⚠️ Piping random scripts from the internet directly into a shell is very dangerous. Make sure you read the script before you do this.
Making use of this script is done at your own risk
Fish
bash (curl -fsSL https://code.rvx.works/RVxLab/ppss/raw/branch/main/ppss | psub)
Bash
bash <(curl -fsSL https://code.rvx.works/RVxLab/ppss/raw/branch/main/ppss)
License
This project is licensed under MIT.