PHP logo

PHP 8.5 with Composer and a built-in server

Host Laravel, Symfony, or your PHP script. Composer dependencies are installed before start, and JIT can be turned on in php.ini.

From R$12.49/mo

What comes ready

The environment already knows your language: you upload the code and it runs.

  • Optional JIT via php.ini

    Turn it on when your app does heavy CPU work: you decide whether the trade-off pays off.

  • Built-in HTTP server

    Serves small and medium apps without setting up Nginx or PHP-FPM.

  • Automatic Composer

    Detects composer.json and installs dependencies with an optimized autoloader.

  • Laravel, Symfony, Slim, and more

    The main PHP frameworks run with no special adaptation.

What you can host

Projects that run on this runtime.

  • Laravel applications

    Apps with Eloquent, Sanctum, Livewire, and Filament, from the admin panel to the API.

  • Symfony projects

    Structured, modular backends with Doctrine, Twig, and API Platform.

  • REST APIs with Slim

    Lean PHP microservices for integrations and simple endpoints.

  • Admin panels and custom CMS

    Dashboards, internal ERPs, and portals with authentication and role-based access control.

  • Webhooks and payments

    Receive webhooks from Mercado Pago, Stripe, and PagSeguro and confirm Pix payments on your own endpoint.

  • Headless WordPress and WooCommerce

    WordPress as a headless CMS, WooCommerce stores, and custom plugins served by your PHP app.

Configuration and versions

The dashboard generates squarecloud.app at deploy, or you write your own at the project root: name, main file, memory and version in one place.

squarecloud.app
DISPLAY_NAME=PHP
MAIN=index.php
MEMORY=512
VERSION=recommended
Versions
8.5
Accepted files
.php
Dependencies
composer.json
RUNTIME= values
php

Combine with other services

Everything in the same dashboard, on the same infrastructure and the same invoice.

A plan for every stage of your project

Start small and scale when you need to, with no loyalty contracts.

4.9 out of 5 · 402 reviews on Google + TrustpilotTrustpilot

Hosted in a partner datacenter with certifications
Tier 3ISO 27001SOC 2 Type IIAlways-On DDoS Protection
Explore our infrastructure

Frequently asked questions about PHP Hosting

PHP 8.5, Composer, Laravel, and built-in server.

How do I host a Laravel app?

Upload the whole project and set START=php artisan serve --host=0.0.0.0 --port=$PORT in squarecloud.app. Composer installs automatically.

Is PHP JIT enabled?

By default, no. You enable it via php.ini by setting opcache.enable=1, opcache.jit_buffer_size, and opcache.jit for your workload. JIT speeds up CPU-intensive apps but can hurt typical web apps (Laravel, WordPress) with warm-up overhead and higher memory use, so the decision is yours.

Do I need to configure Nginx or PHP-FPM?

No. By default PHP's built-in HTTP server is used, which suits small and medium apps. For more concurrency, Swoole is also supported: set START=php artisan octane:start --server=swoole --host=0.0.0.0 --port=$PORT (Laravel Octane) or run a Swoole runner directly, with coroutines, persistent DB connections, and WebSockets without PHP-FPM.

Which exact PHP version runs?

PHP 8.5, with property hooks, asymmetric visibility, and performance improvements from the latest major.

Ready to scale your project?

Join the 500,000+ developers who have used Square Cloud to host their projects.

  • Predictable pricing
  • No billing surprises
  • Deploy in seconds
  • High availability
  • Scale with stability
  • Automatic restart
  • SSL and security included
  • Isolated containers