PHP Development: WHMCS Modules and APIs

We write PHP where hosting runs: WHMCS modules, Pterodactyl themes, WordPress and WooCommerce plugins, small sites without a framework and APIs that must run on any server.

The projects we write in PHP

Projects from the portfolio and the case studies, each with a short note on what this language does in it.

When we choose it, and when we do not

Where we use it

  1. 01

    Modules for billing systems

    The Flaem modules for WHMCS, HostBill, Paymenter and Blesta have PHPUnit tests. These systems load add-ons only in PHP, so it is the only way for a host to sell services from the platform.

  2. 02

    Pterodactyl themes and add-ons

    The Pterodactyl panel is built on Laravel. The WaveHost theme is a game panel in the client's colours, built on Pterodactyl's code.

  3. 03

    Small APIs with no build step

    ghapi is a GitHub statistics API in plain PHP, with no framework. Deployment is copying files, and the collector reads only the branches that moved.

  4. 04

    Sites on any hosting

    The DualFroz site has a simple router and HTML prepared on the server. The content is in the first response, and the site runs on any hosting with PHP.

  5. 05

    A store without a heavy framework

    bazaar has a catalogue, a cart, Stripe Checkout payments, customer accounts and an admin panel on its own microframework. Queries go only through PDO prepared statements, and forms have CSRF protection.

  6. 06

    Taking over an existing project

    We take over a working PHP system starting with a code review and a list of risks. It is often cheaper to fix and extend it than to rewrite it from scratch.

When we choose something else

  1. 01

    A new platform for years

    A platform meant to grow for years gets a core in Rust and a panel in TypeScript. PHP handles one request and stops, while a platform needs processes that run all the time, and queues.

  2. 02

    Live connections and voice

    Classic PHP stops after every request, so it does not hold open connections. The Plazer servers with WebSocket and voice calls are in Go.

  3. 03

    An agent on a server

    An agent on someone else's machine cannot depend on an installed PHP and its extensions. The Flaem agents are in Go, as single binaries.

  4. 04

    A panel with a console and charts

    Server HTML is enough for a simple site, but we write a panel with a live console and charts in React and TypeScript. That is how the Flaem panel and the client panels are built.

  5. 05

    A Discord bot

    A bot has to hold its connection to Discord all the time, and PHP run per request does not fit that. We write bots in Python with discord.py or in TypeScript.

  6. 06

    Long background jobs

    Creating servers and syncing take longer than one request. In WaveHost a separate process with BullMQ queues in TypeScript does it, and in Flaem services in Rust and Go.

PHP or something else

A technology has to fit the place the code will run and the team that will take it over. The final choice is made in the quote, together with you.

Situation PHP Node or Rust
A WHMCS module the only option not possible
Shared hosting runs everywhere rarely available
A new platform for years possible, not the first choice first choice
Deployment copying files building and starting a service
Open live connections needs a separate server built into the running process
A Pterodactyl theme or add-on Laravel, so PHP only the React interface
Background jobs a separate worker and scheduler the process runs all the time

The libraries these projects stand on

From the dependency files of our repositories. With each, one sentence on what we use it for.

Our changes to other people's PHP projects

41 changes in 23 projects. The maintainers of these projects reviewed our code and merged it into theirs.

  1. composer/composer 29,590 stars1 change
  2. PHPMailer/PHPMailer 22,347 stars3 changes
  3. Seldaek/monolog 21,407 stars1 change
  4. briannesbitt/Carbon 16,583 stars1 change
  5. filp/whoops 13,231 stars2 changes
  6. ramsey/uuid 12,642 stars1 change
  7. doctrine/lexer 11,141 stars1 change
  8. kanboard/kanboard 9,975 stars4 changes
  9. pterodactyl/panel 9,537 stars1 change
  10. predis/predis 7,782 stars3 changes
  11. thephpleague/csv 3,478 stars1 change
  12. composer/satis 3,307 stars4 changes

Frequently asked questions

Answers about PHP and our projects.

How much does an integration, an API or a plugin in PHP cost?
An integration or an API starts at PLN 999 (about EUR 220) and usually takes 2-3 days, a WordPress plugin at PLN 1,499 (about EUR 340), and taking over a project starts with an entry audit from PLN 799 (about EUR 179).
Will you take over an old PHP project?
Yes. We start with a code review and a list of risks, then decide what to fix and what to leave.
Do you know PHP libraries from the inside?
Yes. We have changes merged into PHP projects, including PHPMailer, Monolog, Carbon, Whoops, Composer Satis and Paymenter.

Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.