Download the PHP package blueways/bw-icons without Composer

On this page you can find all versions of the php package blueways/bw-icons. 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 bw-icons

![Extension icon](Resources/Public/Icons/Extension.svg) # TYPO3 extension `bw_icons` [![Supported TYPO3 versions](https://typo3-badges.dev/badge/bw_icons/typo3/shields.svg)](https://extensions.typo3.org/extension/bw_icons)

Icon picker for TCA and RTE. Generates a browsable gallery of your icon fonts and SVGs - just link your stylesheet or image directory. Works with FontAwesome, Bootstrap, Icomoon.. Optionally adds icon field to pages, tt_content or sys_category.

Demo

Features

Pro tip: Use your Icomoon development file. Your Icon Picker is always up to date, and you can serve the font files from your own remote without manually downloading and adjusting paths!

Installation

  1. Install via composer

  2. Update database schema

  3. Include PageTS

    Enable the extension in the Extension Manager and include the static PageTS for TYPO3 core icons or set up your own icons. See Configuration section.

  4. Enable icons for tt_content, pages and/or sys_category

    In the extension settings (Admin Tools → Extension Configuration → bw_icons), you can enable the icon fields. If you want to use it for other tables, see For developers section.

  5. Include RTE configuration (optional)

Configuration

The displayed icons are set up via PageTS. Choose a unique identifier and select FileIconProvider if you want to add image files from a directory or CssIconProvider if you want to display font icons from a stylesheet.

After changing the settings, make sure to clear the cache.

RTE Configuration

After importing the yaml configuration, you can add the new button anywhere you want to your RTE present. Read more about RTE configuration.

Usage

The icons are saved as filename ( e.g. EXT:myext/Resources/Public/Images/icon.svg or fileadmin/icons/foo.png) if you use the FileIconProvider or as css class names ( e.g. fas fa-arrow-right) by using CssIconProvider.

If you have configured only the selection of SVGs, you can safely use the <f:image src="{data.tx_bwicons_icon}" /> viewHelper in your fluid template.

By only using font icons, you can output like <i class="{data.tx_bwicons_icon}"></i>.

If you have a mixture, you can use my ViewHelper that determines the type by checking for a dot in the icon name:

Output:

or

CSS Frontend Include

If you want to include the extracted styles in the frontend, you can use the CssUtility to generate the style-tags in the head of your page. Include this in your TypoScript setup:

For developers

Usage in other tables

  1. Create database field for the icon:

  2. Edit TCA: Add the renderType iconSelection in the config array:

    Optional: you may restrict which icon providers are available:

New icon sources

If you want to add other icon sources (e.g. from API), you can create your own IconProvider. Just make sure to extend from Blueways\BwIcons\Provider\AbstractIconProvider.

Contribute

This extension was made by Maik Schneider: Feel free to contribute!

Thanks to blueways and XIMA!


All versions of bw-icons with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-dom Version *
ext-json Version *
ext-libxml Version *
ext-simplexml Version *
phenx/php-font-lib Version 0.5.4 || 0.5.6
sabberworm/php-css-parser Version 8.4.0
typo3/cms-core Version ^12.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 blueways/bw-icons contains the following files

Loading the files please wait ....