# remove php5 modules
apt-get autoremove --purge php5-*
# add php-7.0 source list by [Ondřej Surý](https://github.com/oerdnj)
add-apt-repository ppa:ondrej/php
# Update index
apt-get update
# Install php7.0-fpm with needed extensionsCommands to help the project setup process.
By adding the following script to your composer.json, running composer install will automatically create your .env file and generate a new app key if the file doesn't exist yet (this now runs after the install, because artisan doesn't work until the packages are installed).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php namespace App\Http; | |
| /** | |
| * Need to create goog recaptcha data before usage | |
| */ | |
| use Request; | |
| trait RecaptchaTrait { | |
| public function validateCaptchaString($secret, $response_string, $remote_ip) |