PHPackages                             daycry/restful - 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. daycry/restful

ActiveLibrary[API Development](/categories/api)

daycry/restful
==============

Rest Server for Codeigniter 4

v2.0.13(2y ago)4678MITPHPPHP &gt;=7.4 || ^8.0

Since Apr 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/daycry/restful)[ Packagist](https://packagist.org/packages/daycry/restful)[ Docs](https://github.com/daycry/restful)[ RSS](/packages/daycry-restful/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (36)Used By (0)

[![Donate](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.com/donate?business=SYC5XDT23UZ5G&no_recurring=0&item_name=Thank+you%21&currency_code=EUR)

Restful
=======

[](#restful)

Restful server for Codeigniter 4

[![Build Status](https://github.com/daycry/restful/actions/workflows/php.yml/badge.svg?branch=master)](https://github.com/daycry/restful/actions/workflows/php.yml)[![Coverage Status](https://camo.githubusercontent.com/5179f2f2ea6fe7c0cf22e432181ff95228f14c2bbfb8e2a0d3e725b0375fe337/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6461796372792f7265737466756c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/daycry/restful?branch=master)[![Downloads](https://camo.githubusercontent.com/16792174cb8df9f450862f6edcc039bbbcf9182ce5d79b19314a1f73f794a1a8/68747470733a2f2f706f7365722e707567782e6f72672f6461796372792f7265737466756c2f646f776e6c6f616473)](https://packagist.org/packages/daycry/restful)[![GitHub release (latest by date)](https://camo.githubusercontent.com/1849a661cb574670ba719f0f24f0675a5e06ac31c943496373f931cc86324bf6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6461796372792f7265737466756c)](https://packagist.org/packages/daycry/restful)[![GitHub stars](https://camo.githubusercontent.com/f520e1630d402ead784bd884f8601b2f268c5b649f40b4a90b125a2a559721f5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6461796372792f7265737466756c)](https://packagist.org/packages/daycry/restful)[![GitHub license](https://camo.githubusercontent.com/8578d5c4409fb7faa4996ad1630b3515de216b101d6017fa54e29693708ef728/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6461796372792f7265737466756c)](https://github.com/daycry/restful/blob/master/LICENSE)

Installation via composer
-------------------------

[](#installation-via-composer)

Use the package with composer install

```
> composer require daycry/restful

```

Configuration
-------------

[](#configuration)

Run command:

```
> php spark restful:publish
> php spark settings:publish
> php spark cronjob:publish
> php spark jwt:publish

```

This command will copy a config file to your app namespace. Then you can adjust it to your needs. By default file will be present in `app/Config/`.

```
> php spark migrate -all

```

This command create restful tables in your database.

Usage
-----

[](#usage)

```
