Download the PHP package atelierspierrot/famfamfam-silk-sprite without Composer

On this page you can find all versions of the php package atelierspierrot/famfamfam-silk-sprite. 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 famfamfam-silk-sprite

FamFamFam - Silk icons CSS sprite

The UNOFFICIAL sprites of the FamFamFam Silk web icons by FamFamFam.

!! - This work is unofficial and is not liable for FamFamFam.

Overview

This package proposes a CSS sprite constructed on the FamFamFam Silk web-icons set. The original set of icons is proposed under Creative Commons "Attribution" license, free of use as long as you attach image credits to "FamFamFam".

To learn more about "CSS sprites" conception, see the Sprite (computer graphics) wikipedia's page.

Usage

Installation

This package is a "standalone" CSS framework. To use it, you just need to get its sources from GitHub and include the src/ content of the package in your project assets.

If you are a Bower user, the package is registered so you can write in your bower.json:

"dependencies": {
    ...
    "atelierspierrot/famfamfam-silk-sprite": "dev-master"
}

If you are a Composer user, the package is referenced to Packagist so you can write in your composer.json:

"require": {
    ...
    "atelierspierrot/famfamfam-silk-sprite": "dev-master"
}

The package has a library-assets type to allow handling by the Assets Manager Composer's extension. If you plan to use the manager, you can use the assets-install branch of the package, which has the AssetsManager in its requirements (to be sure it will be loaded before the sprite and be able to move it in the project assets).

HTML usage

Once the package is included in your project, you can start to use the sprites framework.

To do so, you first need to include the CSS definitions:

<link rel="stylesheet" href="path/to/package/src/silk-icons-sprite.min.css" />

Then you can start writing some Silk icons spans using the framework explained below.

A demonstration page is available in the global package in demo/ ; it shows in particular the list of available icons and their names.

CSS Framework

The package defines some CSS sprite classes to render some icons easily and with least of work.

The CSS framework to use the sprites is based on two classes:

For instance, to render a the "print" icon, you will write:

<span class="web-icon print"></span>

As the sprite is not defined with restrictive CSS rules, you may encounter rendering problems (such as margins or paddings defined globally in your document) that can be avoid adding a reset class to your icons:

<span class="web-icon reset print"></span>

Credits

As mentioned above, the original set of icons is made by FamFamFam (Mark James - UK) and proposed under Creative Commons Attribution license. You are free to use it in any work but you must always add a link to www.famfamfam.com in a prominent place (e.g. the page footer), including the CC-BY license and the reference to www.famfamfam.com on every page using the icons.

The sprite was generated with the help of website-performance.org and is CSS3 valid.

The minified version of the CSS file of the package was processed with the YUI Compressor.

The PNG sprite is optimized using Smush.it (TM).


All versions of famfamfam-silk-sprite with dependencies

PHP Build Version
Package Version
No informations.
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 atelierspierrot/famfamfam-silk-sprite contains the following files

Loading the files please wait ....