Base on my improved version of ci4 - Build Your First Application
:
What was added:
- Alternative template Engine
- php: 8.1
- mysql: 8
- Docker
- CodeIgniter: 4.3.6
- Twig: 3.6.1 -> more about
-
Editor: VS Code (By Microsoft)
-
PHP Intelephense (By Ben Mewburn)
-
PHP Namespace Resolver (By Mehedi Hassan)
-
PHP Awesome Snippets (By HakCorp)
-
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.
-
TWIG pack (By Bajdzis)
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 3306:3306 mysql;