Yii 2 ROA Library
This library contains the modules and controllers to build a ROA application using the Yii2 framework.
- Install PHP 7.1 or higher
- Composer Installed
- Run command
composer check-platform-reqsto check all requirements.
Install on a Yii2 App Advanced Project
This section is to run the tests on this library, to run the tests on your application check Yii2 App Roa Tests
The tests come preconfigured except for the database credentials, to configure
your database credentials create a file
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
This library includes a composer script to deploy the tests.
This library also includes 2 composer scripts to run the tests easily.
composer run-testsrun all codeception tests.
composer run-coveragerun all codeception tests and generate coverage report
You can write new tests on the
tests/ folder following
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]
Then on your browser access the route
You can clone the following repositories and use the live demo they provide
- Yii 2: The Fast, Secure and Professional PHP Framework http://www.yiiframework.com
Please read CODE_OF_CONDUCT.md for details on our code of conduct.
Please read CONTRIBUTING.md for details on the process for submitting pull requests to us.
Considering SemVer for versioning rules 9, 10 and 11 talk about pre-releases, they will not be used within the Tecnocen-com.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- TO DO - Hat tip to anyone who's code was used
- TO DO - Inspiration
- TO DO - etc