You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DOCUMENTATION/content/documentation/index.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1973,6 +1973,26 @@ YAML PHP extension allows you to easily parse and create YAML structured data. I
1973
1973
4 - Re-build the container `docker-compose build php-fpm`<br>
1974
1974
1975
1975
1976
+
1977
+
1978
+
<br>
1979
+
<aname="Install-AST"></a>
1980
+
## Install AST PHP extension
1981
+
AST exposes the abstract syntax tree generated by PHP 7+. This extension is required by tools such as `Phan`, a static analyzer for PHP.
1982
+
1983
+
1 - Open the `.env` file
1984
+
1985
+
2 - Search for the `WORKSPACE_INSTALL_AST` argument under the Workspace Container
1986
+
1987
+
3 - Set it to `true`
1988
+
1989
+
4 - Re-build the container `docker-compose build workspace`
1990
+
1991
+
**Note** If you need a specific version of AST then search for the `WORKSPACE_AST_VERSION` argument under the Workspace Container and set it to the desired version and continue step 4.
0 commit comments