Download the PHP package hofff/contao-iconfont without Composer

On this page you can find all versions of the php package hofff/contao-iconfont. 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 contao-iconfont

Latest Version on Packagist Installations via composer per month Installations via composer total

Contao Extension: hofff.com - Iconfont

This extension provides some insert tags to insert FontAwesome and individual icons.

Features

insert all FontAwesome icons

Basic Use

see https://fontawesome.com/how-to-use/on-the-web/referencing-icons/basic-use

*``{{icon-fa::icon-name}}``** [^FontAwesome-Style]

Fixed Width Icons

see https://fontawesome.com/how-to-use/on-the-web/styling/fixed-width-icons

*``{{icon-fa-fw::icon-name}}``** [^FontAwesome-Style]

Bordered + Pulled Icons

see https://fontawesome.com/how-to-use/on-the-web/styling/bordered-pulled-icons

wrap text around an icon - left

*``{{icon-fa-left::icon-name}}``** [^FontAwesome-Style]

wrap text around an icon - right

*``{{icon-fa-right::icon-name}}``** [^FontAwesome-Style]

wrap text around an icon with border - left

*``{{icon-fa-border-left::icon-name}}``** [^FontAwesome-Style]

wrap text around an icon with border - right

*``{{icon-fa-border-right::icon-name}}``** [^FontAwesome-Style]

Animating Icons

see https://fontawesome.com/how-to-use/on-the-web/styling/animating-icons

rotate icon

*``{{icon-fa-spin::icon-name}}``** [^FontAwesome-Style]

pulse icon

*``{{icon-fa-pulse::icon-name}}``** [^FontAwesome-Style]

Rotating Icons

see https://fontawesome.com/how-to-use/on-the-web/styling/rotating-icons

turn 90° clockwise

*``{{icon-fa-rotate-90::icon-name}}``** [^FontAwesome-Style]

turn 180° clockwise

*``{{icon-fa-rotate-180::icon-name}}``** [^FontAwesome-Style]

turn 270° clockwise

*``{{icon-fa-rotate-270::icon-name}}``** [^FontAwesome-Style]

mirror icon horizontally

*``{{icon-fa-flip-horizontal::icon-name}}``** [^FontAwesome-Style]

mirror icon vertically

*``{{icon-fa-flip-vertical::icon-name}}``** [^FontAwesome-Style]

mirror icon vertically and horizontally (requires 5.7.0 or greater)

*``{{icon-fa-flip-both::icon-name}}``** [^FontAwesome-Style]

Stacked Icons

see https://fontawesome.com/how-to-use/on-the-web/styling/stacking-icons

icon with square background

*``{{icon-fa-square::icon-name}}``**

icon with square background - only border

*``{{icon-fa-square-border::icon-name}}``**

icon with circle background

*``{{icon-fa-circle::icon-name}}``**

icon with circle background - only border

*``{{icon-fa-circle-border::icon-name}}``**

icon with prohibition sign

{{icon-fa-ban::icon-name}}

insert your own icon font (you have to provide some css by your own)

{{icon::your-icon-name}}

CSS Example for your own icon font

Installation

Install the extension via composer: hofff/contao-iconfont.

If you prefer to install it manually, download the latest release here: https://github.com/hofff/contao-iconfont/releases

Compatibility

Dependency

[^FontAwesome-Style]: The * should be replaced with the FontAwesome-Style you want: fas=Solid, far=Regular, fal=Light or fab=Brands


All versions of contao-iconfont with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
contao/core-bundle Version ^4.13 || ^5.3
symfony/config Version ^5.4 || ^6.4
symfony/dependency-injection Version ^5.4 || ^6.4
symfony/http-kernel Version ^5.4 || ^6.4
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 hofff/contao-iconfont contains the following files

Loading the files please wait ....