Download the PHP package laulamanapps/apple-passbook without Composer

On this page you can find all versions of the php package laulamanapps/apple-passbook. 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 apple-passbook

Apple Passbook

This package provides a simple OOP integration of the Apple Wallet passes (PassKit) API for your PHP project.

GithubCi Build Status Code Coverage Scrutinizer Code Quality Latest Stable Version License

Installation

With composer, add:

Or use one of the framework integrations, which also implement the Apple PassKit web service endpoints for pass updates:

If you're using Symfony, install laulamanapps/apple-passbook-bundle:

If you're using Laravel, install laulamanapps/apple-passbook-laravel:

Run Tests

We use act to run tests which runs github actions locally:

Get certificate

Head over to the Apple Developer Portal to get yourself a certificate to sign your passbooks with.

Convert the certificate and key to a .p12 file using the Keychain Access

Setup Compiler

AppleWWDRCA certificate.

Included are 4 AppleWWDRCA intermediate certificates:

The Signer automatically selects the bundled intermediate that matches the issuer of your pass type identifier certificate (G3–G6), so in most cases no configuration is needed. To override the selection, set a file path as the 3rd option of the CompilerFactory or call setAppleWWDRCA() on the Signer class.

Create Passbook

Compile Passbook

Push Notifications (updating passes)

When a pass is registered on a device via the web service, Apple provides a push token. You can use the Notifier to send a push notification that tells the device to fetch an updated version of the pass.

For sandbox/development environments:

Note: The ext-curl extension with HTTP/2 support is required.

Examples

For the examples to work place the certificate P12 file in the /certificates folder and fill out the required information in the example scripts: <CertificatePassword>, <TeamId>, <PassTypeId>

Example php scripts can be found in docs/example:

Credits

This package has been developed by LauLaman.


All versions of apple-passbook with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
ext-curl Version *
ext-openssl Version *
ext-zip Version *
ext-exif Version *
ramsey/uuid Version ^3 || ^4
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 laulamanapps/apple-passbook contains the following files

Loading the files please wait ...