Free download

Sell Zinn® hosting from your own PHP application

One PHP file you call from your own code: it creates accounts, provisions, suspends, unsuspends and terminates real hosting, and signs your client in — free, open source, and no licence key.

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.
  • Freeno licence key, ever
  • GPL-2.0+source on GitHub
  • No accountneeded to download

What it does

Not everybody bills through WHMCS or HostBill. Some resellers have their own system, and some are building one. The single-file PHP client is the same provisioning logic with no panel around it, so you can call it from whatever you have.

You call it from your own billing code. When an order is paid, account() creates your customer's organisation, plan() puts it on one of your plans and provision() creates the site; when an invoice goes unpaid, suspend() pauses it; when the service is cancelled, terminate() removes it. Your client never learns our name unless you want them to.

What is in it

Everything a reseller needs to run hosting as their own product.

Provisioning on order

When your code sees a paid order, it creates your client's organisation, puts it on a plan and provisions their site.

Suspend, unsuspend, terminate

Call suspend(), unsuspend() or terminate() from whatever notices a missed payment or a cancellation, and the site follows.

Single sign-on

signInLink() returns a one-time link that lands your client in their control panel already signed in.

Usage on demand

usage() reads a site's disk and bandwidth when you ask for it, and services() lists every site you provision, page by page.

One file, nothing to install

Copy ZinnProvisioning.php anywhere in your codebase and require it. There is nothing to compile and no dependency to install.

Open source

GPL-2.0-or-later, on GitHub, so you can read exactly what it does before you install it and change it if you need to.

How to get started

  1. Download the module

    From our billing-panel modules page. No account, no sign-up and no licence key — the archive is served with its SHA-256 so you can verify it.

  2. Create an API key

    In your Zinn Digital® dashboard, with the six permissions the module needs. The download page lists them exactly.

  3. Call it from your billing code

    Create the client with your API key, then call account(), plan() and provision() when an order is paid. Each site is keyed on your own service id, so a retried call never creates a second site.

What it costs

The module is free. There is no licence key, no per-installation fee, no paid tier holding back the features you need, and no account required to download it.

What you pay for is the hosting your clients buy, at reseller rates, and you set what you charge them on top. Reseller hosting has the wholesale plans and the margins; the SEO reporting most agencies charge on is a separate add-on priced for a whole book of client sites rather than per seat.

Why it is free

Because we want you selling our hosting, and charging you for the means to do it would be a strange way to ask. There is no licence key, no per-install fee and no paid tier of the module holding back the features you actually need.

It is also open source under the same licence the rest of that ecosystem uses, so nothing about your ability to keep running it depends on our goodwill. If we vanished tomorrow you would still have the code.

Questions

Does the module cost anything?

No. It is free to download and free to use, for ever, with no licence key and no per-installation fee.

Do I need an account to download it?

No. The archive is on our public downloads page with its checksum, and the source is on GitHub. You need an account only when you want to provision something.

Where does it install?

Anywhere in your own codebase. It is one file, ZinnProvisioning.php, with no dependencies: require it and create the client with your API key.

What can my clients buy through it?

Any of your hosting plans: your code names the plan when it calls plan() for the account. You set your own prices; we bill you at reseller rates.

Do my clients see your branding?

Only if you want them to. With white-label branding switched on, the control panel they log into carries your brand, your logo and your domain.

What exactly is this?

One PHP file with no dependencies that wraps our provisioning API — create, suspend, unsuspend, terminate, usage and single sign-on. Drop it in and call it.

Do I have to use PHP?

For this file, yes. Everything it does is available on our public REST API, which has published SDKs for TypeScript (@zinn-digital/sdk on npm) and Python (zinn-sdk on PyPI) if you would rather work from those.

Is it supported?

It is open source and we use the same API behind our own panels, so it does not rot quietly. Bugs go to the GitHub repository.

Start selling hosting from your own PHP application

Download the file, create an API key and provision your first site. It is free, and there is nothing to cancel if you change your mind.

Get the module