Download the PHP package blinq/icons without Composer

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

Laravel blade icons

One-click icons for Laravel

This package makes it super simple to embed svg icons in your laravel project. No need to download entire icon sets that will bloat your code. It only grabs the icons you want and caches them locally 🚀

Available at the time or writing:

Go see https://icons.blinq.dev

icons

Installation

Simply conjure up the following in your terminal:

`

Usage

Go to https://icons.blinq.dev and find the icon you want.

That's it! First time around, it'll download the icon to your resources folder, and from then on, it'll load from there.

Configuration

Optionally, you can publish the config file using:

This is the contents of the published config file:

Optionally, you can publish the views using

Add another icon pack & contribute

Would you like to add another icon pack? Let's use Heroicons as an example.

You can find the "academic-cap" icon here:

https://raw.githubusercontent.com/tailwindlabs/heroicons/master/src/24/outline/academic-cap.svg

Thus, the download base path is:

https://raw.githubusercontent.com/tailwindlabs/heroicons/master/src

If you want to obtain a list of all files available in this GitHub repository, you can use the following URL:

https://api.github.com/repos/tailwindlabs/heroicons/git/trees/master?recursive=1

We must then transform this list into a format that blinq/icons understands. This transformation is described in a discovery.json file, which is created automatically.

To achieve this, we need to write some code that will transform the GitHub trees response into a discovery.json file. Take a class at the beforeDiscoveryFileCreated method below.

In this case, we also need to make adjustments to the SVG contents so they work well with the classes we apply to them. You can find guidance in the beforeSvgFileCreated method:

These operations can be consolidated into a single class that extends IconPack:

Then register this class in a service provider:

You are encouraged to create a pull request with the IconPack class, so i can add this to this repo.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of icons with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/contracts Version ^8.0|^9.0|^10.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 blinq/icons contains the following files

Loading the files please wait ....