Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
added a doc about the new configurator
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbannert committed Sep 28, 2018
1 parent b37c07c commit 2544ae1
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ composer require narrowspark/automatic narrowspark/configurators
Configurators
-------------
There are several types of tasks, which are called **configurators**:
`proxies` and `providers`.
`proxies`, `options` and `providers`.

`proxies` Configurator

Expand Down Expand Up @@ -81,6 +81,28 @@ return [
];
```

`options` Configurator

Adds new config files to the `config` folder provided from your root composer.json `config-dir` name.

This example creates a new `view` config:

```json
{
"extra": {
"automatic": {
"options": {
"viserio": {
"view": {
"paths": null
}
}
}
}
}
}
```

Contributing
------------

Expand Down

0 comments on commit 2544ae1

Please sign in to comment.