简体   繁体   中英

Install specific version of laravel sail (8.1) for existing project

I would like to work with the repo ofJeffrey Wey , which was done in Laravel 8 and does not work with Laravel 9.

I thought about doing it that way:

  1. Install data from Jeffreys repo:
git clone git@github.com:JeffreyWay/Laravel-From-Scratch-Blog-Project.git blog
composer install
cp .env.example .env
  1. Install Laravel 8 with? composer require laravel/sail

=> Here I need help since I do not know how to tell composer to install an older version of laravel sail. If there is another method I should use, please let me know.

Composer will install the modules which are included in the composer.json file which is available in that repo.

If you want to run it like for like, simply clone it and run composer install and it will install the specified, correct modules.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM