example.com/route-name?var1=value1
Route::get('route-name', 'Namespace\ControllerClass@functionName')->name('route-name');
public function functionName(Request $request) {
{"lastUpload":"2020-07-24T12:02:10.610Z","extensionVersion":"v3.4.3"} |
php artisan cache:clear && php artisan view:clear && php artisan event:clear && php artisan optimize:clear && php artisan route:clear && php artisan clear-compiled |
#!/bin/bash | |
laravel new $1 | |
cd $1 | |
composer install | |
yarn install | |
touch README.md | |
cp .env.example .env | |
git init | |
git add -A |
set WAMP_INSTALL_LOCATION="c:\wamp" #modify | |
1. Open command prompt as admin Goto %WAMP_INSTALL_LOCATION%\bin\apache\apache2.x.x\bin> | |
2. Type => set OPENSSL_CONF=%WAMP_INSTALL_LOCATION%\bin\apache\apache2.x.x\conf\openssl.cnf |
Other people's projects:
My projects (tutorials are on my blog at http://maxoffsky.com):
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
// and then it quickly escalated into more and more evil suggestions. | |
// I've tried to capture interesting suggestions here. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |