Update README

This commit is contained in:
Daniel Winning 2025-04-14 15:26:41 +01:00
parent e287c63b4c
commit c77114b93b

View file

@ -38,23 +38,17 @@ Creates a new PHP development environment and mounts your project files.
> #### Option: --php
>
> **Required?**
>
> Defines the PHP version that your container will use. You can omit this flag and set the PHP version inside your
> projects `spinner.yaml` file. Otherwise, will use the default value found in `config/spinner.yaml`
> #### Option: --node
>
> **Required?**
>
> Set which version of Node to install in your container. Is ignored if the `--disable-node` flag is
> passed, or if Node is disabled in your projects `spinner.yaml` file. Equivalent to setting
> `options.environment.node.version: x` in your projects Spinner config.
> #### Option: --database
>
> **Required?**
>
> Set which database driver to use with your environment. The default (and currently only) database driver is `sqlite3`.
> Accepted values are currently `sqlite` and `sqlite3`. If using the default, SQLite is installed inside your PHP
> container and a mapping created to the `/sqlite` directory in your project. This argument is ignored if
@ -62,28 +56,20 @@ Creates a new PHP development environment and mounts your project files.
> #### Option: --disable-database
>
> **Required?**
>
> Does not install a database with your environment. Equivalent to setting `options.environment.database.enabled: false`
> in your Spinner config.
> #### Option: --disable-node
>
> **Required?**
>
> Disables Node for your environment, so it isn't included in your PHP container. Equivalent to setting
> `options.environment.node.enabled: false` in your Spinner config.
> #### Option: --disable-server
>
> **Required?**
>
> Does not install a webserver (so no Nginx). Useful if you just need a PHP container to run unit tests or something.
> #### Option: --disable-xdebug
>
> **Required?**
>
> Do not install XDebug in your environment. Equivalent to setting `options.environment.php.xdebug = false` in your
> projects Spinner config.