1 parent
8451f29340
commit
9be410c461
1 file changed
+13
-2
@@ -33,14 +33,25 @@ Next, update Composer from the Terminal:
|
|||||||
|
|
||||||
composer update
|
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
|
```php
|
||||||
'providers' => [
|
'providers' => [
|
||||||
// ...
|
// ...
|
||||||
'Collective\Html\HtmlServiceProvider',
|
'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>
|
<a name="opening-a-form"></a>
|
||||||
|
|||||||
Reference in new issue
Block a user