pashkevich/laravel-wallet

A Laravel package for managing Apple and Google Wallet passes

v1.0.0-beta.1 2024-02-29 11:59 UTC

This package is auto-updated.

Last update: 2024-11-09 12:24:42 UTC


README

Build Status Total Downloads Latest Stable Version License

Warning

The package is currently under development.

Installation

You can install the package via composer:

composer require pashkevich/laravel-wallet

Configuring the package

You can publish the config file with:

php artisan vendor:publish --tag=laravel-wallet

This is the contents of the file that will be published at config/wallet.php:

<?php

return [
    'apple' => [
        //
    ],

    'google' => [
        //
    ],
];

Usage

use Pashkevich\Wallet\Facades\Wallet;

$pass = new Pass(...);

Wallet::provider('apple')->createPass($pass);

Wallet::provider('google')->createPass($pass);

Testing

composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email siarheipashkveich@gmail.com instead of using the issue tracker.

Credits

License

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