PHPackages                             tecnocen/yii2-roa - 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. tecnocen/yii2-roa

ActiveYii2-extension[Framework](/categories/framework)

tecnocen/yii2-roa
=================

Yii 2 ROA Library

0.5.0(6y ago)912.8k9[1 issues](https://github.com/tecnocen-com/yii2-roa/issues)2BSD-3-ClausePHPPHP &gt;=7.1

Since May 12Pushed 6y ago3 watchersCompare

[ Source](https://github.com/tecnocen-com/yii2-roa)[ Packagist](https://packagist.org/packages/tecnocen/yii2-roa)[ RSS](/packages/tecnocen-yii2-roa/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (10)Versions (23)Used By (2)

Yii2 ROA Library
================

[](#yii2-roa-library)

This library contains the modules and controllers to build a ROA application using the Yii2 framework.

[![Latest Stable Version](https://camo.githubusercontent.com/7e277d2107542574a57e7af797fb92de8199edb28e446eb4e36f03e777736740/68747470733a2f2f706f7365722e707567782e6f72672f7465636e6f63656e2f796969322d726f612f762f737461626c65)](https://packagist.org/packages/tecnocen/yii2-roa)[![Total Downloads](https://camo.githubusercontent.com/6d53c392caf822f52069fba6e22cfeb318e94bf7e2cab878ef135e570cae5e9e/68747470733a2f2f706f7365722e707567782e6f72672f7465636e6f63656e2f796969322d726f612f646f776e6c6f616473)](https://packagist.org/packages/tecnocen/yii2-roa)

Travis [![Build Status Travis](https://camo.githubusercontent.com/83505ab44e7bcf3cc470c53305d0d8437717f9645f29b245144b4a72c595a01d/68747470733a2f2f6170692e7472617669732d63692e6f72672f7465636e6f63656e2d636f6d2f796969322d726f612e7376673f6272616e63683d6d6173746572267374796c653d666c61743f7374796c653d666f722d7468652d6261646765)](https://travis-ci.org/tecnocen-com/yii2-roa)

### Prerequisites

[](#prerequisites)

- Install PHP 7.1 or higher
- [Composer Installed](https://getcomposer.org/doc/00-intro.md)
- Run command `composer check-platform-reqs` to check all requirements.

### Installation

[](#installation)

---

Install on a Yii2 App Advanced Project

[create new project](https://git.io/fAvT2)

Running the tests
-----------------

[](#running-the-tests)

This section is to run the tests on this library, to run the tests on your application check [Yii2 App Roa Tests](https://git.io/fAvUA)

### Configure tests

[](#configure-tests)

The tests come preconfigured except for the database credentials, to configure your database credentials create a file `tests/_app/config/db.local.php` with the Yii2 configuration for `Yii::$app->db` component. Example:

```
return [
    'dsn' => ...,
    'username' => ...,
    'password' => ...,
];
```

Make sure to create a database to load the migrations, by default the name is `yii2_roa_test`

### Deploy tests

[](#deploy-tests)

This library includes a composer script to deploy the tests.

`composer deploy-tests`

### Run tests

[](#run-tests)

This library also includes 2 composer scripts to run the tests easily.

- `composer run-tests` run all codeception tests.
- `composer run-coverage` run all codeception tests and generate coverage report

### Write Tests

[](#write-tests)

You can write new tests on the `tests/` folder following [codeception documentation](https://codeception.com/docs/)

Examples
--------

[](#examples)

### Yii2 ROA Live Demo

[](#yii2-roa-live-demo)

You can run a live demo on a freshly installed project to help you run testing or understand the responses returned by the server.

`composer yii -- serve [yii2Options]`

See

Then on your browser access the route `http://localhost:8080/index.php/api`

### Other Libraries

[](#other-libraries)

You can clone the following repositories and use the live demo they provide

- [yii2-formgenerator](https://github.com/tecnocen-com/yii2-formgenerator)
- [yii2-workflow](https://github.com/tecnocen-com/yii2-workflow)

Use Cases
---------

[](#use-cases)

TO DO

Built With
----------

[](#built-with)

- Yii 2: The Fast, Secure and Professional PHP Framework

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

[](#code-of-conduct)

Please read [CODE\_OF\_CONDUCT.md](https://github.com/tecnocen-com/yii2-formgenerator/blob/master/CODE_OF_CONDUCT.md) for details on our code of conduct.

Contributing
------------

[](#contributing)

Please read [CONTRIBUTING.md](https://github.com/tecnocen-com/yii2-roa/blob/master/CONTRIBUTING.md) for details on the process for submitting pull requests to us.

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/tecnocen-com/yii2-roa/tags).

*Considering [SemVer](http://semver.org/) for versioning rules 9, 10 and 11 talk about pre-releases, they will not be used within the Tecnocen-com.*

Authors
-------

[](#authors)

- [**Angel Guevara**](https://github.com/Faryshta) - *Initial work* - [Tecnocen.com](https://github.com/Tecnocen-com)
- [**Carlos Llamosas**](https://github.com/neverabe) - *Initial work* - [Tecnocen.com](https://github.com/Tecnocen-com)

See also the list of [contributors](https://github.com/tecnocen-com/yii2-roa/graphs/contributors) who participated in this project.

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

Acknowledgments
---------------

[](#acknowledgments)

- TO DO - Hat tip to anyone who's code was used
- TO DO - Inspiration
- TO DO - etc

[![yii2-roa](https://camo.githubusercontent.com/27efd385b52d1f80968b87f3433de1f0c57983e900c12ba71c451faf51ffb62c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f5f62792d5465636e6f63656e2e636f6d2d6f72616e67652e7376673f7374796c653d666f722d7468652d6261646765)](https://www.tecnocen.com/)

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77% 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 ~39 days

Recently: every ~77 days

Total

21

Last Release

2496d ago

PHP version history (3 changes)0.0.1PHP &gt;=5.5

0.1.0PHP &gt;=5.6

0.4.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d5f64412ef020f8c137ff5c7f5e4a0866271f2f9ba9584e5a24aa48467f958d?d=identicon)[Faryshta](/maintainers/Faryshta)

![](https://www.gravatar.com/avatar/2341d88f3cdea0c2474cfbf59e5cf6dab5dd6a026d7846fabf219f2a93be1641?d=identicon)[neverabe](/maintainers/neverabe)

---

Top Contributors

[![Faryshta](https://avatars.githubusercontent.com/u/2029247?v=4)](https://github.com/Faryshta "Faryshta (164 commits)")[![neverabe](https://avatars.githubusercontent.com/u/1173807?v=4)](https://github.com/neverabe "neverabe (28 commits)")[![josejesusguzman](https://avatars.githubusercontent.com/u/8755301?v=4)](https://github.com/josejesusguzman "josejesusguzman (10 commits)")[![Seether69](https://avatars.githubusercontent.com/u/12069787?v=4)](https://github.com/Seether69 "Seether69 (5 commits)")[![BerkantC](https://avatars.githubusercontent.com/u/7061013?v=4)](https://github.com/BerkantC "BerkantC (3 commits)")[![miguelbeatles21](https://avatars.githubusercontent.com/u/132947532?v=4)](https://github.com/miguelbeatles21 "miguelbeatles21 (1 commits)")[![ayrozjlc](https://avatars.githubusercontent.com/u/10901620?v=4)](https://github.com/ayrozjlc "ayrozjlc (1 commits)")[![onca-vega](https://avatars.githubusercontent.com/u/23646723?v=4)](https://github.com/onca-vega "onca-vega (1 commits)")

---

Tags

resource-oriented-architecturerestrest-apirestfulrestful-apiservicesoayii2yii2-extensionyii2-roaframeworkrestarchitectureyii2advancedsoaroa

### Embed Badge

![Health badge](/badges/tecnocen-yii2-roa/health.svg)

```
[![Health](https://phpackages.com/badges/tecnocen-yii2-roa/health.svg)](https://phpackages.com/packages/tecnocen-yii2-roa)
```

###  Alternatives

[funson86/yii2-adminlte

Yii 2 Advanced Application Template with Adminlte Theme

1492.2k](/packages/funson86-yii2-adminlte)[izyue/yii2-app-advanced

Yii 2 Advanced Project Template

1281.9k](/packages/izyue-yii2-app-advanced)[tecnocen/yii2-formgenerator

Yii 2 Library to configure form generator

145.7k](/packages/tecnocen-yii2-formgenerator)

PHPackages © 2026

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