Download the PHP package alto/favicon without Composer

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

ALTO Favicon

Generate a focused, modern favicon set from one SVG or PNG source.

  PHP Version   CI   Packagist   License   GitHub Sponsors

ALTO Favicon produces the small set of files current browsers and devices need, plus the exact HTML tags required to use them. The CLI and PHP API share the same options, preserve SVG input for modern browsers, and select an available rasterizer automatically.

The default result includes icon.svg, favicon.ico, apple-touch-icon.png, and favicon.html. Optional flags add a Web App Manifest, Android icons, a maskable icon, and a Google Search PNG.

Installation

Install ALTO Favicon with Composer:

ALTO Favicon requires PHP 8.3 or later. SVG input needs rsvg-convert, Inkscape, ImageMagick CLI, or the Imagick extension. PNG input needs Imagick or GD. Composer installs the PHP package dependencies automatically.

Quick Start

Generate the default set from an SVG:

Then copy the generated contents of public/favicons/favicon.html into the document <head>.

Add a manifest and a dedicated Google Search icon when needed:

Documentation

Guide Contents
Documentation index Browse the complete guide set
Getting started Generate and install the first favicon set
CLI Commands, flags, and examples
PHP API Programmatic generation and reports
Configuration Options, defaults, and overwrite behavior
Rasterizers SVG and PNG adapter selection
Generated files Default and optional outputs
Errors Input and rasterization failures

Contributing

Contributions of all kinds are welcome. Visit the project on GitHub to report a bug, suggest a feature, or open a pull request.

Before submitting code, run:

Support

ALTO Favicon is open source. You can support its continued development through GitHub Sponsors.

Sharing this package with others or starring it on GitHub is also much appreciated.

License

ALTO Favicon is released by ALTO PHP under the MIT License.


All versions of favicon with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
psr/log Version ^3.0
symfony/console Version ^7.3 || ^8.0
symfony/filesystem Version ^7.3 || ^8.0
symfony/process Version ^7.3 || ^8.0
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 alto/favicon contains the following files

Loading the files please wait ...