Added Upgrade instructions to docs

This commit is contained in:
Simon Wisselink
2023-11-29 13:30:13 +01:00
parent 58991f3f63
commit 39c150ae58
5 changed files with 162 additions and 4 deletions

View File

@@ -16,9 +16,9 @@ To get the latest, unreleased version, use:
composer require smarty/smarty:dev-master
```
To get the previous stable version of Smarty, Smarty 3, use:
To get the previous stable version of Smarty, Smarty 4, use:
```shell
composer require smarty/smarty:^3
composer require smarty/smarty:^4
```
Here's how you create an instance of Smarty in your PHP scripts: