Skip to content

Commit 2b583bd

Browse files
authored
Add laravel version section
#103
1 parent 6fe2f1a commit 2b583bd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ JavaScript Framework" width="72" ></a>
4747
- 6.2 [Development Servers](#development-servers)
4848
- 6.3 [Changing the default server](#changing-the-default-server)
4949
- 6.4 [Running more than one server at a time](#running-more-than-one-server-at-a-time)
50+
- 6.5 [Changing the Laravel Version](#changing-the-larave-version)
5051
7. [Debugging](#debugging)
5152
- 7.1 [The default development server](#the-default-development-server)
5253
- 7.2 [Specific development servers](#specific-development-servers)
@@ -186,6 +187,19 @@ Now the nginx server will be running in parallel.
186187

187188
Laravel requires a URL to be set in the `.env` file in the project root. This is done for you automatically when the workspace is initialized. The URL set in the `.env` file contains the server port. so if you want to properly serve Laravel pages from a server other than the default server you initialized the project with then will need to change the values for APP_URL and ASSET_URL accordingly.
188189

190+
### Changing the Laravel Version
191+
In `starter.ini` there is a directive to change the version of Laravel.
192+
193+
**Important**:
194+
- By default `gitpod-laravel-starter` uses the most recent version of Laravel. Currently this is version `8.*`
195+
- There are exactly three supported values for the Laravel version directive: `8.*`, `7.*`, and `6.*`
196+
- Laravel will always use the most recent/stable minor and patch version for any major version
197+
198+
**Caveats**:
199+
- Upgrading or downgrading Laravel once Laravel scaffolding files have been saved to your repository is not advised and should not be done
200+
- Attempts to upgrade will will result in an automatic downgrade and could cause instability
201+
- Attempts to downgrade will be ignored and could cause instability
202+
189203
<br />
190204

191205
## Debugging

0 commit comments

Comments
 (0)