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
- dev-main
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.4.0
- 2.3.13
- 2.3.12
- 2.3.11
- 2.3.10
- 2.3.9
- 2.3.8
- 2.3.7
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.7
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.14
- 2.0.13
- 2.0.12
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.3.1
- 1.2.1
- 1.2.0
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.1
- 1.0.0
- 0.10
- 0.9
- 0.8
- 0.6
- 0.5
- 0.4
- 0.3
- 0.2
- 0.1
This package is auto-updated.
Last update: 2024-10-28 19:10:56 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/"
}
}