Download the PHP package digitonic/laravel-favicon-extractor without Composer

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

Laravel Favicon Extractor

Latest Version on Packagist Build Status Total Downloads

This package provides a convenient way to extract a favicon from any website by using the appropriate Google service. It allows you to fetch and save it to your local storage.

Usage

Usage is very simple. You can either pull it in via Dependency Injection or use the Facade.

General

Fetch the favicon only

It returns a instance which implements FaviconInterface where you can retrieve the raw content of the favicon with $favicon->getContent().

Fetch and download the favicon

If you prefer to save the favicon to your local storage, you can. The only requirement is to define the path, where the favicon should be saved. It's relative to your root path which you defined in config/filesystems.php. Saying your path to save is favicons, it will be saved to app/storage/favicons.

With a random generated filename

With a custom filename

Installation

To install this package, require it via composer.

Thanks to Laravel 5.5+ Package Auto-Discovery, there is no need to add the ServiceProvider manually. If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php.

If you want to use the facade, add this to your facades array in config/app.php.

Configuration

If you would like to modify the configuration, use the publish command to copy the package config over.

The configuration file has only two options you can change. The provider_class and the filename_generator_class. In general, there is no need to change it, unless you like to have a different implementations how the favicon is fetched and how the filename is generated. Pleae take care of implementing the corresponding interfaces.

Testing

Changelog

Please take a look at the CHANGELOG what has changed recently.

Contributing

Please take a look at CONTRIBUTING for more information.

License

The MIT License (MIT). Please take a look at the LICENSE for more information.


All versions of laravel-favicon-extractor with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
illuminate/support Version ~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0
graham-campbell/guzzle-factory Version ^3.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 digitonic/laravel-favicon-extractor contains the following files

Loading the files please wait ....