PHPackages                             ingress-it-solutions/laravel-packagist - 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. ingress-it-solutions/laravel-packagist

ActiveLibrary

ingress-it-solutions/laravel-packagist
======================================

A Laravel wrapper for the `spatie/packagist-api` package.

1.0.0(3y ago)011MITPHPPHP 8.\*

Since Mar 18Pushed 3y agoCompare

[ Source](https://github.com/ingress-it-solutions/laravel-packagist)[ Packagist](https://packagist.org/packages/ingress-it-solutions/laravel-packagist)[ RSS](/packages/ingress-it-solutions-laravel-packagist/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Laravel Packagist
=================

[](#laravel-packagist)

[![Latest Stable Version](https://camo.githubusercontent.com/31f22cacdfa61628da4f297605db0bb2c038241bfaee9c6e485ef9fc48ae7569/68747470733a2f2f706f7365722e707567782e6f72672f696e67726573732d69742d736f6c7574696f6e732f6c61726176656c2d7061636b61676973742f762f737461626c65)](https://packagist.org/packages/ingress-it-solutions/laravel-packagist)[![Total Downloads](https://camo.githubusercontent.com/a8ccc9ffd8ca7f8df24d7beb99db767cb0e5c84a04c8054ec403c9a2fe4c64b7/68747470733a2f2f706f7365722e707567782e6f72672f696e67726573732d69742d736f6c7574696f6e732f6c61726176656c2d7061636b61676973742f646f776e6c6f616473)](https://packagist.org/packages/ingress-it-solutions/laravel-packagist)

A Laravel wrapper for the [spatie/packagist-api](https://github.com/spatie/packagist-api) package.

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

[](#installation)

You can install this package with composer:

```
composer require ingress-it-solutions/laravel-packagist
```

Laravel uses Package auto-discovery, so you don't have to register the service provider. If you want to register the service provider manually, add the following line to your `config/app.php` file:

```
IngressITSolutions\Packagist\PackagistServiceProvider::class,
```

Usage
-----

[](#usage)

There are two main ways how you can make Packagist calls:

**Using the application container**

```
/** @var \Spatie\Packagist\PackagistClient $client */
$client = app(\Spatie\Packagist\PackagistClient::class);

$client->getPackage('ingress-it-solutions', 'laravel-packagist');
```

**Using the facade**

```
Packagist::getPackage('ingress-it-solutions', 'laravel-packagist');
```

### Available methods

[](#available-methods)

**List package names**

```
// All packages
Packagist::getPackagesNames();

// Filter on type.
Packagist::getPackagesNamesByType('composer-plugin');

// Filter on organization
Packagist::getPackagesNamesByVendor('ingress-it-solutions');
```

**Searching for packages**

```
// Search packages by name.
Packagist::searchPackagesByName('packagist');

// Search packages by tag.
Packagist::searchPackagesByTags('psr-3');

// Search packages by type.
Packagist::searchPackagesByType('composer-plugin');

// Combined search.
Packagist::searchPackages('packagist', ['type' => 'library']);
```

**Pagination**

Searching for packages returns a paginated result. You can change the pagination settings by adding more parameters.

```
// Get the third page, 10 items per page.
Packagist::searchPackagesByName('packagist', 3, 10);
```

**Getting package data.**

```
// Using the Composer metadata. (faster, but less data)
Packagist::getPackageMetadata('ingress-it-solutions/laravel-packagist');
Packagist::getPackageMetadata('ingress-it-solutions', 'laravel-packagist');

// Using the API. (slower, cached for 12 hours by Packagist.
Packagist::getPackage('ingress-it-solutions/laravel-packagist');
Packagist::getPackage('ingress-it-solutions', 'laravel-packagist');
```

**Get Statistics**

```
$packagist->getStatistics();
```

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

[](#configuration)

By default, the api url for Packagist is set to `https://packagist.org`. If you want to override that, you can add the following code block to your `config/services.php` file:

```
'packagist' => [
    'base_url' => 'https://packagist.org',
    'repo_url' => 'https://repo.packagist.org',
],
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1152d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47470909?v=4)[vandanafuletra](/maintainers/vandanafuletra)[@vandanafuletra](https://github.com/vandanafuletra)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ingress-it-solutions-laravel-packagist/health.svg)

```
[![Health](https://phpackages.com/badges/ingress-it-solutions-laravel-packagist/health.svg)](https://phpackages.com/packages/ingress-it-solutions-laravel-packagist)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[markwalet/laravel-packagist

A Laravel wrapper for the `spatie/packagist-api` package.

132.1k](/packages/markwalet-laravel-packagist)

PHPackages © 2026

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