PHPackages                             64robots/checkout - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. 64robots/checkout

ActiveLibrary[Framework](/categories/framework)

64robots/checkout
=================

Checkout Package.

7.0(6mo ago)382.9k2[4 PRs](https://github.com/64robots/checkout/pulls)MITPHPPHP ^8.2CI passing

Since Dec 20Pushed 3mo ago4 watchersCompare

[ Source](https://github.com/64robots/checkout)[ Packagist](https://packagist.org/packages/64robots/checkout)[ RSS](/packages/64robots-checkout/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (11)Versions (24)Used By (0)

[![Build Status](https://camo.githubusercontent.com/b1488c25ff52a5d23540259e94a9aa85b82f9a9449daa7c0006adfd39dd9fc72/68747470733a2f2f7472617669732d63692e6f72672f3634726f626f74732f636865636b6f75742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/64robots/checkout)[![MIT License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://en.wikipedia.org/wiki/MIT_License)

Checkout
--------

[](#checkout)

This package provides API endpoints and common functionality for cart, checkout, orders and coupons. You can use it with your own UI or use [Checkout Vue](https://github.com/64robots/checkout-vue) package that works with this API out of the box.

### Installation

[](#installation)

You can install this package via composer:

```
composer require 64robots/checkout

```

Once installed, this package will automatically register its service provider.

You can publish the package migrations with:

```
php artisan vendor:publish --provider="R64\Checkout\CheckoutServiceProvider" --tag="migrations"

```

After the migrations have been published, you can create package tables with:

```
php artisan migrate

```

By running migrations, these tables will be created:

- `customers`
- `products`
- `cart`
- `cart_items`
- `orders`
- `order_items`
- `coupons`
- `order_purchases`

You can also publish the package config with:

```
php artisan vendor:publish --provider="R64\Checkout\CheckoutServiceProvider" --tag="config"

```

After the config has been published, you can find it's contents in `config/checkout.php`

```
return [

    /*
     * Required parameters when submitting an order to /api/orders endpoint
     */
    'required' => [
        'customer_email',
        'shipping_first_name',
        'shipping_last_name',
        'shipping_address_line1',
        // 'shipping_address_line2',
        'shipping_address_city',
        'shipping_address_region',
        'shipping_address_zipcode',
        'shipping_address_phone',
        'billing_first_name',
        'billing_last_name',
        'billing_address_line1',
         // 'billing_address_line2',
        'billing_address_city',
        'billing_address_region',
        'billing_address_zipcode',
        'billing_address_phone',
    ],

    /*
     * Terms and conditions url used usually in the checkout UI
     */
    'toc_url' => '#',

    /*
     * Currency code that will be saved with every order and symbol
     * that is usually used in the Cart, Checkout and Order UI
     */
    'currency' => [
        'code' => env('CHECKOUT_CURRENCY_CODE', 'USD'),
        'symbol' => env('CHECKOUT_CURRENCY_SYMBOL', '$')
    ],

    /*
     * Percentage of Cart total and fixed fee will be stored for every
     * order purchase (transaction)
     */
    'stripe' => [
        'percentage_fee' => env('CHECKOUT_STRIPE_PERCENTAGE_FEE', 29 / 1000),
        'fixed_fee' => env('CHECKOUT_STRIPE_FIXED_FEE', 30)
    ],

    /*
     * Shipping city and state is automatically resolved from zip code
     * using GeoNames service http://www.geonames.org/
     *
     * Country code constraints the search results
     * to specific country
     */
    'geo_names' => [
        'username' => env('CHECKOUT_GEO_NAMES_USERNAME', 'demo'),
        'country_code' => env('CHECKOUT_GEO_NAMES_COUNTRY_CODE', 'US')
    ],

    /*
     * Class names can be replaced and extended with your own logic
     */
    'product_model' => R64\Checkout\Models\Product::class,
    'customer_model' => R64\Checkout\Models\Customer::class,
    'cart_model' => R64\Checkout\Models\Cart::class,
    'cart_item_model' => R64\Checkout\Models\CartItem::class,
    'coupon_model' => R64\Checkout\Models\Coupon::class,
    'order_model' => R64\Checkout\Models\Order::class,
    'order_item_model' => R64\Checkout\Models\OrderItem::class,
    'product_resource' => R64\Checkout\Http\Resources\ProductResource::class,
    'payment' => R64\Checkout\StripePaymentHandler::class
];
```

### Nova

[](#nova)

You can publish nova resources with:

```
php artisan vendor:publish --provider="R64\Checkout\CheckoutServiceProvider" --tag="nova"

```

### Available API Endpoints

[](#available-api-endpoints)

Once you install the package and run migrations, these API endpoints will be available in your application.

[API Docs](https://github.com/64robots/checkout/wiki/API-Endpoints)

Licence
-------

[](#licence)

Checkout is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT)

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance74

Regular maintenance activity

Popularity30

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 87.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~272 days

Recently: every ~1 days

Total

8

Last Release

205d ago

Major Versions

1.0 → 2.02022-01-11

2.0.x-dev → v3.02025-10-21

v3.0 → 5.02025-10-23

5.0 → 6.02025-10-24

6.0 → 7.02025-10-24

PHP version history (4 changes)1.0PHP ^7.1.3

2.0PHP ^7.1.3 || ^8.0

v3.0PHP ^8.0

6.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/88e19e84d31e5f50eb2e338915669ae04f507a643fa24f88afc870520d8bef23?d=identicon)[64robots](/maintainers/64robots)

---

Top Contributors

[![MichalGallovic](https://avatars.githubusercontent.com/u/5698422?v=4)](https://github.com/MichalGallovic "MichalGallovic (108 commits)")[![mmanzano](https://avatars.githubusercontent.com/u/1055699?v=4)](https://github.com/mmanzano "mmanzano (7 commits)")[![EdgarSidawi](https://avatars.githubusercontent.com/u/48221327?v=4)](https://github.com/EdgarSidawi "EdgarSidawi (4 commits)")[![lacasera](https://avatars.githubusercontent.com/u/8544587?v=4)](https://github.com/lacasera "lacasera (2 commits)")[![simoebenhida](https://avatars.githubusercontent.com/u/19809072?v=4)](https://github.com/simoebenhida "simoebenhida (2 commits)")

---

Tags

apicartcheckoutlaravelnovaframeworklaravelcheckout

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/64robots-checkout/health.svg)

```
[![Health](https://phpackages.com/badges/64robots-checkout/health.svg)](https://phpackages.com/packages/64robots-checkout)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[laravel/cashier-paddle

Cashier Paddle provides an expressive, fluent interface to Paddle's subscription billing services.

264778.4k3](/packages/laravel-cashier-paddle)[defstudio/pest-plugin-laravel-expectations

A plugin to add laravel tailored expectations to Pest

98548.9k4](/packages/defstudio-pest-plugin-laravel-expectations)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
