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. [Utility &amp; Helpers](/categories/utility)
4. /
5. apsonex/filament-asset-routing

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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 today

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 35% 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

1022d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/73299554?v=4)[Apsonex Inc.](/maintainers/apsonex)[@apsonex](https://github.com/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

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[stephenjude/filament-debugger

About

104162.2k2](/packages/stephenjude-filament-debugger)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

122177.8k1](/packages/stephenjude-filament-feature-flags)[finity-labs/fin-mail

A powerful email template manager and composer for Filament with dynamic token replacement, template versioning, and inline email sending.

284.5k1](/packages/finity-labs-fin-mail)

PHPackages © 2026

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