From 9be410c461ff57b688155dcfea795b9f8b782569 Mon Sep 17 00:00:00 2001 From: Adam Engebretson Date: Thu, 5 Feb 2015 11:10:07 -0600 Subject: [PATCH 1/2] Adding Alias docs Signed-off-by: Adam Engebretson --- readme.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index e7d3a03..6ddd846 100644 --- a/readme.md +++ b/readme.md @@ -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', + // ... + ], ``` From 2c93fdf913cb6bbe1596ca19e00e41b8baf16902 Mon Sep 17 00:00:00 2001 From: Adam Engebretson Date: Thu, 5 Feb 2015 11:10:57 -0600 Subject: [PATCH 2/2] Updating blade syntax docs Signed-off-by: Adam Engebretson --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 6ddd846..b943ac4 100644 --- a/readme.md +++ b/readme.md @@ -59,9 +59,9 @@ Finally, add two class aliases to the `aliases` array of `config/app.php`: #### Opening A Form - {{ Form::open(array('url' => 'foo/bar')) }} + {!! Form::open(array('url' => 'foo/bar')) !!} // - {{ Form::close() }} + {!! Form::close() !!} By default, a `POST` method will be assumed; however, you are free to specify another method: