| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository provides interactive bash scripts to set up a complete PHP development environment on:
| Script | Target Platform | Description |
|---|---|---|
| setup.sh | Linux (Ubuntu/Debian) | Full setup script for Linux |
| setup-wsl.sh | Windows WSL 1/2 | Adapted setup script for WSL + Windows notes |
git clone https://github.com/oheneadjei/php-dev-setup.git
cd php-dev-setupchmod +x setup.sh setup-wsl.sh./setup.sh./setup-wsl.shSnap is often unsupported on WSL. The script detects this and offers alternatives.
Default aliases added (can be customized during setup):
alias serve="php artisan serve"
alias art="php artisan"
alias nginx-restart="sudo systemctl restart nginx"
alias mongo-start="sudo systemctl start mongod"
start_project() {
cd ~/Projects/"$1" && valet link && php artisan serve
}📢 Run serve to quickly start a Laravel server.
MIT License - See LICENSE
Ohene Adjei
https://ohene.dev
GitHub: @oheneadj
💡 Contributions, suggestions, and PRs are welcome!
Tested on:
Please open an issue for bugs or environment-specific improvements.
php-dev-setup/ ├── setup.sh ├── setup-wsl.sh ├── alias-sample.sh ├── LICENSE └── README.md
| Back | FazBrowse Home | New Git URL |