# Restler

PHP framework that exposes the public methods of PHP classes as REST API endpoints.


Source: https://findsoftware.frbit.cloud/restler/
Last reviewed: 2026-10-21
Updated: 2026-10-25
Listed since: 2026-10-21

## Record

### Links

- home: https://www.luracast.com/restler/
- repository: https://github.com/Luracast/Restler
- docs: https://github.com/Luracast/Restler/blob/6.0.3/SETUP.md

### Identity

- status: active
- maintainer: Luracast
- maintainerType: unknown
- parent: unknown
- firstRelease: unknown
- hqCountry: unknown

### Kind

- category: framework, backend
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 8.0
- basedOn: unknown

### Content

- contentStore: unknown
- databases: unknown
- adminUi: unknown
- headlessApi: unknown
- templating: unknown
- i18n: unknown

### Rendering and deploy

- runsAs: per-request, always-on
- renderingModes: unknown
- installMethod: composer require

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 6
- latestReleaseDate: 2026-08-19

### Adoption

- githubStargazers: 1386
- packagistDownloads: 588089
- npmWeeklyDownloads: not applicable
- contributors: 2
- pluginCount: unknown
- packagistMonthlyDownloads: 7748
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 52
- dependentPackages: 6

### Sources

- urls: https://www.luracast.com/restler/ (read 2026-10-21)
- urls: https://api.github.com/repos/Luracast/Restler (read 2026-10-21)
- urls: https://github.com/Luracast/Restler/blob/6.0.3/SETUP.md (read 2026-10-21)
- maintainer: https://github.com/Luracast/Restler/blob/6.0.3/composer.json (read 2026-10-21)
- category: https://www.luracast.com/restler/ (read 2026-10-21)
- language: https://api.github.com/repos/Luracast/Restler (read 2026-10-21)
- runtime: https://github.com/Luracast/Restler/blob/6.0.3/SETUP.md (read 2026-10-21)
- runtimeMin: https://github.com/Luracast/Restler/blob/6.0.3/SETUP.md (read 2026-10-21)
- installMethod: https://github.com/Luracast/Restler/blob/6.0.3/README.md (read 2026-10-21)
- runsAs: https://github.com/Luracast/Restler/blob/6.0.3/README.md (read 2026-10-21)
- runsAs: https://github.com/Luracast/Restler/blob/6.0.3/README.md (read 2026-10-21)
- license: https://github.com/Luracast/Restler/blob/6.0.3/composer.json (read 2026-10-21)
- license: https://github.com/Luracast/Restler/blob/6.0.3/README.md (read 2026-10-21)
- currentMajor: https://repo.packagist.org/p2/luracast/restler.json (read 2026-10-21)
- latestReleaseDate: https://api.github.com/repos/Luracast/Restler/releases/tags/6.0.3 (read 2026-10-21)
- githubStargazers: https://api.github.com/repos/Luracast/Restler (read 2026-10-21)
- contributors: https://api.github.com/repos/Luracast/Restler/contributors?anon=true (read 2026-10-21)
- packagistDownloads: https://packagist.org/packages/luracast/restler.json (read 2026-10-21)
- packagistDownloads: https://packagist.org/packages/luracast/restler.json (read 2026-10-21)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/luracast%2Frestler (read 2026-10-25)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/luracast%2Frestler (read 2026-10-25)
- packagistMonthlyDownloads: https://packagist.org/packages/luracast/restler/stats.json (read 2026-10-25)

## Notes

Restler is a PHP framework for building REST API servers. Developers write ordinary PHP classes, and the public methods of those classes become URLs. Luracast maintains the project.

With a traditional web server, PHP-FPM starts Restler for each request, as the [README's production deployment section](https://github.com/Luracast/Restler/blob/6.0.3/README.md) describes. The README also describes a second option: a persistent server process under the Swoole or OpenSwoole extension, which keeps connections open and includes its own HTTP server.

## Worth knowing

The Swoole and OpenSwoole mode is a long-running process, so it needs a host that keeps a process running.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
