nickyeoman / phpframework
Quick, easy to use framework.
4.0.6
2024-06-04 05:18 UTC
Requires
- php: ~8.0
- erusev/parsedown: ^1.7
- nette/mail: ^3.1.6
- nickyeoman/nytwig: ~1.0
- nickyeoman/php-mysql-helper: ~2.0
- nickyeoman/php-validation-class: ~5.0
- nickyeoman/sasslibrary: ~2.0
- symfony/yaml: *
- tracy/tracy: v2.10.5
- twig/twig: *
- vlucas/phpdotenv: v5.4.1
This package is auto-updated.
Last update: 2026-06-28 22:48:05 UTC
README
Links
Things you need to know
- Always run scripts from the project root directory (composer.json, .env also live here).
Requirements
- For ubuntu you need php-cli (sudo nala install php-curl php-xml php-mysql)
- Install Composer
Easy Install
echo "Please enter the project name:"; read MYPRO; wget 4lt.ca/nyphp; bash nyphp $MYPRO; rm nyphp;
Now you should change your dotenv file;
Then run sudo docker-compose up -d.
Your development server is configured, use sass to modify the look.
Framework Documentation
Framework Philosophies
- Build websites fast
- A url should be modern, no GET statements (question marks).
- You should not have to define controllers, routes should be based on the url and the system should be able to figure them out.
- Docker is king
- Apache is not that bad
I went with bash for the automation process for two reasons:
- I'm more familiar with bash.
- It seemed more appropriate when working with docker containers.
Notes
add this to project composer:
"autoload": {
"psr-4": {
"Nickyeoman\\Framework\\Controllers\\": "app/Controllers/"
}
}