Adding Alias docs

Signed-off-by: Adam Engebretson <adam@enge.me>
This commit is contained in:
Adam Engebretson committed 2015-02-05 11:10:07 -06:00
1 parent 8451f29340
commit 9be410c461
1 file changed
+13 -2
+13 -2
View File
@@ -33,14 +33,25 @@ Next, update Composer from the Terminal:
composer update
Finally, add your new provider to the `providers` array of `config/app.php`:
Next, add your new provider to the `providers` array of `config/app.php`:
```php
'providers' => [
// ...
'Collective\Html\HtmlServiceProvider',
// ...
];
],
```
Finally, add two class aliases to the `aliases` array of `config/app.php`:
```php
'aliases' => [
// ...
'Form' => 'Collective\Html\FormFacade',
'Html' => 'Collective\Html\HtmlFacade',
// ...
],
```
<a name="opening-a-form"></a>