PHP

on your own machine

Runs a PHP website or app, such as a Laravel site or a bot, from your files or a Git repository. Websites are served by FrankenPHP; Composer packages are installed when composer.json changes. PHP settings go in .ini files in the php.d folder.

$12 a month per machine, with as many servers as it can run. Already on Raptor? It's in your team's Eggs, as generic/php.

What Raptor does for it

Backups
Incremental and encrypted on your machine, every day by default. Restore one file or the whole server.
Runs on
x86 and ARM machines, on 3 runtimes you can pick from: PHP 8.5, PHP 8.4, and PHP 8.3.
Every server
A live console, a file manager with a trash, schedules, crash restarts, alerts, and SFTP. It keeps running if Raptor goes down.

Settings you can change

From the server's Startup tab, without touching a file.

App type
website serves the web root on the server's port, sending paths that aren't files to its index.php; script runs the main file, such as a bot or a worker.Default website
Web root
The folder the website is served from, such as public or web; its index.php handles requests.Default public
Main file
The file a script app starts with, such as bot.php or bin/worker.php.Default bot.php
Git repository
An https link to the app's repository, cloned when the server is installed. Leave it empty to upload the files yourself.
Git branch
The branch to clone. Empty uses the repository's default branch.
Git username
Your username on the Git host, for a private repository.
Git access token
An access token that can read the private repository.
Pull updates at start
Pull the repository's latest changes every time the server starts.
Arguments
Arguments passed to a script app.

From a bare machine

  1. Link your machine

    One command on any Debian or Ubuntu box, at home or rented.

  2. Pick PHP

    Raptor installs it and starts it, on images it keeps updated.

  3. Open it

    At an address your machine comes with, or your own domain.

Made by Raptor and MIT-licensed. Written for Raptor, following its Node.js and Python eggs; websites are served by FrankenPHP (https://frankenphp.dev, MIT) Icon: the PHP logo, the https://github.com/php avatar (The PHP Group), centred on a square. The egg's source.

More runtimes

All 14 runtimes