PHPackages                             thujohn/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. thujohn/packagist

ActiveLibrary

thujohn/packagist
=================

Packagist API for Laravel 4

666PHP

Since Oct 24Pushed 12y ago1 watchersCompare

[ Source](https://github.com/thujohn/packagist-l4)[ Packagist](https://packagist.org/packages/thujohn/packagist)[ RSS](/packages/thujohn-packagist/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Packagist
=========

[](#packagist)

Packagist API for Laravel 4

[![Build Status](https://camo.githubusercontent.com/d182ad0339d876b27466ebfb686993bbd59c20ab888beeec355accbe58f0b6b8/68747470733a2f2f7472617669732d63692e6f72672f7468756a6f686e2f7061636b61676973742d6c342e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/thujohn/packagist-l4)

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

[](#installation)

Add `thujohn/packagist` to `composer.json`.

```
"thujohn/packagist": "dev-master"

```

Run `composer update` to pull down the latest version of Packagist.

Now open up `app/config/app.php` and add the service provider to your `providers` array.

```
'providers' => array(
    'Thujohn\Packagist\PackagistServiceProvider',
)

```

Now add the alias.

```
'aliases' => array(
    'Packagist' => 'Thujohn\Packagist\PackagistFacade',
)

```

Examples
--------

[](#examples)

Search a package The second parameter enable/disable the pagination

```
Route::get('/', function()
{
	return Packagist::search(array('q' => 'laravel'), false);
});

```

Get a package

```
Route::get('/', function()
{
	return Packagist::package('thujohn/packagist');
});

```

Get all packages

```
Route::get('/', function()
{
	return Packagist::packages();
});

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

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.

### Community

---

Top Contributors

[![thujohn](https://avatars.githubusercontent.com/u/580699?v=4)](https://github.com/thujohn "thujohn (7 commits)")

### Embed Badge

![Health badge](/badges/thujohn-packagist/health.svg)

```
[![Health](https://phpackages.com/badges/thujohn-packagist/health.svg)](https://phpackages.com/packages/thujohn-packagist)
```

PHPackages © 2026

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