From d558ca618d2b63cdb51dc842354dc9f1aa0e0559 Mon Sep 17 00:00:00 2001 From: Adam Engebretson Date: Wed, 25 Feb 2015 14:55:36 -0600 Subject: [PATCH 1/2] Fixing Upgrade Guide for Illuminate/HTML Deprecation --- upgrade.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/upgrade.md b/upgrade.md index bc0df1bf54..00fe5be61e 100644 --- a/upgrade.md +++ b/upgrade.md @@ -181,16 +181,18 @@ You may move your Sass, Less, or CoffeeScript to any location you wish. The `res ### Form & HTML Helpers -If you're using Form or HTML helpers, you will see an error stating `class 'Form' not found` or `class 'Html' not found`. To fix this, add `"illuminate/html": "~5.0"` to your `composer.json` file's `require` section. +The Form & HTML package has been moved to `"laravelcollective/html"`. Documentation on the package can be found at [LaravelCollective.com](http://laravelcollective.com/docs/5.0/html). + +If you're using Form or HTML helpers, you will see an error stating `class 'Form' not found` or `class 'Html' not found`. To fix this, add `"laravelcollective/html": "~5.0"` to your `composer.json` file's `require` section. You'll also need to add the Form and HTML facades and service provider. Edit `config/app.php`, and add this line to the 'providers' array: - 'Illuminate\Html\HtmlServiceProvider', + 'Collective\Html\HtmlServiceProvider', Next, add these lines to the 'aliases' array: - 'Form' => 'Illuminate\Html\FormFacade', - 'Html' => 'Illuminate\Html\HtmlFacade', + 'Form' => 'Collective\Html\FormFacade', + 'Html' => 'Collective\Html\HtmlFacade', ### CacheManager From a93da08fef01f474cb72c9aaf8bd22bce972f093 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 25 Feb 2015 15:10:02 -0600 Subject: [PATCH 2/2] some wording changes. --- upgrade.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/upgrade.md b/upgrade.md index 00fe5be61e..4775fb6ee8 100644 --- a/upgrade.md +++ b/upgrade.md @@ -181,18 +181,18 @@ You may move your Sass, Less, or CoffeeScript to any location you wish. The `res ### Form & HTML Helpers -The Form & HTML package has been moved to `"laravelcollective/html"`. Documentation on the package can be found at [LaravelCollective.com](http://laravelcollective.com/docs/5.0/html). +If you're using Form or HTML helpers, you will see an error stating `class 'Form' not found` or `class 'Html' not found`. The Form and HTML helpers have been deprecated in Laravel 5.0; however, there are community-driven replacements such as those maintained by the [Laravel Collective]([LaravelCollective.com](http://laravelcollective.com/docs/5.0/html). -If you're using Form or HTML helpers, you will see an error stating `class 'Form' not found` or `class 'Html' not found`. To fix this, add `"laravelcollective/html": "~5.0"` to your `composer.json` file's `require` section. +For example, you may add `"laravelcollective/html": "~5.0"` to your `composer.json` file's `require` section. -You'll also need to add the Form and HTML facades and service provider. Edit `config/app.php`, and add this line to the 'providers' array: +You'll also need to add the Form and HTML facades and service provider. Edit `config/app.php` and add this line to the 'providers' array: 'Collective\Html\HtmlServiceProvider', Next, add these lines to the 'aliases' array: - 'Form' => 'Collective\Html\FormFacade', - 'Html' => 'Collective\Html\HtmlFacade', + 'Form' => 'Collective\Html\FormFacade', + 'Html' => 'Collective\Html\HtmlFacade', ### CacheManager