{"id":244,"date":"2016-08-01T12:20:02","date_gmt":"2016-08-01T12:20:02","guid":{"rendered":"http:\/\/symbioticindia.in\/docu\/?p=244"},"modified":"2016-08-01T12:20:02","modified_gmt":"2016-08-01T12:20:02","slug":"laravel-5-form-and-html-environment-setup","status":"publish","type":"post","link":"http:\/\/symbioticindia.in\/docu\/2016\/08\/01\/laravel-5-form-and-html-environment-setup\/","title":{"rendered":"Laravel 5.* Form and HTML environment setup"},"content":{"rendered":"<h1>Illuminate\/HTML package has been deprecated<\/h1>\n<h2>Do this:<\/h2>\n<p>In cmd run command:<\/p>\n<pre><code class=\"ruby\">composer <span class=\"keyword\">require<\/span> laravelcollective\/html\r\n<\/code><\/pre>\n<p>In your composer.json file in &#8220;require&#8221; group should be added this line:<\/p>\n<pre><code class=\"perl\"><span class=\"string\">\"laravelcollective\/html\"<\/span>: <span class=\"string\">\"5.2.<span class=\"variable\">*\"<\/span>\r\n<\/span><\/code><\/pre>\n<p>Update composer with command:<\/p>\n<pre><code class=\"sql\">composer <span class=\"operator\"><span class=\"keyword\">update<\/span>\r\n<\/span><\/code><\/pre>\n<p>In config\/app.php add this lines:<\/p>\n<p>in providers group:<\/p>\n<pre><code class=\"coffeescript\">Collective\\Html\\<span class=\"attribute\">HtmlServiceProvider<\/span>::<span class=\"class\"><span class=\"keyword\">class<\/span>,<\/span>\r\n<\/code><\/pre>\n<p>in aliases group:<\/p>\n<pre><code class=\"coffeescript\"><span class=\"string\">'Form'<\/span><span class=\"function\"> =&gt;<\/span> Collective\\Html\\<span class=\"attribute\">FormFacade<\/span>::<span class=\"class\"><span class=\"keyword\">class<\/span>,<\/span>\r\n<span class=\"string\">'Html'<\/span><span class=\"function\"> =&gt;<\/span> Collective\\Html\\<span class=\"attribute\">HtmlFacade<\/span>::<span class=\"class\"><span class=\"keyword\">class<\/span>,<\/span>\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Illuminate\/HTML package has been deprecated Do this: In cmd run command: composer require laravelcollective\/html In your composer.json file in &#8220;require&#8221; group should be added this line: &#8220;laravelcollective\/html&#8221;: &#8220;5.2.*&#8221; Update composer with command: composer update In config\/app.php add this lines: in providers group: Collective\\Html\\HtmlServiceProvider::class, in aliases group: &#8216;Form&#8217; =&gt; Collective\\Html\\FormFacade::class, &#8216;Html&#8217; =&gt; Collective\\Html\\HtmlFacade::cla..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"http:\/\/symbioticindia.in\/docu\/2016\/08\/01\/laravel-5-form-and-html-environment-setup\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"class_list":["post-244","post","type-post","status-publish","format-standard","hentry","category-laravel"],"_links":{"self":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts\/244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/comments?post=244"}],"version-history":[{"count":1,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts\/244\/revisions"}],"predecessor-version":[{"id":245,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts\/244\/revisions\/245"}],"wp:attachment":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/media?parent=244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/categories?post=244"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/tags?post=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}