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.
-
Flaem: billing modules WHMCS, HostBill, Paymenter and Blesta modules with tests.See the project -
bazaar A store on its own microframework, with an admin panel.See the project
-
ghapi A GitHub statistics API in plain PHP 8.2.See the project -
DualFroz: site A router with server-prepared HTML.See the project
When we choose it, and when we do not
Where we use it
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
-
PHP 8.2 without a frameworkthe stats API and the personal site -
LaravelPterodactyl and its themes -
PHPUnitbilling module tests -
sodium and opensslcryptography from the standard library
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.
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.