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
@@ -2004,6 +2004,26 @@ YAML PHP extension allows you to easily parse and create YAML structured data. I
2004
2004
4 - Re-build the container `docker-compose build php-fpm`<br>
2005
2005
2006
2006
2007
+
2008
+
2009
+
<br>
2010
+
<aname="Install-AST"></a>
2011
+
## Install AST PHP extension
2012
+
AST exposes the abstract syntax tree generated by PHP 7+. This extension is required by tools such as `Phan`, a static analyzer for PHP.
2013
+
2014
+
1 - Open the `.env` file
2015
+
2016
+
2 - Search for the `WORKSPACE_INSTALL_AST` argument under the Workspace Container
2017
+
2018
+
3 - Set it to `true`
2019
+
2020
+
4 - Re-build the container `docker-compose build workspace`
2021
+
2022
+
**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