This library was written by Meido, but is now maintained by JonoB
A port of Laravel 3's HTML class. Made to work with Laravel 4.
add "jonob/html": "1.1.*" to the require section of your composer.json so that it should look something the code below (you can, of course, include your own dependencies)
...
...
...
"require": {
...
...
...
"jonob/html": "1.1.*"
},
...
...
...
add the following code to the providers section of the app/config/app.php file
'Jonob\HTML\HTMLServiceProvider',
so that it'll look something like the following
'providers' => array(
...
...
...
'Jonob\HTML\HTMLServiceProvider',
),
and add the following code to the aliases section of the app/config/app.php file
'HTML' => 'Jonob\HTML\HTMLFacade',
so that it'll look something like the following
'aliases' => array(
...
...
...
'HTML' => 'Jonob\HTML\HTMLFacade',
),
after that, run composer install and start hacking on that beast.
Illuminate/Support (1.1.2)Facade and ServiceProvider are moved a folder up following Laravel 4's convention of developing packages.4.0.xcomposer.json to stable channel. (1.0.1)composer.json's require section to stable version. (1.0.2)HTML::link are now HTML::toHTML::linkSecure are now HTML::secureHTML::linkRoute are now HTML::routeHTML::linkAction are now HTML::actionHTML::asset and HTML::secureAsset are added backHTML only requires UrlGenerator, parameters passed are updated.HTML would not be depending on illuminate/foundation in which none of it is actually used and will be using illuminate/routing instead where UrlGenerator resides.