# Guide upgrade to Laravel 5.7

GoStock – Free Stock Photos Script

## Step by Step

IMPORTANT: Before making this upgrade you must have updated your script to version 1.5
If you are downloading for the first time you should not perform these steps.

- Requirements:
- PHP >= 7.1.3
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- cURL

- First steps
- Upload the `ZIP` file to your server
- Create a folder on your server and unzip the `ZIP` file inside
- Do not delete the files that you will copy below because you will lose all the changes you have made.
- Once the folder is created and the `ZIP` file is decompressed, we will proceed with the upgrade
- You should only copy the files from your current site to the folders mentioned below.

## Affected files

IMPORTANT: If you have any questions to update or do not know how to do it, contact me before you start, once you have made the changes it can not be reversed. You must copy the files from your current site to the folder you created with the new version.

- `/Root directory`
- .env
Copy the credentials of your database again, since the file has new variables in this version...
- .htaccess
If you have modified something add it again
- `app`

- Copy the file `SocialAccountService.php` to folder `app`
- Copy the `Models` folder of your current site
- Copy the `app/Http/Controllers/Traits` inside folder `app/Http/Controllers`
- Copy all the files inside `app/Http/Controllers/Auth` from your current site
- Copy all the files inside `app/Http/Controllers` from your current site

- `config`

- Copy the file `mail.php`

- `public`

- Copy all the folders

- `resources`

- Copy the folder `lang`
- Copy the folder `views`

- `routes`

- Copy the file `web.php`

Once all the folders and files have been copied, create a new folder called `script-old` there will move all the files of your current site as backup, after you move all the files, move all the files of the new folder where I copy the aforementioned files . There should not be any problem.

Any problem or doubt send me an email to miguelvasquez991@gmail.com
Do not forget to visit miguelvasquez.net

Donate Any donation will be well received 😉