{"id":16083863,"url":"https://github.com/tecnocen-com/yii2-roa","last_synced_at":"2025-03-18T06:30:28.124Z","repository":{"id":57066276,"uuid":"83407371","full_name":"tecnocen-com/yii2-roa","owner":"tecnocen-com","description":"Yii2 ROA LIBRARY","archived":false,"fork":false,"pushed_at":"2019-08-31T16:22:41.000Z","size":365,"stargazers_count":8,"open_issues_count":1,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T07:37:15.731Z","etag":null,"topics":["resource-oriented-architecture","rest","rest-api","restful","restful-api","service","soa","yii2","yii2-extension","yii2-roa"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tecnocen-com.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-28T08:17:40.000Z","updated_at":"2019-08-31T16:22:44.000Z","dependencies_parsed_at":"2022-08-24T10:10:45.675Z","dependency_job_id":null,"html_url":"https://github.com/tecnocen-com/yii2-roa","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecnocen-com%2Fyii2-roa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecnocen-com%2Fyii2-roa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecnocen-com%2Fyii2-roa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecnocen-com%2Fyii2-roa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tecnocen-com","download_url":"https://codeload.github.com/tecnocen-com/yii2-roa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243906035,"owners_count":20366959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["resource-oriented-architecture","rest","rest-api","restful","restful-api","service","soa","yii2","yii2-extension","yii2-roa"],"created_at":"2024-10-09T12:07:22.118Z","updated_at":"2025-03-18T06:30:27.666Z","avatar_url":"https://github.com/tecnocen-com.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yii2 ROA Library\n=======================\n\nThis library contains the modules and controllers to build a ROA application\nusing the Yii2 framework.\n\n[![Latest Stable Version](https://poser.pugx.org/tecnocen/yii2-roa/v/stable)](https://packagist.org/packages/tecnocen/yii2-roa)\n[![Total Downloads](https://poser.pugx.org/tecnocen/yii2-roa/downloads)](https://packagist.org/packages/tecnocen/yii2-roa)\n\n\nTravis [![Build Status Travis](https://api.travis-ci.org/tecnocen-com/yii2-roa.svg?branch=master\u0026style=flat?style=for-the-badge)](https://travis-ci.org/tecnocen-com/yii2-roa)\n\n### Prerequisites\n\n- Install PHP 7.1 or higher\n- [Composer Installed](https://getcomposer.org/doc/00-intro.md)\n- Run command `composer check-platform-reqs` to check all requirements.\n\n### Installation\n----------------\n\nInstall on a Yii2 App Advanced Project\n\n[create new project](https://git.io/fAvT2)\n\n## Running the tests\n\nThis section is to run the tests on this library, to run the tests on your\napplication check [Yii2 App Roa Tests](https://git.io/fAvUA)\n\n### Configure tests\n\nThe tests come preconfigured except for the database credentials, to configure\nyour database credentials create a file `tests/_app/config/db.local.php` with\nthe Yii2 configuration for `Yii::$app-\u003edb` component. Example:\n\n```php\nreturn [\n    'dsn' =\u003e ..., \n    'username' =\u003e ..., \n    'password' =\u003e ..., \n];\n```\n\nMake sure to create a database to load the migrations, by default the name is\n`yii2_roa_test`\n\n### Deploy tests\n\nThis library includes a composer script to deploy the tests.\n\n`composer deploy-tests`\n\n### Run tests\n\nThis library also includes 2 composer scripts to run the tests easily.\n\n- `composer run-tests` run all codeception tests.\n- `composer run-coverage` run all codeception tests and generate coverage report\n\n### Write Tests\n\nYou can write new tests on the `tests/` folder following\n[codeception documentation](https://codeception.com/docs/)\n\n## Examples\n\n### Yii2 ROA Live Demo\n\nYou can run a live demo on a freshly installed project to help you run testing\nor understand the responses returned by the server.\n\n`composer yii -- serve [yii2Options]`\n\nSee https://www.yiiframework.com/doc/api/2.0/yii-console-controllers-servecontroller\n\nThen on your browser access the route `http://localhost:8080/index.php/api`\n\n### Other Libraries\n\nYou can clone the following repositories and use the live demo they provide\n\n- [yii2-formgenerator](https://github.com/tecnocen-com/yii2-formgenerator)\n- [yii2-workflow](https://github.com/tecnocen-com/yii2-workflow)\n\n## Use Cases\n\nTO DO\n\n## Built With\n\n* Yii 2: The Fast, Secure and Professional PHP Framework [http://www.yiiframework.com](http://www.yiiframework.com)\n\n## Code of Conduct\n\nPlease 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.\n\n## Contributing\n\nPlease 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.\n\n## Versioning\n\nWe 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).\n\n_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._\n\n## Authors\n\n* [**Angel Guevara**](https://github.com/Faryshta) - *Initial work* - [Tecnocen.com](https://github.com/Tecnocen-com)\n* [**Carlos Llamosas**](https://github.com/neverabe) - *Initial work* - [Tecnocen.com](https://github.com/Tecnocen-com)\n\nSee also the list of [contributors](https://github.com/tecnocen-com/yii2-roa/graphs/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n## Acknowledgments\n\n* TO DO - Hat tip to anyone who's code was used\n* TO DO - Inspiration\n* TO DO - etc\n\n[![yii2-roa](https://img.shields.io/badge/Powered__by-Tecnocen.com-orange.svg?style=for-the-badge)](https://www.tecnocen.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecnocen-com%2Fyii2-roa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftecnocen-com%2Fyii2-roa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecnocen-com%2Fyii2-roa/lists"}