Download the PHP package bhaidar/laravel-checkeeper without Composer

On this page you can find all versions of the php package bhaidar/laravel-checkeeper. 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 laravel-checkeeper

Laravel Checkeeper

Latest Version on Packagist Total Downloads

A comprehensive Laravel package for the Checkeeper API v3. Send physical checks via USPS, UPS, or FedEx, or generate PDFs for self-printing.

Features

Table of Contents

Requirements

Installation

Install via Composer:

Publish the configuration file:

Add your API credentials to .env:

Optional queue configuration:

Configuration

The package configuration file is located at config/checkeeper.php:

How It Works

The Laravel Checkeeper package provides a clean, Laravel-friendly interface to the Checkeeper API. Here's how the components work together:

Architecture Overview

Core Components

  1. Facade (Checkeeper) - Main entry point for all operations
  2. Resources - Organized API endpoints (Checks, Team, Templates)
  3. DTOs - Type-safe data transfer objects
  4. Events - Laravel events for check operations and webhooks
  5. Jobs - Queue jobs for async operations
  6. Filter Builder - Fluent query builder for searching checks

Request Flow

Creating Checks

Basic Check Creation

Create a check using a simple array:

Using Type-Safe DTOs

Recommended approach for type safety and IDE autocomplete:

Adding a Company Logo:

Using Image Signature:

Delivery Methods

Delivery is specified separately from check data and passed as the second argument to create() or createBulk(). This matches the Checkeeper API payload structure where delivery is a sibling to checks:

No delivery specified defaults to the team's configured delivery method:

Available Delivery Methods:

Enum Value Description
DeliveryMethod::UspsFirstClass usps.first_class USPS First Class Mail
DeliveryMethod::UspsPriority usps.priority USPS Priority Mail
DeliveryMethod::UpsTwoDay ups.two_day UPS 2-Day Shipping
DeliveryMethod::UpsNextDay ups.next_day UPS Next Day Air
DeliveryMethod::FedexTwoDay fedex.two_day FedEx 2-Day
DeliveryMethod::FedexOvernight fedex.overnight FedEx Overnight
DeliveryMethod::Pdf pdf Return PDF only

Bulk Check Creation

Create multiple checks in a single API request. Delivery applies to all checks in the batch:

Using DTOs for bulk:

Async Check Creation

Recommended for production to avoid blocking your application:

Listen for completion:

Querying Checks

List All Checks

Filtering Checks

Use the fluent filter builder for powerful queries:

Available Filter Methods:

Filterable Fields:

Raw filter array:

Check Status

Get current status of a check:

Available Check Statuses:

Status Description
Processing Check is being prepared
Ready Check is ready for printing
Printed Check has been printed
Mailed Check has been sent
Delivered Check delivered to recipient
Cancelled Check was cancelled
Returned Check returned to sender

Tracking Events

Get detailed tracking information:

Cancel Check

Cancel a check before it's printed or mailed:

Note: Checks can only be cancelled if they haven't been printed yet.

Download Check Images

Download check images as JPG or PDF:

Get voucher image:

Webhooks

Webhooks allow Checkeeper to notify your application in real-time when check statuses change.

Webhook Setup

  1. The webhook route is auto-registered at /checkeeper/webhook
  2. Configure the URL in Checkeeper dashboard: https://yourapp.com/checkeeper/webhook
  3. Set webhook secret in .env:

The package automatically:

Listening to Events

Register listeners in your EventServiceProvider:

Example Listeners

Update Invoice When Check Delivered

Log All Webhook Activity

Webhook Security

The package automatically verifies webhook signatures using the VerifyWebhookSignature middleware:

  1. Extracts X-Checkeeper-Signature header
  2. Validates using HMAC SHA256 with your webhook secret
  3. Rejects invalid signatures with 401 Unauthorized

No additional configuration needed - just ensure your webhook secret is set in .env.

Disable webhooks if needed:

Team & Templates

Get Team Information

List Available Templates

Use a template when creating checks:

Events

The package dispatches Laravel events for key operations:

CheckCreated

Fired after successful check creation.

CheckCancelled

Fired after check cancellation.

WebhookReceived

Fired when webhook is received and verified.

Exception Handling

The package throws typed exceptions for different error scenarios:

Complete Application Example

Here's a complete example of a vendor payment system:

Testing Your Integration

Use HTTP fakes to test your Checkeeper integration:

API Reference

Check Operations

Team Operations

Template Operations

Available DTOs

DTO Description
CheckData Check payload (bank, payer, payee, signer, amount, etc.)
BankData Bank routing and account numbers
PayerData Payer/company info (lines 1-4, logo)
PayeeData Payee/recipient info (lines 1-4)
SignerData Signature (text name or image)
AddressData Full address (name, lines, city, state, zip, country, phone)
DeliveryData Delivery method and optional bundle address
CheckStatusData API response (id, status, created, updated, trackingUrl)
TrackingEventData Tracking event (event, subevent, eventDate, location)

Available Enums

Enum Values
DeliveryMethod UspsFirstClass, UspsPriority, UpsTwoDay, UpsNextDay, FedexTwoDay, FedexOvernight, Pdf
CheckStatus Processing, Ready, Printed, Mailed, Delivered, Cancelled, Returned
SignerType Text, Png, Gif, Jpg

Testing

Run the package test suite:

Changelog

Please see CHANGELOG.md for recent changes.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

Security

If you discover any security issues, please email [email protected] instead of using the issue tracker.

Credits

License

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


All versions of laravel-checkeeper with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0
illuminate/http Version ^11.0
illuminate/contracts Version ^11.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 bhaidar/laravel-checkeeper contains the following files

Loading the files please wait ...