PHP Classes

D3 PHP Icon SVG Image Render: Generate HTML for standard icons and country flags

Recommend this page to a friend!
  Info   View files Documentation   View files View files (70)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2023-10-16 (5 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 43 This week: 43All time: 10,670 This week: 2Up
Version License PHP version Categories
d3icon 1.0Freeware5HTML, PHP 5, Graphics
Description 

Author

This package can generate HTML for standard icons and country flags.

It can take the name of a country flag or icon image and return the HTML to display the icon or image on a Web page.

The package can also take a format parameter to determine whether it should return the HTML to display the icon or image using a PNG or SVG image file.

Picture of Uldis Nelsons
Name: Uldis Nelsons <contact>
Classes: 18 packages by
Country: Latvia Latvia
Innovation award
Innovation award
Nominee: 12x

Winner: 2x

Documentation

D3Icons

icons

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist d3yii2/d3icons "*"

or add

"d3yii2/d3labels": "*"

to the require section of your composer.json file.

Usage

by type

echo Icon::icon(d3yii2\d3icon\Icon::TYPE_SVG,d3yii2\d3icon\components\IconSvg::ALERT_CIRCLE);

direct method

echo d3yii2\d3icon\Icon::svg(d3yii2\d3icon\components\IconSvg::EYE);
echo Icon::fa('pencil)


  Files folder image Files  
File Role Description
Files folder imageassets (1 directory)
Files folder imagecomponents (2 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Plain text file Icon.php Class Class source
Plain text file IconAsset.php Class Class source
Plain text file Module.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  assets  
File Role Description
Files folder imageicons (2 directories)

  Files folder image Files  /  assets  /  icons  
File Role Description
Files folder imageflags (5 files)
Files folder imagesvg (58 files)

  Files folder image Files  /  assets  /  icons  /  flags  
File Role Description
  Accessible without login Image file AU.png Icon Icon image
  Accessible without login Image file BR.png Icon Icon image
  Accessible without login Image file DE.png Icon Icon image
  Accessible without login Image file GB.png Icon Icon image
  Accessible without login Image file US.png Icon Icon image

  Files folder image Files  /  assets  /  icons  /  svg  
File Role Description
  Accessible without login Plain text file alert-circle.svg Data Auxiliary data
  Accessible without login Plain text file alert-triangle-solid.svg Data Auxiliary data
  Accessible without login Plain text file archive.svg Data Auxiliary data
  Accessible without login Plain text file arrow-narrow-down-left.svg Data Auxiliary data
  Accessible without login Plain text file arrow-narrow-left.svg Data Auxiliary data
  Accessible without login Plain text file arrow-narrow-right.svg Data Auxiliary data
  Accessible without login Plain text file arrow-narrow-up-right.svg Data Auxiliary data
  Accessible without login Plain text file arrow-narrow-up.svg Data Auxiliary data
  Accessible without login Plain text file bell-1.svg Data Auxiliary data
  Accessible without login Plain text file calendar-check-1.svg Data Auxiliary data
  Accessible without login Plain text file calendar.svg Data Auxiliary data
  Accessible without login Plain text file camera-plus.svg Data Auxiliary data
  Accessible without login Plain text file check-circle-solid.svg Data Auxiliary data
  Accessible without login Plain text file check.svg Data Auxiliary data
  Accessible without login Plain text file chevron-down.svg Data Auxiliary data
  Accessible without login Plain text file chevron-left.svg Data Auxiliary data
  Accessible without login Plain text file chevron-right.svg Data Auxiliary data
  Accessible without login Plain text file chevron-up.svg Data Auxiliary data
  Accessible without login Plain text file circle.svg Data Auxiliary data
  Accessible without login Plain text file clipboard-check.svg Data Auxiliary data
  Accessible without login Plain text file coins-3.svg Data Auxiliary data
  Accessible without login Plain text file copy-1.svg Data Auxiliary data
  Accessible without login Plain text file credit-card-2.svg Data Auxiliary data
  Accessible without login Plain text file dataflow-3.svg Data Auxiliary data
  Accessible without login Plain text file dataflow-4.svg Data Auxiliary data
  Accessible without login Plain text file dots-vertical.svg Data Auxiliary data
  Accessible without login Plain text file download-1.svg Data Auxiliary data
  Accessible without login Plain text file download-cloud-1-solid.svg Data Auxiliary data
  Accessible without login Plain text file edit-5.svg Data Auxiliary data
  Accessible without login Plain text file eye-off.svg Data Auxiliary data
  Accessible without login Plain text file eye.svg Data Auxiliary data
  Accessible without login Plain text file file-2.svg Data Auxiliary data
  Accessible without login Plain text file help-circle.svg Data Auxiliary data
  Accessible without login Plain text file home-1.svg Data Auxiliary data
  Accessible without login Plain text file info-circle-solid.svg Data Auxiliary data
  Accessible without login Plain text file key-1.svg Data Auxiliary data
  Accessible without login Plain text file language.svg Data Auxiliary data
  Accessible without login Plain text file lock-2.svg Data Auxiliary data
  Accessible without login Plain text file log-out-4.svg Data Auxiliary data
  Accessible without login Plain text file menu-3.svg Data Auxiliary data
  Accessible without login Plain text file menu.svg Data Auxiliary data
  Accessible without login Plain text file minus-square-solid.svg Data Auxiliary data
  Accessible without login Plain text file minus.svg Data Auxiliary data
  Accessible without login Plain text file phone-solid.svg Data Auxiliary data
  Accessible without login Plain text file pie-chart-1.svg Data Auxiliary data
  Accessible without login Plain text file plus-square.svg Data Auxiliary data
  Accessible without login Plain text file plus.svg Data Auxiliary data
  Accessible without login Plain text file search-sm.svg Data Auxiliary data
  Accessible without login Plain text file settings-2.svg Data Auxiliary data
  Accessible without login Plain text file share-4.svg Data Auxiliary data
  Accessible without login Plain text file star-1-solid.svg Data Auxiliary data
  Accessible without login Plain text file star-1.svg Data Auxiliary data
  Accessible without login Plain text file trash-4.svg Data Auxiliary data
  Accessible without login Plain text file user-plus-2.svg Data Auxiliary data
  Accessible without login Plain text file users-1.svg Data Auxiliary data
  Accessible without login Plain text file users-left.svg Data Auxiliary data
  Accessible without login Plain text file x-circle-solid.svg Data Auxiliary data
  Accessible without login Plain text file x-close.svg Data Auxiliary data

  Files folder image Files  /  components  
File Role Description
  Plain text file IconFa.php Class Class source
  Plain text file IconSvg.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:43
This week:43
All time:10,670
This week:2Up