PHPackages                             industrious/coreprint-php - 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. [API Development](/categories/api)
4. /
5. industrious/coreprint-php

ActiveLibrary[API Development](/categories/api)

industrious/coreprint-php
=========================

A PHP Wrapper for the Coreprint API

02PHP

Since Sep 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/industrious-agency/coreprint-php)[ Packagist](https://packagist.org/packages/industrious/coreprint-php)[ RSS](/packages/industrious-coreprint-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Coreprint PHP
=============

[](#coreprint-php)

A PHP wrapper for the Coreprint API. The wrapper uses a dynamic `__call` method, so you should be able to call any of CorePrint's methods, some examples can be seen below.

Getting started
---------------

[](#getting-started)

### Install the package:

[](#install-the-package)

```
$ composer require industrious/coreprint-php
```

### Usage

[](#usage)

##### Add to Basket

[](#add-to-basket)

```
$product_id = 1;

$basket = (new Industrious\CorePrint\CorePrint)
    ->addBasketEntry('PUT', [
        [
            'productid' => $product_id,
            'quantity' => 1,
            'itemurl' => 'https://placehold.it/100x100',
        ]
    ]);
```

##### Add an Address

[](#add-an-address)

```
$address = (new Industrious\CorePrint\CorePrint)
    ->addAddress('PUT', [
        [
            'type' => 1,
            'label' => 'Delivery Address',
            'deliverto' => 'FULL_NAME',
            'streets' => (object) [
                'Address Line 1',
                'Address Line 2',
            ],
            'city' => 'City',
            'state' => 'County',
            'postcode' => 'Post Code',
            'country' => 'United Kingdom'
        ]
    ]);
```

##### Create an Order

[](#create-an-order)

```
$basket_id = 1;
$invoice_address_id = 1;
$address_id = 1;

$order = (new Industrious\CorePrint\CorePrint)
    ->createOrder('PUT', [
        'entries' => (object) [$basket_id],
        'invoice' => $invoice_address_id,
        'delivery' => $address_id,
    ]);
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e4e4c666d8933ea89562350bd66ab2928949fab1fb7c17289f6d0b4448f5b17c?d=identicon)[industrious-mouse](/maintainers/industrious-mouse)

![](https://www.gravatar.com/avatar/2e248405bd1b88852dbff45d091e2678bbd2a5cf0412115a99507c8786cd580d?d=identicon)[christian-thomas](/maintainers/christian-thomas)

---

Top Contributors

[![christian-thomas](https://avatars.githubusercontent.com/u/740172?v=4)](https://github.com/christian-thomas "christian-thomas (1 commits)")

### Embed Badge

![Health badge](/badges/industrious-coreprint-php/health.svg)

```
[![Health](https://phpackages.com/badges/industrious-coreprint-php/health.svg)](https://phpackages.com/packages/industrious-coreprint-php)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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