'Can I use Laravel Sail to setup a Laravel 7 + PHP 7 environment?
We have a legacy application written for Laravel 7 and PHP 7.
I have a LinuxMint 20 (basically an Ubuntu 20) and PHP 8 (as default PHP) as development machine.
Tried to setup a development environment made out of Laravel 7 and PHP 7 with Sail but failed. It seems that Sail requires a minimum Laravel 8.
If I change the (docker-compose.yml's) runtime to 7.4 the moment the docker container is up the composer's call inside that container will fail due to the fact that Sail dependency need PHP 8. So any path I took I was blocked.
To sum it up here is the question: Can I use Sail to setup a Laravel 7 + PHP 7 environment?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
