PHPackages                             apsonex/filament-asset-routing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. apsonex/filament-asset-routing

ActiveLibrary

apsonex/filament-asset-routing
==============================

This is my package filament-asset-routing

v1.0.1(2y ago)051MITPHPPHP ^8.1

Since Sep 14Pushed 2y ago2 watchersCompare

[ Source](https://github.com/apsonex/filament-asset-routing)[ Packagist](https://packagist.org/packages/apsonex/filament-asset-routing)[ Docs](https://github.com/apsonex/filament-asset-routing)[ RSS](/packages/apsonex-filament-asset-routing/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

Filament asset routing
======================

[](#filament-asset-routing)

[![Latest Version on Packagist](https://camo.githubusercontent.com/66e5d34b4fcc1bfb31c7606d4359fc0805c2d589609161aac8890f6525b10dd9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6170736f6e65782f66696c616d656e742d61737365742d726f7574696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apsonex/filament-asset-routing)[![Total Downloads](https://camo.githubusercontent.com/2a7e4b10ff3272ad1f94078dd8671f4a30c2f612b0de305e0a36c2c8628ac164/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6170736f6e65782f66696c616d656e742d61737365742d726f7574696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apsonex/filament-asset-routing)

Filament has built in system to [manage assets](https://filamentphp.com/docs/3.x/support/assets#the-filamentasset-facade). But for some reason i want to create a package which helps me in development also.

Purpose
-------

[](#purpose)

```

@php
    use \Apsonex\FilamentSimpleFile\FilamentSimpleFileServiceProvider;
@endphp

```

Above code will create links and package will serve the file as requested with updated timestamp to purge the file cache by browser.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require apsonex/filament-asset-routing
```

Usage
-----

[](#usage)

```
use \Apsonex\FilamentAssetRouting\FilamentAssetRouting;
use \Apsonex\FilamentImage\FilamentImageServiceProvider;

FilamentAssetRouting::url('resources/dist/plugin.css', FilamentImageServiceProvider::class)
// OUTOUT: https://example.com/package/filename.ext?id=file_timestamp

// Authentication will be required to access the file
FilamentAssetRouting::authUrl('resources/dist/plugin.css', FilamentImageServiceProvider::class)
// OUTPUT: https://example.com/package/filename.ext?id=file_timestamp // authentication required
```

### Helpers functions

[](#helpers-functions)

```
filament_asset_route(string $filePath, string $serviceProviderClass)

// Auth will be required to access the file
filament_asset_route_auth(string $filePath, string $serviceProviderClass)
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Gurinder Chauhan](https://github.com/apsonex)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

970d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c01c7781cf9e16fbd9358743e58a0d1bf5802d5059d3b5245daf3165f7ceb06e?d=identicon)[apsonex](/maintainers/apsonex)

---

Top Contributors

[![gurindersingh](https://avatars.githubusercontent.com/u/6223752?v=4)](https://github.com/gurindersingh "gurindersingh (6 commits)")[![apsonex](https://avatars.githubusercontent.com/u/73299554?v=4)](https://github.com/apsonex "apsonex (1 commits)")

---

Tags

laravelapsonexfilament-asset-routing

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/apsonex-filament-asset-routing/health.svg)

```
[![Health](https://phpackages.com/badges/apsonex-filament-asset-routing/health.svg)](https://phpackages.com/packages/apsonex-filament-asset-routing)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[bezhansalleh/filament-plugin-essentials

A collection of essential traits that streamline Filament plugin development by taking care of the boilerplate, so you can focus on shipping real features faster

27584.7k16](/packages/bezhansalleh-filament-plugin-essentials)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
