Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed May 28, 2017
1 parent 094dcce commit 69d76e3
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions docs/installation.md
Expand Up @@ -3,19 +3,14 @@ Installation

The best way to install Arachne/Forms is using [Composer](http://getcomposer.org/).


Recommended
----

The commands below will install all the libraries recommended to use Arachne/Forms. They are intentionally not direct dependencies so that advanced users may skip or replace some of them.

```sh
composer require arachne/csrf
composer require arachne/forms
composer require arachne/twig
composer require arachne/upload
composer require kdyby/annotations
composer require kdyby/translation
composer require kdyby/validator
composer require arachne/csrf arachne/forms arachne/twig arachne/upload kdyby/annotations kdyby/translation kdyby/validator
```

It is recommended to add all of the following extensions into your config.neon. Again advanced users might want to skip or replace some of them.
Expand All @@ -34,15 +29,14 @@ extensions:
kdyby.validator: Kdyby\Validator\DI\ValidatorExtension
```


Usage with Doctrine ORM
----

If you want to use Doctrine ORM it is recommended to add some more libraries.

```sh
composer require arachne/doctrine
composer require kdyby/doctrine
composer require symfony/doctrine-bridge
composer require arachne/doctrine kdyby/doctrine symfony/doctrine-bridge
```

And also some additional extensions in config.neon.
Expand All @@ -54,6 +48,7 @@ extensions:
kdyby.doctrine: Kdyby\Doctrine\DI\OrmExtension
```


PropertyAccess configuration
----

Expand All @@ -68,6 +63,7 @@ extensions:
arachne.propertyaccess: Arachne\PropertyAccess\DI\PropertyAccessExtension
```


Usage of ExpressionLanguage
----

Expand Down

0 comments on commit 69d76e3

Please sign in to comment.