PHPackages                             shipsaas/docking - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. shipsaas/docking

ActiveProject[PDF &amp; Document Generation](/categories/documents)

shipsaas/docking
================

DocKing: Your shared-microservice that takes over the document templates management &amp; render/export PDF

1.4.1(2y ago)274424[4 issues](https://github.com/shipsaas/docking/issues)MITPHPPHP ^8.2

Since May 8Pushed 1y ago4 watchersCompare

[ Source](https://github.com/shipsaas/docking)[ Packagist](https://packagist.org/packages/shipsaas/docking)[ RSS](/packages/shipsaas-docking/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (19)Versions (12)Used By (0)

DocKing from ShipSaaS
=====================

[](#docking-from-shipsaas)

Introducing RenderPDF.io - Render your PDF in seconds
-----------------------------------------------------

[](#introducing-renderpdfio---render-your-pdf-in-seconds)

[![RenderPDF.io](./.github/render-pdf-io.png)](./.github/render-pdf-io.png)

[RenderPDF.io](https://renderpdf.io) is a Render-PDF-as-a-Service that provides developer-friendly APIs to render your HTML content to modern PDFs files in seconds 😎.

All you have to do is get your API Key and send RenderPDF.io an API call 🚀, no infrastructure setup, no overhead and hassle-free integration 🔋.

Get your free API Key today: [Sign Up to RenderPDF.io](https://renderpdf.io)

Introducing DocKing
-------------------

[](#introducing-docking)

[![Build & Test (PHP 8.2)](https://github.com/shipsaas/docking/actions/workflows/build.yml/badge.svg)](https://github.com/shipsaas/docking/actions/workflows/build.yml)[![Integration Tests](https://github.com/shipsaas/docking/actions/workflows/integration.yml/badge.svg)](https://github.com/shipsaas/docking/actions/workflows/integration.yml)[![E2E Tests](https://github.com/shipsaas/docking/actions/workflows/e2e.yml/badge.svg)](https://github.com/shipsaas/docking/actions/workflows/e2e.yml)[![codecov](https://camo.githubusercontent.com/76d103909ecd3ee769850abb9ea5ab1f4150a559c21506446c1ca1eae2583bdf/68747470733a2f2f636f6465636f762e696f2f67682f73686970736161732f646f636b696e672f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d46415a39383939495057)](https://codecov.io/gh/shipsaas/docking)

 [![](https://raw.githubusercontent.com/shipsaas/docking/main/docs/img/logo.png)](https://raw.githubusercontent.com/shipsaas/docking/main/docs/img/logo.png)

DocKing is a document management service/microservice that handles templates and renders them in PDF format, all in one place.

You can utilize DocKing as a shared microservice, which can be integrated &amp; used in any service from your big product.

Documentation: [DocKing](https://docking.shipsaas.tech)

DocKing is well-tested &amp; production-ready 😉🏎️🚀

LIVE DEMO 🔥
-----------

[](#live-demo-)

URL:

Console:

- Password: None
- Drivers:
    - Gotenberg: Yes, use the Live Demo Instance (from Gotenberg.dev)
    - WkHtmlToPdf: Yes, without any extensions or fonts.
    - mPDF: Yes, without any extensions or fonts.
- Most of the features are disabled. You can only view &amp; preview PDFs in multiple drivers.

Features 🚀
----------

[](#features-)

- Manage all of your document templates just in one place 📰🧾.
- Dynamically render &amp; export PDF from your desired data 🏃‍.
- Supports multiple state-of-the-art PDF Engines 🍻.
- Supports sync &amp; async PDF rendering modes 🔥.
- Webhook notification after PDF rendered (for async flow) 🚀
- Built-in UI-console to manage &amp; review the templates &amp; files (for internal use) 🔋.
- Horizontal scaling when traffic goes high? DocKing got that 😉.

Check out our planned features here: [The DocKing Project](https://github.com/orgs/shipsaas/projects/1)

Diagram of how it works
-----------------------

[](#diagram-of-how-it-works)

[![DocKing](./docs/img/full-picture.png)](./docs/img/full-picture.png)

From the diagram above, DocKing is standing as a "shared-microservice".

- Billing Service can manage their bill templates and render the PDFs.
- Order Service can manage their order templates and render the PDFs.
- Contract Service can manage their contract templates and render the PDFs.
- ...

Awesome, IKR?

The Awesome Console UI
----------------------

[](#the-awesome-console-ui)

DocKing ships the Built-in Console with awesome editor &amp; features. Help you and the team to collaborate and manage everything easily.

[![DocKing's Console UI](https://camo.githubusercontent.com/b183380a4150132cc70a13a792fefb83fc1c4f6bfc18d7a03ce9fd8c3a0d8f43/68747470733a2f2f69696c692e696f2f48345144454a652e706e67)](https://camo.githubusercontent.com/b183380a4150132cc70a13a792fefb83fc1c4f6bfc18d7a03ce9fd8c3a0d8f43/68747470733a2f2f69696c692e696f2f48345144454a652e706e67)

Learn more: [DocKing's Console UI](https://docking.shipsaas.tech/getting-started/console-ui)

DocKing uses
------------

[](#docking-uses)

- PHP 8.2
- Laravel 10
- Any database (MySQL, PostgreSQL or SQLite - your choice)
    - Personal preference: MySQL 8
- Vue 3
- Tailwind CSS

### PDF Rendering Services

[](#pdf-rendering-services)

- Gotenberg ⭐️
- wkHTMLtoPDF ✅
- mPDF 🧰 (available since v1.1.0)

Tests
-----

[](#tests)

- Unit Tests to cover all functions &amp; methods ❇️
- Integration Tests to test against REAL PDF ENGINES:
    - Gotenberg ✅
    - WkHtmlToPdf ✅
    - mPDF ✅
- E2E Tests to validate REAL WORLD API CALLs &amp; Rendering Async Flow

LICENSE
-------

[](#license)

MIT LICENSE

Development &amp; Contribution Guidelines
-----------------------------------------

[](#development--contribution-guidelines)

- Please follow PSR-1 &amp; PSR-12 coding conventions
- Unit/Integration testing is a must

Thank you very much for your contributions!

Contributors
------------

[](#contributors)

ShipSaaS x Seth Phat &amp; Contributors.

Copyright
---------

[](#copyright)

Copyright ©️ 2023 by ShipSaaS x Seth Phat.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 99.4% 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 ~19 days

Recently: every ~34 days

Total

10

Last Release

926d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ac3f098d85bb371388a3ad370678da627a3cbc53c3b107f4fd6bf46f1ce583e3?d=identicon)[sethsandaru](/maintainers/sethsandaru)

---

Top Contributors

[![sethsandaru](https://avatars.githubusercontent.com/u/23478115?v=4)](https://github.com/sethsandaru "sethsandaru (164 commits)")[![howardshand](https://avatars.githubusercontent.com/u/1664898?v=4)](https://github.com/howardshand "howardshand (1 commits)")

---

Tags

documentdocument-templateslaravelmicroservicepdfpdf-generationpdf-renderpdf-rendererphpphplaravelMicroserviceDocKing microservicemicroservice generate pdfmicroservice document templates managementphp microservicephp pdf rendererphp pdf renderingphp pdf render

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/shipsaas-docking/health.svg)

```
[![Health](https://phpackages.com/badges/shipsaas-docking/health.svg)](https://phpackages.com/packages/shipsaas-docking)
```

###  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)

PHPackages © 2026

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