2017 © Pedro Peláez
 

yii2-extension yii2-roa

Yii 2 ROA Library

image

tecnocen/yii2-roa

Yii 2 ROA Library

  • Thursday, August 2, 2018
  • by Faryshta
  • Repository
  • 6 Watchers
  • 6 Stars
  • 4,150 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 7 Forks
  • 5 Open issues
  • 20 Versions
  • 22 % Grown

The README.md

Yii2 ROA Library

This library contains the modules and controllers to build a ROA application using the Yii2 framework., (*1)

Latest Stable Version Total Downloads, (*2)

Travis Build Status Travis, (*3)

Prerequisites

  • Install PHP 7.1 or higher
  • Composer Installed
  • Run command composer check-platform-reqs to check all requirements.

### Installation

Install on a Yii2 App Advanced Project, (*4)

create new project, (*5)

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, (*6)

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:, (*7)

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

Make sure to create a database to load the migrations, by default the name is yii2_roa_test, (*8)

Deploy tests

This library includes a composer script to deploy the tests., (*9)

composer deploy-tests, (*10)

Run tests

This library also includes 2 composer scripts to run the tests easily., (*11)

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

Write Tests

You can write new tests on the tests/ folder following codeception documentation, (*12)

Examples

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., (*13)

composer yii -- serve [yii2Options], (*14)

See https://www.yiiframework.com/doc/api/2.0/yii-console-controllers-servecontroller, (*15)

Then on your browser access the route http://localhost:8080/index.php/api, (*16)

Other Libraries

You can clone the following repositories and use the live demo they provide, (*17)

Use Cases

TO DO, (*18)

Built With

Code of Conduct

Please read CODE_OF_CONDUCT.md for details on our code of conduct., (*19)

Contributing

Please read CONTRIBUTING.md for details on the process for submitting pull requests to us., (*20)

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository., (*21)

Considering SemVer for versioning rules 9, 10 and 11 talk about pre-releases, they will not be used within the Tecnocen-com., (*22)

Authors

See also the list of contributors who participated in this project., (*23)

License

This project is licensed under the MIT License - see the LICENSE.md file for details, (*24)

Acknowledgments

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

yii2-roa, (*25)

The Versions

02/08 2018

dev-halVersions

dev-halVersions

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

31/07 2018

dev-master

9999999-dev

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

21/07 2018

0.3.1

0.3.1.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

21/07 2018

0.3.0

0.3.0.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

29/12 2017

0.2.3

0.2.3.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

03/12 2017

0.2.2

0.2.2.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

23/11 2017

0.2.1

0.2.1.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

22/11 2017

0.2.0

0.2.0.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

27/09 2017

0.1.0

0.1.0.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

07/09 2017

0.0.9

0.0.9.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

29/08 2017

dev-open-api

dev-open-api

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

18/08 2017

0.0.8

0.0.8.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

31/07 2017

0.0.7

0.0.7.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

25/07 2017

0.0.6

0.0.6.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

18/07 2017

0.0.5

0.0.5.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

17/07 2017

0.0.4

0.0.4.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

14/07 2017

0.0.3

0.0.3.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

30/06 2017

0.0.2

0.0.2.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

12/05 2017

0.0.1

0.0.1.0

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa

30/03 2017

dev-testing

dev-testing

Yii 2 ROA Library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

soa framework rest yii2 advanced architecture roa