Download the PHP package filafly/filament-phosphor-icons without Composer

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

Banner

Filament Phosphor Icons

An Phosphor icon set implementation for Filament Icons, allowing for instant replacement of all icons used within the Filament framework.

Installation

You can install the package via composer:

After the package is installed, you must register the plugin in your Filament Panel provider:

Setting the global icon style

Phosphor icons come in multiple styles that you can switch between. Available styles include:

You can change the style using the following methods:

Setting style for a subset of icons

If you need to override certain icons to use a different style, you can use either icon aliases or icon enum cases.

Using icon aliases

Use the overrideStyleForAlias method with a Filament Icon Alias. This method works with either a single icon key (string) or multiple icon keys (array).

Using icon enum cases

Use the overrideStyleForIcon method with Phosphor enum case(s). Like the alias method, this works with either a single case or an array of cases.

Specifying exact icons to use

You can also specify exactly which icon you would like to use in given situations. This can be done via icon aliases or icon enum cases.

Override icon aliases

Use overrideAlias() to change which icon is used for specific Filament icon aliases:

Or use overrideAliases() to override multiple aliases at once by passing an array:

Override individual icons

Use overrideIcon() to replace specific Phosphor icons with different ones:

Or use overrideIcons() to override multiple icons at once by passing an array:

PHP arrays do not support enums as keys so ->value is necessary if you want to reference the enum

These methods are useful for fine-tuning the icon set to better fit your application's needs.

Icon enum

All icons are available through an enum providing convenient usage throughout Filament. For more information, check the Filament docs.

License

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


All versions of filament-phosphor-icons with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filafly/filament-icons Version ^2.0
codeat3/blade-phosphor-icons Version ^2.3
filament/filament Version ^4.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 filafly/filament-phosphor-icons contains the following files

Loading the files please wait ....