git ls-files -m
Author: runcodeguy
How to generate a new single action controller in Laravel
php artisan make:controller ProvisionServer --invokable
Route::post('/server', ProvisionServer::class);
How to generate a new basic controller in Laravel
php artisan make:controller UserController
Route::get('/users', [UserController::class, 'index']);
How to listing and searching routes in Laravel
php artisan route:list | grep Keyword
How to update globally installed Composer packages
composer global update
How to update globally installed NPM packages
npm update --global
How to list globally installed Composer packages
composer global show
How to list globally installed NPM packages
npm ls --global
How to install curl using Homebrew and take precedence over the one Mac built-in
brew install curl
echo 'export PATH="/usr/local/opt/curl/bin:$PATH"' >> ~/.zprofile
How to download files using curl
curl -O https://wordpress.org/latest.zip
curl https://getcomposer.org/installer -o composer-setup.php