{"id":18936652,"url":"https://github.com/luracast/restler-application","last_synced_at":"2026-03-06T21:33:31.568Z","repository":{"id":29377482,"uuid":"32912334","full_name":"Luracast/Restler-Application","owner":"Luracast","description":"Application boilerplates for Restler. Each branch contains a flavor, find the one that suits you.    ","archived":false,"fork":false,"pushed_at":"2021-06-13T15:54:50.000Z","size":332,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T00:41:13.748Z","etag":null,"topics":["database-support","php","restler","restler-application"],"latest_commit_sha":null,"homepage":"https://www.luracast.com/products/restler","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Luracast.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":["https://www.paypal.com/paypalme/luracast"]}},"created_at":"2015-03-26T06:57:25.000Z","updated_at":"2023-12-04T21:22:00.000Z","dependencies_parsed_at":"2022-08-28T00:12:52.974Z","dependency_job_id":null,"html_url":"https://github.com/Luracast/Restler-Application","commit_stats":null,"previous_names":[],"tags_count":8,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luracast%2FRestler-Application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luracast%2FRestler-Application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luracast%2FRestler-Application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luracast%2FRestler-Application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luracast","download_url":"https://codeload.github.com/Luracast/Restler-Application/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249129113,"owners_count":21217289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database-support","php","restler","restler-application"],"created_at":"2024-11-08T12:08:22.231Z","updated_at":"2026-03-06T21:33:31.495Z","avatar_url":"https://github.com/Luracast.png","language":"PHP","readme":"![Restler](https://github.com/Luracast/Restler/raw/master/public/examples/resources/restler.svg)\n\nBasic Restler Application\n=========================\n\nMinimalistic api server boilerplate for [Luracast Restler](https://github.com/Luracast/Restler)\n\nRestler is an api first microframework that offers better web api by design. Every branch in this repository contains\ndifferent application templates to suit your needs.\n\nBasic App provides the bare minimum to get started with restler development\n\n\nInstallation\n------------\n\nMake sure PHP 5.5 or above (use the latest version of PHP for better performance) is available on your server\n\n[Composer](http://getcomposer.org/) is used to manage the dependencies. If you don't already have composer installed, we\nrecommend installing it globally\n\n### Install Composer\n\nInstructions to install composer globally are available\nin [getcomposer.org](https://getcomposer.org/doc/00-intro.md#system-requirements)\n\n### Install Basic Restler Application\n\nYou can run the following command on your terminal window to install the app\n\n    composer create-project restler/application=dev-basic {app_name}\n\nReplace `{app_name}` with the name of your application.\n\nIt will create a new folder and place all the needed files to get started.\n\n\u003e Alternatively, since this is a template repository, you can simply [generate](https://github.com/Luracast/Restler-Application/generate) \n\u003e your own repository from it!\n\n\nWhat's in it?\n-------------\n\nBasic is a minimalistic app templates for api development. It has a sample api class called `Home` that has the\nfollowing success message for the api root.\n\nIt is advisable to use namespace for the api classes for avoiding name conflicts, here we are using `App` as the\nnamespace\n\n```json\n{\n  \"success\": {\n    \"code\": 200,\n    \"message\": \"Restler is up and running!\"\n  }\n}\n```\n\nOn your development machine, you can run the development server by running the `composer serve` on the project root.\nThis will run the php development server at port 8000 on localhost by default. If you need to run change that you can\nedit your composer.json accordingly.\n\nThis project also comes with swagger ui for testing and documenting the api. You can access that using the following url\n\nhttp://localhost:8000/explorer\n\n\nNext Steps\n----------\n\nThere is only public api, you may want to add an auth class and add some protected api\n","funding_links":["https://www.paypal.com/paypalme/luracast"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluracast%2Frestler-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluracast%2Frestler-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluracast%2Frestler-application/lists"}