Developers
Less config.More creation.
Give your next side project a real home. Connect your repository and get back to the part you love: building.
- Framework detection
- Git deployments
- Live build logs
Run your PHP apps on HCode, managed app hosting from HostAfrica. Laravel, Symfony or Slim, built from your composer.json, with a PostgreSQL database and no server to look after.
Billed monthly. Cancel anytime.
HCode detects PHP projects from their composer.json and builds them for you. Run the rest beside them: Redis, a Node.js front end, a Go service or your own Dockerfile.
Read the docsStart small. Make something that matters. Grow from there.
| SoloSmall beginnings. Big possibilities. | DeveloperMore room for your next release. | ProA home for your production apps. | TeamYour whole team. One platform. | Enterprise | |
|---|---|---|---|---|---|
R50/mo Billed monthly R45.83/mo R550 billed yearly Save 8% | R200/mo Billed monthly R183.33/mo R2,200 billed yearly Save 8% | R499/mo Billed monthly R458.25/mo R5,499 billed yearly Save 8% | R999/mo Billed monthly R916.58/mo R10,999 billed yearly Save 8% | Custom | |
| Talk to sales | |||||
| Projects | 3 | 5 | 10 | 20 | Custom |
| DatabasesPostgreSQL or Redis | 1 | 3 | 5 | 20 | Custom |
| Compute | |||||
| RAM | 1 GB | 4 GB | 8 GB | 16 GB | Custom |
| Storage | 10 GB | 20 GB | 40 GB | 80 GB | Custom |
| Usage and features | |||||
| Backup retentiondaily backups | 3 days | 7 days | 30 days | 60 days | Custom |
| Enterprise | |||||
| Single sign-onSAML / OIDC | Not included | Not included | Not included | Not included | Included |
| Invoiced billingannual contract | Not included | Not included | Not included | Not included | Included |
Every plan includes
All prices in ZAR. Annual figures show the monthly equivalent, billed yearly.
Connect a GitHub repository or upload a .zip. HCode finds your composer.json, installs the dependencies, builds the app and serves it with SSL, so you write features instead of configuring servers.
Create a project
Deploy to My Organization
Import from GitHub
Create a project
Deploy to My Organization
Build
Create a project
Deploy to My Organization
your-next-big-idea
LiveA PHP app on a server you run means updates, configuration and a backup routine you hope works. On HCode you push your Composer project and HostAfrica runs the rest.
Push a project with a composer.json and HCode detects PHP, installs the dependencies and builds it. There is no server to set up before your first deploy.
Web apps and APIs in the framework you already use, from a full Laravel or Symfony app to a small Slim API.
Every HCode plan includes managed PostgreSQL, backed up every day. Eloquent and Doctrine both support it, so you connect with one connection string.
Need a particular extension or a custom setup? Add a Dockerfile to your repository and HCode builds that instead.
Set your app keys, database credentials and API keys as environment variables in the panel. They are stored encrypted and never land in your repository.
Every push builds a fresh release and deploys it without downtime. A failed build never replaces the live app, and the last good deploy is one click away.
Managed PostgreSQL and Redis, custom domains with SSL, daily backups and rollbacks come with every HCode plan, so you deploy a PHP app, not a server stack.
Managed PostgreSQL and Redis alongside your app, on its own private network. Keep your data close and your setup simple.
Your own domain with automated SSL, encrypted secrets and built-in backups. The essentials come with you.
A new release goes live without downtime, and one that fails its checks never replaces the app that is running. Need the last one back? Roll back in a click.
Side projects, SaaS products and client work all deploy the same way on HCode. Here is what that looks like for you.
Developers
Give your next side project a real home. Connect your repository and get back to the part you love: building.
SaaS teams
Keep your app, its database and its background workers together, with the building blocks your product needs as it grows.
Agencies
A modern workflow for every client. Every project gets a free subdomain the moment it deploys; add the client’s own domain when they are ready, give each teammate the right role, and bill predictably in Rands.
Tell us what you are building and we will help you choose.
Chances are you have shipped on Vercel, Netlify, Railway or Render, or your AI builder does it for you. All good tools. Here is what changes when your app and its database live in South Africa.
| code. | Vercel | Netlify | Railway | Render | |
|---|---|---|---|---|---|
| App runs in South Africa | Yes: Yes, by default | Cape Town on request; defaults to Washington, D.C. | No African region | US, Netherlands, Singapore | US, Germany, Singapore |
| Database beside the app | Yes: Managed PostgreSQL, same place | Through a marketplace partner | Through a partner-backed database | Managed PostgreSQL, same region | Managed PostgreSQL, same region |
| Billed in | Yes: Rands | US dollars | US dollars | US dollars | US dollars |
| Where you start | Yes: From R50/mo, always on | Free Hobby plan, personal and non-commercial use only | Free plan with a credit cap | A one-off trial credit, then a paid plan | Free instances sleep after 15 minutes idle |
| Push from GitHub, custom domain, SSL | Yes: Yes | Yes | Yes | Yes | Yes |
| Support | Yes: A South African team, in your time zone | Global | Global | Global | Global |
HCode detects a PHP project from its composer.json file and builds it, so apps built on Laravel, Symfony, Slim or plain Composer deploy from their repository. Laravel apps are detected as Laravel, and our Laravel hosting page covers them. A project without a composer.json is not detected as PHP: add one, or bring your own Dockerfile.
Yes, in your composer.json. HCode takes the PHP version from the php entry in its require section, so the build runs the version your app declares. For a setup beyond that, add a Dockerfile and HCode builds that instead.
Yes. Managed PostgreSQL comes with every HCode plan and is backed up every day, and Redis is available beside it. The plan table on this page shows how many databases each plan includes.
There is no managed MySQL on HCode: the managed databases are PostgreSQL and Redis. Your app can still connect to an external MySQL server, with its connection details set as environment variables. Laravel, Symfony and most PHP libraries also support PostgreSQL, so many apps switch by changing the connection settings. If you want MySQL hosted for you, HostAfrica web hosting is the better fit.
No. HCode does not offer WordPress sites. For WordPress, use HostAfrica web hosting, which installs WordPress in one click.
No. HCode is managed hosting. HostAfrica runs the servers and the PostgreSQL database; you push your code and manage the app from the HCode panel.
HostAfrica support is available 24/7, and live chat is open during business hours. The HCode docs cover the platform step by step.
Pick a plan on this page and order it in the HostAfrica panel, then connect your repository. Not sure which plan fits? Talk to our team and we will help you choose.