FindSoftware

Restler

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

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 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.

Identity

Status
Active
Maintainer
Luracast4

Rendering and deploy

Runs as
Per request, Always on5
Install with
composer require5

Releases

Current major version
66
Last release
2026-08-197

Adoption

GitHub stars
1,3862
Packagist downloads
588,0899
Contributors
28
Packagist downloads a month
7,74811
Dependent repositories
5210
Dependent packages
610

Why these figures do not compare

Sources

  1. 2026-10-21: links, Categories
    www.luracast.com/restler/
  2. 2026-10-21: links, Written in, GitHub stars
    api.github.com/repos/Luracast/Restler
  3. 2026-10-21: links, Runtime, Minimum runtime
    github.com/Luracast/Restler/blob/6.0.3/SETUP.md
  4. 2026-10-21: Maintainer, License
    github.com/Luracast/Restler/blob/6.0.3/composer.json
  5. 2026-10-21: Install with, Runs as, License
    github.com/Luracast/Restler/blob/6.0.3/README.md
  6. 2026-10-21: Current major version
    repo.packagist.org/p2/luracast/restler.json
  7. 2026-10-21: Last release
    api.github.com/repos/Luracast/Restler/releases/tags/6.0.3
  8. 2026-10-21: Contributors
    api.github.com/repos/Luracast/Restler/contributors?anon=true
  9. 2026-10-21: Packagist downloads
    packagist.org/packages/luracast/restler.json
  10. 2026-10-25: Dependent repositories, Dependent packages
    packages.ecosyste.ms/api/v1/registries/packagist.org/packages/luracast%2Frestler
  11. 2026-10-25: Packagist downloads a month
    packagist.org/packages/luracast/restler/stats.json

Last reviewed · Updated · Listed since Edit on GitHubThis page as markdownas JSON