This repository has been archived on 2024-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/README.md

40 lines
1.1 KiB
Markdown
Raw Normal View History

2024-02-15 21:04:53 -08:00
# Symfony PHP Framework
2024-01-26 22:54:20 -08:00
## Requirements
2024-02-15 21:04:53 -08:00
* ubuntu ```sudo nala install curl unzip php-curl php-xml php-cli php-mysql```
2024-01-26 22:54:20 -08:00
* [Install Composer](https://www.nickyeoman.com/page/install-composer-on-ubuntu)
* [Symfony cli](https://symfony.com/download)
## Create your Project
I needed a faster install (don't do anything twice).
Just change "YOUR_PROJECT_NAME" to whatever you want.
```bash
2024-04-17 16:44:37 -07:00
wget 4lt.ca/nysymfony
2024-01-26 22:54:20 -08:00
bash nysymfony YOUR_PROJECT_NAME
rm nysymfony
cd YOUR_PROJECT_NAME
```
2024-04-17 21:41:50 -07:00
## Get Started
2024-01-26 22:54:20 -08:00
2024-02-15 21:04:53 -08:00
1. [Create your controllers](https://git.4lt.ca/nick/symfony/src/branch/main/docs/Controller.md)
2024-01-26 22:54:20 -08:00
1. Run sass ```sass sass/project.sass public/css/main.css```
2024-04-17 21:41:50 -07:00
1. Verify the ```.env``` and ```docker-compose.yml``` file
1. Set mailhog: MAILER_DSN=smtp://symfony-mailhog:1025
2024-02-15 21:04:53 -08:00
1. [Create your security](https://git.4lt.ca/nick/symfony/src/branch/main/docs/Security.md)
2024-01-26 22:54:20 -08:00
# Currently supported and tested on
I am only one man, I can only support the following, issues for other versions will be closed.
* PHP: 8.1
* Symfony: 6.1.7
* Docker: 20.10
* Mariadb: 10.7
# References
* https://symfonycasts.com/screencast/symfony/setup