Download the PHP package vjandrea/html without Composer

On this page you can find all versions of the php package vjandrea/html. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package html

HtmlBuilder extension

Build Status

This packages adds some missing methods to Illuminate/Html for Laravel 4

Methods

Installation

Add to composer.json:

"vjandrea/html": "dev-master"

and add to the 'providers' array in app/config/app.php

'Vjandrea\Html\HtmlServiceProvider' 

Run composer install and you're ready to use the package.

Usage

favicon

Returns a favicon link to the specified image href

HTML::favicon($href, $type)

Parameters

string  $href   default ''
string  $type   default 'image/x-icon'

Returns

string

meta_charset

Returns a meta charset tag

HTML::meta_charset($charset)

Parameters

string  $charset    default 'utf-8'

Returns

string

html

Returns an html with lang parameter

HTML::html($lang)

Parameters

string  $lang   default ''

Returns

string

title

Returns a title tag

HTML::title($title)

Parameters

string  $title  default ''

Returns

string

h1

Returns a h1 heading

HTML::h1($title, $attributes)

Parameters

string  $title  default ''
array   $attributes default []

Returns

string

h2

Returns a h2 heading

HTML::h2($title, $attributes)

Parameters

string  $title  default ''
array   $attributes default []

Returns

string

h3

Returns a h3 heading

HTML::h3($title, $attributes)

Parameters

string  $title  default ''
array   $attributes default []

Returns

string

h4

Returns a h4 heading

HTML::h4($title, $attributes)

Parameters

string  $title  default ''
array   $attributes default []

Returns

string

h5

Returns a h5 heading

HTML::h5($title, $attributes)

Parameters

string  $title  default ''
array   $attributes default []

Returns

string

h6

Returns a h6 heading

HTML::h6($title, $attributes)

Parameters

string  $title  default ''
array   $attributes default []

Returns

string

heading

Returns a heading

HTML::heading($type, $title, $attributes)

Parameters

string  $type   default 'h1'
string  $title  default ''
array   $attributes default []

Returns

string

iframe

Returns an <iframe> tag

HTML::iframe($src, $attributes)

Parameters

string  $src    default ''
array   $attributes default []

Returns

string

youtube_iframe

Returns a YouTube <iframe> tag By default it sets frameborder=0 and allowfullscreen

HTML::youtube_iframe($youtube_id, $attributes, $allow_fullscreen, $frameborder)

Parameters

string  $youtube_id default ''
array   $attributes default []
boolean $allow_fullscreen   default true
boolean $frameborder    default false (deprecated in HTML5)

Returns

string

vimeo_iframe

Returns a Vimeo <iframe> tag

HTML::vimeo_iframe($vimeo_id, $attributes, $allow_fullscreen, $frameborder, $title, $byline, $portrait)

Parameters

string  $vimeo_id   default ''
array   $attributes default ''
boolean $allowfullscreen    default true
boolean $frameborder    default false (deprecated in HTML5)
boolean $title  default false (Vimeo option)
boolean $byline default false (Vimeo option)
boolean $portrait   default false (Vimeo option)

Returns

string

video

Returns a <video> tag

HTML::video($src, $attributes)

Parameters

mixed   $src    default ''

Returns

string

audio

Returns an <audio> tag

HTML::audio($src, $attributes)

Parameters

mixed   $src    default '' (it may be an array)
array   $attributes default []

Returns

string

All versions of html with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
illuminate/support Version 4.2.*
illuminate/html Version 4.2.*
illuminate/http Version 4.2.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vjandrea/html contains the following files

Loading the files please wait ...