nickyeoman / phpframework
Quick, easy to use framework.
3.0.6
2023-11-24 06:37 UTC
Requires
- php: >=7.4 <8.3
- erusev/parsedown: ^1.7
- nette/mail: ^3.1.6
- nickyeoman/nytwig: ^1.0
- nickyeoman/php-mysql-helper: ^2.0.3
- nickyeoman/php-validation-class: ^5.0
- nickyeoman/sasslibrary: ^2.0.0
- php-imap/php-imap: ^2.0
- tracy/tracy: v2.10.5
- twig/twig: 3.3.7
- vlucas/phpdotenv: v5.4.1
- dev-main
- 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: 2023-11-24 07:59:43 UTC
README
Links
Things you need to know
- Always run scripts from the project root directory (composer.json, .env also live here).
Requirements
- ubuntu php-cli (sudo nala install php-curl php-xml php-mysql)
- Install Composer
Easy Install
Just change "YOUR_PROJECT_NAME" to whatever you want.
wget fbot.co/nyphp bash nyphp YOUR_PROJECT_NAME 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.