Flares Developer Docs

Functions overview

Deploy PHP, get an HTTPS endpoint, pay per request.

Backend code, without a server

A Flares Function is a PHP file that receives a request and returns a response. You deploy it; Flares gives it an HTTPS endpoint, runs it in an isolated runtime, records every invocation, and bills you per request.

https://cloud.flaresinc.com/run/{project}/{function}
Functions in a project: what is deployed and how much traffic it takes.
Functions in a project: what is deployed and how much traffic it takes.

What it is not

Not shared hosting, not cPanel, not FTP, not a public_html. There is no long-running web server of yours, no filesystem that persists between requests, and no way to serve a whole site. It is: backend code → deployment → isolated runtime → HTTP endpoint.

Independent of the other services

Functions work with Basket DB disabled and with Auth disabled. Turn them on and they integrate — verified users in your handler, your project's database from your code — but nothing is coupled by force.

Billing, in one line

One dispatched invocation is one billable request. Not CPU seconds, not GB-seconds, not duration, not memory. The exact rules, with worked examples →

Where to start

Quickstart → · The runtime and handler contract →

Open your projects ↗