2017 © Pedro Peláez
 

library html

A port of Laravel 3's HTML class

image

jonob/html

A port of Laravel 3's HTML class

  • Friday, March 8, 2013
  • by JonoB
  • Repository
  • 8 Watchers
  • 32 Stars
  • 1,231 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 4 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

Meido HTML

This library was written by Meido, but is now maintained by JonoB, (*1)

A port of Laravel 3's HTML class. Made to work with Laravel 4., (*2)

Usage

Composer Side

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), (*3)

...
...
...
"require": {
    ...
    ...
    ...
    "jonob/html": "1.1.*"
},
...
...
...

Laravel Side

add the following code to the providers section of the app/config/app.php file, (*4)

'Jonob\HTML\HTMLServiceProvider',

so that it'll look something like the following, (*5)

'providers' => array(

    ...
    ...
    ...
    'Jonob\HTML\HTMLServiceProvider',

),

and add the following code to the aliases section of the app/config/app.php file, (*6)

'HTML' => 'Jonob\HTML\HTMLFacade',

so that it'll look something like the following, (*7)

'aliases' => array(

    ...
    ...
    ...
    'HTML'       => 'Jonob\HTML\HTMLFacade',

),

after that, run composer install and start hacking on that beast., (*8)

Changelog

1.1.*

  • Reverted e() shortcut helper as it's already in the Illuminate/Support (1.1.2)
  • Added e() shortcut method helper to HTML::entities() (1.1.1)
  • below are the changes made in 1.1.0
    • Facade and ServiceProvider are moved a folder up following Laravel 4's convention of developing packages.
    • dependencies version are changed to 4.0.x
    • macro are now available thanks to Maxime Fabre

1.0.*

  • tagged for stable. (1.0.0)
  • updated composer.json to stable channel. (1.0.1)
  • updated composer.json's require section to stable version. (1.0.2)
  • some API changes are made to follow simple function naming convention in laravel. (1.0.3)
    • HTML::link are now HTML::to
    • HTML::linkSecure are now HTML::secure
    • HTML::linkRoute are now HTML::route
    • HTML::linkAction are now HTML::action
    • HTML::asset and HTML::secureAsset are added back
  • added changelog section. (1.0.4)
  • updated Facade namespace. (1.0.5)
  • some tweaks are made. (1.0.6)
    • since HTML only requires UrlGenerator, parameters passed are updated.
    • hence, 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.
  • version bump. (1.0.7)

The Versions

08/03 2013

dev-master

9999999-dev

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

08/03 2013

v1.1.4

1.1.4.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

07/03 2013

v1.1.3

1.1.3.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

22/02 2013

v1.1.2

1.1.2.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

by Joni Chandra

22/02 2013

v1.1.1

1.1.1.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

by Joni Chandra

13/01 2013

v1.1.0

1.1.0.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

The Development Requires

by Joni Chandra

24/12 2012

v1.0.7

1.0.7.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

The Development Requires

by Joni Chandra

24/12 2012

v1.0.6

1.0.6.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

The Development Requires

by Joni Chandra

06/12 2012

v1.0.5

1.0.5.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

The Development Requires

by Joni Chandra

05/12 2012

v1.0.4

1.0.4.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

The Development Requires

by Joni Chandra

05/12 2012

v1.0.3

1.0.3.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

The Development Requires

by Joni Chandra

05/12 2012

v1.0.2

1.0.2.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

The Development Requires

by Joni Chandra

05/12 2012

v1.0.1

1.0.1.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

The Development Requires

by Joni Chandra

02/12 2012

v1.0.0

1.0.0.0

A port of Laravel 3's HTML class

  Sources   Download

The Requires

 

The Development Requires

by Joni Chandra