PHP: Difference between revisions
Jump to navigation
Jump to search
Created page with "=Setting up VS Code= We need to install <syntaxhighlight lang="bash"> sudo apt install php-cli composer php-xml </syntaxhighlight> You will need to set up php-cs-fixer first...." |
|||
Line 11: | Line 11: | ||
*Twig Language 2 | *Twig Language 2 | ||
*SQLTools | *SQLTools | ||
=Creating Project With Composer= | |||
To create a project you need to run the following. The only tricky bit is the name where they want vendor/name e.g. bibble/test | |||
<syntaxhighlight lang="bash"> | |||
composer init | |||
</syntaxhighlight> |
Revision as of 07:13, 30 May 2021
Setting up VS Code
We need to install
sudo apt install php-cli composer php-xml
You will need to set up php-cs-fixer first. Extensions suggested are
- PHP Intelephense
- PHP Getters & Setters
- PHP debug
- PHP CS Fixer
- Twig Language 2
- SQLTools
Creating Project With Composer
To create a project you need to run the following. The only tricky bit is the name where they want vendor/name e.g. bibble/test
composer init