PHPackages                             rayzenai/gold-silver-price - 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. rayzenai/gold-silver-price

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

rayzenai/gold-silver-price
==========================

Laravel package for fetching and managing gold and silver prices with Filament integration

v1.1.0(8mo ago)0281MITPHPPHP ^8.3

Since Nov 2Pushed 8mo agoCompare

[ Source](https://github.com/rayzenai/gold-silver-price)[ Packagist](https://packagist.org/packages/rayzenai/gold-silver-price)[ RSS](/packages/rayzenai-gold-silver-price/feed)WikiDiscussions main Synced yesterday

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

Gold &amp; Silver Price Package
===============================

[](#gold--silver-price-package)

A Laravel package for fetching and managing gold and silver prices from fenegosida.org with Filament integration.

Features
--------

[](#features)

- Automatic price fetching from fenegosida.org
- Database storage of historical prices
- Filament admin panel integration
- Queue support for background fetching
- Artisan command for manual fetching
- Configurable source URL and settings
- Full test coverage with Pest PHP

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

[](#installation)

You can install the package via Composer:

```
composer require rayzenai/gold-silver-price
```

Publish the migration file (optional):

```
php artisan vendor:publish --tag="gold-silver-price-migrations"
```

Run the migrations:

```
php artisan migrate
```

Publish the config file (optional):

```
php artisan vendor:publish --tag="gold-silver-price-config"
```

Configuration
-------------

[](#configuration)

The package comes with a configuration file `config/gold-silver-price.php` where you can customize:

- Source URL for fetching prices
- Filament navigation settings
- Database table name
- HTTP client settings (timeout, retries, etc.)

Usage
-----

[](#usage)

### Fetching Prices

[](#fetching-prices)

Manually fetch prices using the Artisan command:

```
php artisan gold-silver-price:fetch
```

Or dispatch the job:

```
use RayzenAI\GoldSilverPrice\Jobs\FetchGoldPriceJob;

FetchGoldPriceJob::dispatch();
```

### Scheduling Automatic Fetching

[](#scheduling-automatic-fetching)

To automatically fetch prices every five minutes between 10:00 and 13:00, add the following to your `routes/console.php` file:

```
use Illuminate\Support\Facades\Schedule;
use RayzenAI\GoldSilverPrice\Jobs\FetchGoldPriceJob;

Schedule::job(FetchGoldPriceJob::class)
    ->everyFiveMinutes()
    ->between('10:00', '13:00');
```

Make sure your Laravel scheduler is running via cron:

```
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
```

### Using the Service

[](#using-the-service)

```
use RayzenAI\GoldSilverPrice\Services\GoldPriceService;

$service = app(GoldPriceService::class);
$goldPrice = $service->fetchAndStore();

// Get latest prices
$latest = $service->getLatest();
```

### Filament Integration

[](#filament-integration)

Register the plugin in your Filament panel provider:

```
use RayzenAI\GoldSilverPrice\GoldSilverPricePlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            GoldSilverPricePlugin::make(),
        ]);
}
```

Testing
-------

[](#testing)

The package includes comprehensive tests using Pest PHP. Run tests with:

```
cd /path/to/gold-silver-price
./vendor/bin/pest
```

License
-------

[](#license)

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

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance61

Regular maintenance activity

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

4

Last Release

245d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/351e3224dcfda5f2fc1a86fb6424f60a9a060a39c938c6338a244d01912e077d?d=identicon)[kiran1991](/maintainers/kiran1991)

---

Top Contributors

[![timsinakiran](https://avatars.githubusercontent.com/u/50225225?v=4)](https://github.com/timsinakiran "timsinakiran (5 commits)")

---

Tags

laravelfilamentpricegoldsilvernepal

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/rayzenai-gold-silver-price/health.svg)

```
[![Health](https://phpackages.com/badges/rayzenai-gold-silver-price/health.svg)](https://phpackages.com/packages/rayzenai-gold-silver-price)
```

###  Alternatives

[ysfkaya/filament-phone-input

A phone input component for Laravel Filament

3161.3M25](/packages/ysfkaya-filament-phone-input)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

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

Filament implementation of feature flags and segmentation with Laravel Pennant.

122177.8k1](/packages/stephenjude-filament-feature-flags)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

211189.7k8](/packages/bezhansalleh-filament-google-analytics)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

84215.9k9](/packages/stephenjude-filament-two-factor-authentication)

PHPackages © 2026

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