Skip to content

Latest commit

 

History

History
76 lines (49 loc) · 1.74 KB

README.md

File metadata and controls

76 lines (49 loc) · 1.74 KB

Laravel Wallet

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.