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

ActiveLibrary

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

Laravel library for creating iOS and Android Wallet Passes

1.1.1(1y ago)3693.4k—7.5%12[7 issues](https://github.com/chiiya/laravel-passes/issues)[5 PRs](https://github.com/chiiya/laravel-passes/pulls)MITPHPPHP ^8.2CI passing

Since Mar 4Pushed 1mo 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 1mo ago

READMEChangelog (1)Dependencies (7)Versions (17)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/6371694c076034f64ef33c370ae43da05b17278c398227de527074fc11545e0d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6368696979612f6c61726176656c2d7061737365732f6c696e743f6c6162656c3d636f64652532307374796c65)](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

53

—

FairBetter than 97% of packages

Maintenance66

Regular maintenance activity

Popularity45

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 51.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 ~83 days

Recently: every ~33 days

Total

14

Last Release

453d 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://www.gravatar.com/avatar/34a7cd6c6e8c5fd30b6cd28645c3384f343fc90d10b0df8c80c7ad424e3dba2a?d=identicon)[chiiya](/maintainers/chiiya)

---

Top Contributors

[![chiiya](https://avatars.githubusercontent.com/u/15029301?v=4)](https://github.com/chiiya "chiiya (31 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (18 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (11 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

[chiiya/passes

PHP library for creating iOS and Android Wallet Passes

67243.1k1](/packages/chiiya-passes)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[basillangevin/laravel-data-json-schemas

Transforms Spatie Data objects into JSON Schemas with built-in validation

1312.2k1](/packages/basillangevin-laravel-data-json-schemas)

PHPackages © 2026

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