PHPackages                             chiiya/laravel-passes - 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. chiiya/laravel-passes

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

chiiya/laravel-passes
=====================

Laravel library for creating iOS and Android Wallet Passes

1.2.0(1mo ago)37114.8k↓42.7%14[1 PRs](https://github.com/chiiya/laravel-passes/pulls)MITPHPPHP ^8.2CI passing

Since Mar 4Pushed 1w ago2 watchersCompare

[ Source](https://github.com/chiiya/laravel-passes)[ Packagist](https://packagist.org/packages/chiiya/laravel-passes)[ Docs](https://github.com/chiiya/laravel-passes)[ GitHub Sponsors](https://github.com/chiiya)[ RSS](/packages/chiiya-laravel-passes/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (14)Versions (20)Used By (0)

Laravel Passes
==============

[](#laravel-passes)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fed78cb7d875923214af887acbb053df58803b3342bfe9f8a30787f501e34817/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6368696979612f6c61726176656c2d7061737365732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chiiya/laravel-passes)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/aaeb6abedb3822811fa941ccc430e0c8157190dbd0fde9926ea57f9e5469342a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6368696979612f6c61726176656c2d7061737365732f6c696e742e796d6c3f6272616e63683d6d6173746572)](https://github.com/chiiya/laravel-passes/actions?query=workflow%3Alint+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/9e666feb72ae5863db0d38574fed949b28d9899c0c8ab7bc28982403b895471e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6368696979612f6c61726176656c2d7061737365732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chiiya/laravel-passes)

Laravel package for creating iOS and Android Wallet Passes.

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

[](#installation)

You can install the package via composer:

```
composer require chiiya/laravel-passes
```

Publish the configuration files with:

```
php artisan vendor:publish --tag="passes-config"
```

Usage
-----

[](#usage)

This package is a thin wrapper around [chiiya/passes](https://github.com/chiiya/passes), that allows you to directly inject the Google repositories or Apple `PassFactory` in your application:

```
public function __construct(
    private OfferClassRepository $offers,
    private PassFactory $apple,
)

public function handle(): void
{
    $this->apple->create(...);
    $this->offers->get(...);
}
```

You may also use the `PassBuilder` class, which is an entry point to all pass building functionalities and contains a helper method for creating a signed Google JWT:

```
use Chiiya\LaravelPasses\PassBuilder;

public function __construct(
    private PassBuilder $builder,
)

public function handle(): void
{
    $this->builder->apple()->create(...);
    $this->builder->google()->offerClasses()->create(...);
    $this->builder->google()->createJWT()->addOfferObject(...)->sign();
}
```

For documentation on method signatures, check out [chiiya/passes](https://github.com/chiiya/passes).

Testing
-------

[](#testing)

Since this package uses the Laravel HTTP Client under the hood to perform API requests, you may simply call `Http::fake()` to fake responses in your tests. For mocking specific responses, check out the [example responses](https://github.com/chiiya/passes/tree/master/tests/Google/Fixtures/responses).

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.

License
-------

[](#license)

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

###  Health Score

61

—

FairBetter than 98% of packages

Maintenance96

Actively maintained with recent releases

Popularity46

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 52.1% 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 ~110 days

Recently: every ~149 days

Total

15

Last Release

36d ago

Major Versions

0.3.0 → 1.0.02024-10-10

PHP version history (3 changes)0.0.1PHP ^8.1

0.2.0PHP ^8.1|^8.2

1.1.1PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![chiiya](https://avatars.githubusercontent.com/u/15029301?v=4)](https://github.com/chiiya "chiiya (37 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (21 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (11 commits)")[![jsperrer](https://avatars.githubusercontent.com/u/129270249?v=4)](https://github.com/jsperrer "jsperrer (2 commits)")

---

Tags

laravelgoogleappleandroidwalletiospasseschiiya

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/chiiya-laravel-passes/health.svg)

```
[![Health](https://phpackages.com/badges/chiiya-laravel-passes/health.svg)](https://phpackages.com/packages/chiiya-laravel-passes)
```

###  Alternatives

[nativephp/mobile

NativePHP for Mobile

1.1k75.1k91](/packages/nativephp-mobile)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[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/laravel-wallet

A simple wallet implementation for Laravel

26611.9k](/packages/stephenjude-laravel-wallet)[chiiya/passes

PHP library for creating iOS and Android Wallet Passes

70318.3k2](/packages/chiiya-passes)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

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

PHPackages © 2026

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