PHPackages                             restler/application - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. restler/application

ActiveLibrary[API Development](/categories/api)

restler/application
===================

Application boiler-plate for Luracast Restler, an api first micro framework

12305PHP

Since May 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Luracast/Restler-Application)[ Packagist](https://packagist.org/packages/restler/application)[ RSS](/packages/restler-application/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

[![Restler](https://github.com/Luracast/Restler/raw/master/public/examples/resources/restler.svg)](https://github.com/Luracast/Restler/raw/master/public/examples/resources/restler.svg)

Basic Restler Application
=========================

[](#basic-restler-application)

Minimalistic api server boilerplate for [Luracast Restler](https://github.com/Luracast/Restler)

Restler is an api first microframework that offers better web api by design. Every branch in this repository contains different application templates to suit your needs.

Basic App provides the bare minimum to get started with restler development

Installation
------------

[](#installation)

Make sure PHP 5.5 or above (use the latest version of PHP for better performance) is available on your server

[Composer](http://getcomposer.org/) is used to manage the dependencies. If you don't already have composer installed, we recommend installing it globally

### Install Composer

[](#install-composer)

Instructions to install composer globally are available in [getcomposer.org](https://getcomposer.org/doc/00-intro.md#system-requirements)

### Install Basic Restler Application

[](#install-basic-restler-application)

You can run the following command on your terminal window to install the app

```
composer create-project restler/application=dev-basic {app_name}

```

Replace `{app_name}` with the name of your application.

It will create a new folder and place all the needed files to get started.

> Alternatively, since this is a template repository, you can simply [generate](https://github.com/Luracast/Restler-Application/generate)your own repository from it!

What's in it?
-------------

[](#whats-in-it)

Basic is a minimalistic app templates for api development. It has a sample api class called `Home` that has the following success message for the api root.

It is advisable to use namespace for the api classes for avoiding name conflicts, here we are using `App` as the namespace

```
{
  "success": {
    "code": 200,
    "message": "Restler is up and running!"
  }
}
```

On your development machine, you can run the development server by running the `composer serve` on the project root. This will run the php development server at port 8000 on localhost by default. If you need to run change that you can edit your composer.json accordingly.

This project also comes with swagger ui for testing and documenting the api. You can access that using the following url

Next Steps
----------

[](#next-steps)

There is only public api, you may want to add an auth class and add some protected api

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/37124632bba55e8e9ae652c5d9fccf4779059a7693a8cce0eaee854b281c351c?d=identicon)[Arul](/maintainers/Arul)

---

Top Contributors

[![Arul-](https://avatars.githubusercontent.com/u/2255137?v=4)](https://github.com/Arul- "Arul- (12 commits)")

---

Tags

database-supportphprestlerrestler-application

### Embed Badge

![Health badge](/badges/restler-application/health.svg)

```
[![Health](https://phpackages.com/badges/restler-application/health.svg)](https://phpackages.com/packages/restler-application)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
