Download the PHP package passkit/passkit-php-grpc-sdk without Composer

On this page you can find all versions of the php package passkit/passkit-php-grpc-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package passkit-php-grpc-sdk

PassKit PHP SDK

License: MIT Version

Use the PassKit PHP gRPC SDK to issue and manage Apple Wallet and Google Pay Passes from your PHP application.

For more information, please visit the documentation.

Table Of Contents

Requirements

  1. PHP 7.0 or higher.
  2. PECL.
  3. Composer.
  4. A PassKit account; sign up for free at https://app.passkit.com.
  5. Your SDK API credentials (Home >> Account >> Developer Tools >> Generate New SDK Credentials).

Installation

Instal & Enable the gRPC PHP extension

After installing the gRPC extension, make sure the extension is enabled in your php.ini file, (e.g. /etc/php5/cli/php.ini, /etc/php5/apache2/php.ini, or /usr/local/etc/php/7.2/php.ini), depending on where your PHP installation is.

For detailed steps visit the gRPC PHP quickstart.

Add bindings to composer

To install the bindings via Composer, add the following to composer.json:

Then run composer install

Manual Installation

Clone the repo and include autoload.php:

Getting Started

Follow the installation procedure, and see general usage format & examples below.

Authorization

Simply request your SDK credentials from the PassKit Portal. You will receive an email with your credentials on your registered email address. Follow the instructions in the email to decrypt key.pem, and then copy the .pem files into your project (in this project & for the examples to work they should be in the certs directory).

You will need the credentials when you setup the SSL connection to the server.

Your credentials consist of 3 files:

Setting up the connection:

General Instructions

The general format is shown below. Each API has its own client that you will need to initialise. Clients can re-use the credentials object.

General format:

Examples

The examples folder contains working samples for using the SDK.

To successfully run the program:

PassKit Portal

The https://app.passkit.com allows you to easily design loyalty cards, membership cards and coupons for both Apple Wallet and Google Pay.

Additionally, the PassKit portal facilitates management, distribution and simple analysis of your Mobile Wallet projects.

Best Practices:

Known Issues & Unsupported Endpoints

The following methods are currently not implemented:

Members:

Coupons:

Getting Help

Contributing

Send bug reports, feature requests and code contributions into this repository.

Author & License

PassKit Inc.: [email protected]

Distributed under MIT License. Details available in license file.


All versions of passkit-php-grpc-sdk with dependencies

PHP Build Version
Package Version
Requires grpc/grpc Version ^v1.52.0
google/protobuf Version ^v3.23.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package passkit/passkit-php-grpc-sdk contains the following files

Loading the files please wait ....