Snippets Collections
# Created by https://www.gitignore.io/api/laravel

### Laravel ###
vendor/
node_modules/
npm-debug.log

# Laravel 4 specific
bootstrap/compiled.php
app/storage/

# Laravel 5 & Lumen specific
public/storage
public/hot
storage/*.key
.env.*.php
.env.php
.env
Homestead.yaml
Homestead.json

# Rocketeer PHP task runner and deployment package. https://github.com/rocketeers/rocketeer
.rocketeer/
Start-Process powershell.exe -verb runAs -ArgumentList '-NoExit', '-Command', 'cd D:\folder'
<?php
function factorial ($number, $factorial = 1) {
    if ($number < 0) {
        throw new InvalidArgumentException('Number cannot be less than zero (0)');
    }
    if ($number == 0) {
        return $factorial;
    }
    else {
        return factorial($number - 1, $factorial * $number);
    }
}
star

Tue Jul 13 2021 15:08:44 GMT+0000 (UTC) https://stackoverflow.com/questions/25748132/what-to-include-in-gitignore-for-a-laravel-and-phpstorm-project

#none
star

Tue Mar 16 2021 10:01:13 GMT+0000 (UTC) https://stackoverflow.com/questions/43494863/start-process-workingdirectory-as-administrator-does-not-set-location

#none
star

Thu Dec 17 2020 06:56:54 GMT+0000 (UTC) https://stackoverflow.com/questions/64597051/how-to-downgrade-or-install-a-specific-version-of-composer-on-windows

#none
star

Wed Dec 02 2020 05:05:12 GMT+0000 (UTC) https://www.sitepoint.com/understanding-recursion/

#none

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension