NEW
New: Deploy your application in minutes with Shard AI

Deploy your PHP application with Composer.

Bring a Laravel, Symfony, Slim, WordPress, or custom PHP project from GitHub or ZIP/RAR. Shard Cloud installs Composer dependencies when composer.json is present.

From PHP source files to a running application

PHP

select the PHP version in the live runtime catalog

Composer

Composer dependencies installed on deployment

/app

10 GB disk; files persist across restarts

Live

application logs and resource metrics

PHP workload examples

From framework projects to sites and processes.

Deploy the PHP project and entry point your application requires, then use logs and metrics to verify it in production.

Explore capabilities

Laravel, Symfony and Slim projects

Deploy a PHP project with its application files, composer.json, and the entry point or custom command its framework requires.

PHP websites and CMS projects

Host PHP sites from their entry point and validate the file layout, database setup, and deployment behavior before launch.

Custom PHP processes

Use a custom start command for the long-running process your project needs, then follow its output through application logs.

Built to operate

PHP hosting with declared dependencies and observability.

Deploy your PHP project and use persistent storage, domains, logs, metrics, and restart support to operate it.

Composer dependency installation

When composer.json is present, Shard Cloud installs Composer dependencies during deployment.

Choose a PHP runtime version

Select a supported PHP version from the live runtime catalog when creating the application.

Persistent application files

Each application has a 10 GB persistent disk at /app for files that need to survive a restart.

Publish an HTTPS address

Every web application receives a free HTTPS address under *.shardweb.app. Connect your own domain with the Core plan or higher.

Logs and resource metrics

Use application logs plus memory and CPU metrics to inspect startup and runtime behavior.

Automatic restart

Application processes restart automatically; use dashboard logs to investigate a process that stops.

Deployment setup

How to deploy a PHP application on Shard Cloud.

Prepare the PHP project, choose its runtime and entry point or custom command, then verify the running application.

Get started
01
Prepare the project
Include index.php, or your main PHP file, and .shardcloud. Add composer.json if you use packages.
02
Configure the deployment
Composer installs dependencies automatically when composer.json is present.
03
Verify the application
Open the address, test a route, and review the logs.

From connection to the first decision, in one flow.

Frequently asked questions

Frequently asked questions about PHP hosting

Shard Cloud serves PHP applications with its built-in web server.

Yes. Shard Cloud installs dependencies from composer.json during deployment.

Set VERSION=LATEST for the newest supported PHP release, or VERSION=recommended for the platform's recommended release. Choose the setting compatible with your application.

Configure the PHP process required by your deployment with a custom start command.

Yes. Configure your application's connection values with environment variables and use a managed database for PostgreSQL, MySQL, MongoDB, or Redis.

Every app needs at least 256 MB. Use 512 MB or more for a public website or API, then increase it based on observed usage.

Your server must listen on port 80.

Ready to move forward

Deploy your PHP project.

Bring the PHP project, entry point, dependency manifest, and environment configuration it needs.

Guided setup with no commitment

Entry point and dependencies ready
Confirm the PHP entry file, composer.json, and deployment configuration before upload.

Environment configuration ready
Add connection strings, tokens, and settings without putting secrets in source code.

Deploy your PHP project
Connect GitHub or upload a ZIP/RAR, select PHP, and start the process your project requires.

A plan for every stage of your project

Rated 4.9/5 on TrustpilotTrusted by 50,000+ developers

Basic plan

Perfect for freelancers or individuals who need to host applications and bots.

$1.52/mo
1-2GB RAM
1-2 vCPU
4-8 projects
5-10GB CDN

Core plan

For small teams and startups that need infrastructure for multiple projects.

$4.15/mo
4-8GB RAM
4-5 vCPU
16-32 projects
35-100GB CDN
Connect your own custom domain

Pro plan

Built for scaling companies with high project volume and advanced support.

$11.75/mo
12-24GB RAM
6-10 vCPU
48-96 projects
150-250GB CDN
Load balancers
Automatic backups