To learn Laravel was made CRUD with News.
with similar struture or same idea of:
CodeIgniter 4 - Build Your First Application
on my repo.
composer create-project laravel/laravel:^10.0 ./
composer require barryvdh/laravel-debugbar --dev
-
Editor: VS Code (By Microsoft)
-
PHP Intelephense (By Ben Mewburn)
-
PHP Namespace Resolver (By Mehedi Hassan)
-
PHP Awesome Snippets (By HakCorp)
-
Blade Syntax for PHP (by Trung Dang)
-
Laravel Blade Snippets (by Winnie Lin )
-
Laravel Blade Spacer (by Austen Cameron)
-
Laravel goto view (by codingyu )
-
aravel intellisense (by Mohamed Benhida)
-
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_sf \
-e MYSQL_ROOT_PASSWORD=[your pwd] \
-e MYSQL_DATABASE=sf6 \
-e MYSQL_USER=[youur user] \
-e MYSQL_PASSWORD=[your password] \
-dp 3306:3306 mysql;