Base on my improved version of ci4 - Build Your First Application
:
What was added:
- Latte template engine in news related views
- php: 8.1
- mysql: 8
- Docker
- CodeIgniter: 4.3.1
- Latte template engine: 3.0.5 -> more about it
-
Editor: VS Code (By Microsoft)
-
PHP Intelephense (By Ben Mewburn)
-
PHP Namespace Resolver (By Mehedi Hassan)
-
PHP Awesome Snippets (By HakCorp)
-
Nette Latte + Neon (Martin Kase)
-
To better developement it is taked advantages of this two wonderfull vscode extensions:
- Docker (By Microsoft): to manage docker containers in vs code
- Dev Containers (By Microsoft): to use vscode inside of the container.
php image: read the Dockerfile
mysql image in terminal:
docker run --name db_ci \
-e MYSQL_ROOT_PASSWORD=secret \
-e MYSQL_DATABASE=ci4 \
-e MYSQL_USER=dev \
-e MYSQL_PASSWORD=secret \
-dp 3307:3306 mysql;