composer install
Start a development server from the current directory:
php -S localhost:8080
php index.php
You can't use variables in single quote strings.
You can use string interpolation.
"Hi {$name}!"
composer
Install it in your current directory: curl -sS https://getcomposer.org/installer | php
.
Add dependencies to your project: composer require my-dependency
.
Install dependencies of your project: composer install
.
MAMP