PHPackages                             php-resta/resta-core - 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. [Framework](/categories/framework)
4. /
5. php-resta/resta-core

ActiveLibrary[Framework](/categories/framework)

php-resta/resta-core
====================

resta php api restfull framework

v1.0.0(7y ago)22.7k1MITPHPCI failing

Since Apr 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/php-resta/resta-core)[ Packagist](https://packagist.org/packages/php-resta/resta-core)[ Docs](https://github.com/php-resta/resta-core)[ RSS](/packages/php-resta-resta-core/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (34)Versions (4)Used By (0)

[![Build Status](https://camo.githubusercontent.com/fff45aaff18766cfda8b256fef8171f26c83f397846b7a8966c1437c1c687966/68747470733a2f2f7472617669732d63692e636f6d2f72657374617069782f636f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/restapix/core)[![Total Downloads](https://camo.githubusercontent.com/26099f52748ed55e355de6f8a0426772a2280a6df53fb416073456dbf3653a78/68747470733a2f2f706f7365722e707567782e6f72672f7068702d72657374612f72657374612d636f72652f646f776e6c6f616473)](https://packagist.org/packages/php-resta/resta-core)[![License](https://camo.githubusercontent.com/126be36ef48b79e6c8037888e1c92458bee7a4e983d0bebd0aef09f463cb71a6/68747470733a2f2f706f7365722e707567782e6f72672f7068702d72657374612f72657374612d636f72652f6c6963656e7365)](https://packagist.org/packages/php-resta/resta-core)[![Latest Unstable Version](https://camo.githubusercontent.com/1e8c2a73472ed28ba44fa33ef448b8813417556a494438fcebde24074fe90fd0/68747470733a2f2f706f7365722e707567782e6f72672f72657374617069782f72657374612f762f756e737461626c65)](//packagist.org/packages/restapix/resta)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/04a6ea66b4dfd8bb18a9449d9958f1eacf486298fa4a5ec8e8d7f5195b94a9d1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068702d72657374612f72657374612d636f72652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/php-resta/resta-core/?branch=master)

Resta - A Great Php Api Designer
================================

[](#resta---a-great-php-api-designer)

> **Note:** The repository contains core of the resta. The resta core is a fully open source and will be continuously developed. So that we will work with the help of your pull requests to make the core more stable.

Code of Conduct
---------------

[](#code-of-conduct)

Please review [Code of Conduct](CODE_OF_CONDUCT.md). The resta core we will work together as much as we can to bring it to a better structure. the resta is very nice and very comfortable to write a better api code. We are pleased to present this to the community.

How to work the resta core?
---------------------------

[](#how-to-work-the-resta-core)

> **Note:** The resta core works in complete harmony by means of the skeleton repository. If you want,you can create your api structure with keep track of the core application box.

Resta core consists of a stable box. This box is defined as [Application Box](src/resta/Foundation/Application.php). This class works with the same determination all over the place.The application box is in the role of igniter for running a set of kernel classes. The skeleton repository integrates this magical box perfectly into itself and forms the resta structure.

> For example, you can write as follows.

```
require_once '../vendor/autoload.php';
use Resta\Foundation\Application

$app = new Application(true);
```

As you can see above, the application object will return itself in a super-fast way without error. One issue you should be aware of is that the resta kernel is directly dependent on the composer.json file.  Therefore, you must install its dependencies via composer before using the application object.

> Now let's make a small example to show what can be done with this magic box. In this example,lets install an array as a configuration,then let's read these values.

```
require_once '../vendor/autoload.php';
use Resta\Foundation\Application

$app = new Application(true);

//set array values via loadConfig method
$app->loadConfig(function()
{
    return ['test' => ['value1' => 'foo','value2'=>['nested1' => 'nestedValue1']]];
});

//let's read these values via config helper method
config('test.value1);
config('test.value2.nested1');
```

How to learn resta?
-------------------

[](#how-to-learn-resta)

The resta has a perfectly written [Documentation](README.md).If you have a php framework habit depending on your quick learning ability. Do not worry. You will be able to learn very easily the resta and use it with peace of mind.

Resta includes the following components.
----------------------------------------

[](#resta-includes-the-following-components)

- [Symfony Http Foundation](https://github.com/symfony/http-foundation)
- [Symfony File System](https://github.com/symfony/filesystem)
- [Symfony Cache](https://github.com/symfony/cache)
- [Nesbot Carbon](https://github.com/briannesbitt/Carbon)
- [Laravel Eloquent](https://github.com/illuminate/database)

and the resta provides support from many powerful components.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within Resta, please send an e-mail to Ali Gürbüz via . All security vulnerabilities will be promptly addressed.

License
-------

[](#license)

The resta api designer is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 95.4% 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.

###  Release Activity

Cadence

Every ~350 days

Total

3

Last Release

1883d ago

Major Versions

v1.0.0 → v2.x-dev2020-10-18

v2.x-dev → v3.x-dev2021-03-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a9e5838797a70c387d53748cb246e56a025ea256d636758d55df962e017fb8c?d=identicon)[restapix](/maintainers/restapix)

---

Top Contributors

[![aligurbuz](https://avatars.githubusercontent.com/u/8428572?v=4)](https://github.com/aligurbuz "aligurbuz (1343 commits)")[![softingDelProcess](https://avatars.githubusercontent.com/u/59644767?v=4)](https://github.com/softingDelProcess "softingDelProcess (62 commits)")[![restapix](https://avatars.githubusercontent.com/u/33432245?v=4)](https://github.com/restapix "restapix (3 commits)")

---

Tags

phprestapirestfull

### Embed Badge

![Health badge](/badges/php-resta-resta-core/health.svg)

```
[![Health](https://phpackages.com/badges/php-resta-resta-core/health.svg)](https://phpackages.com/packages/php-resta-resta-core)
```

###  Alternatives

[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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