{"id":26028700,"url":"https://github.com/amculin/yii2-basic-rest-api","last_synced_at":"2026-05-09T05:34:09.594Z","repository":{"id":42635378,"uuid":"204100558","full_name":"amculin/yii2-basic-rest-api","owner":"amculin","description":"Simple implementation of restAPI CRUD using Yii2-Basic Framework","archived":false,"fork":false,"pushed_at":"2024-01-30T07:44:39.000Z","size":16413,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-11T22:35:06.065Z","etag":null,"topics":["php","rest-api","yii2","yii2-basic","yii2-restful-api"],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amculin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-08-24T03:00:16.000Z","updated_at":"2022-03-30T03:58:14.000Z","dependencies_parsed_at":"2024-01-30T08:40:00.697Z","dependency_job_id":"9ec25147-cdf7-4207-965f-7e8be6ab1bb3","html_url":"https://github.com/amculin/yii2-basic-rest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amculin/yii2-basic-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amculin%2Fyii2-basic-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amculin%2Fyii2-basic-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amculin%2Fyii2-basic-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amculin%2Fyii2-basic-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amculin","download_url":"https://codeload.github.com/amculin/yii2-basic-rest-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amculin%2Fyii2-basic-rest-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32808520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["php","rest-api","yii2","yii2-basic","yii2-restful-api"],"created_at":"2025-03-06T17:19:27.840Z","updated_at":"2026-05-09T05:34:09.577Z","avatar_url":"https://github.com/amculin.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/yiisoft\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://avatars0.githubusercontent.com/u/993323\" height=\"100px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eYii 2 Basic REST API Implementation\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nThis is simple implementation of Yii2 Basic Template for API/Backend Application.\n\nDIRECTORY STRUCTURE\n-------------------\n\n      assets/             contains assets definition\n      commands/           contains console commands (controllers)\n      config/             contains application configurations\n      controllers/        contains Web controller classes\n      customs/            contains custom classes\n      mail/               contains view files for e-mails\n      models/             contains model classes\n      runtime/            contains files generated during runtime\n      tests/              contains various tests for the basic application\n      vendor/             contains dependent 3rd-party packages\n      views/              contains view files for the Web application\n      web/                contains the entry script and Web resources\n\n\n\nREQUIREMENTS\n------------\n\nThe minimum requirement by this project template that your Web server supports PHP 5.4.0.\n\n\nINSTALLATION\n------------\n\nNo need to worry about installation, just clone this repo. All dependencies should be downloaded too.\n\nCONFIGURATION\n-------------\n\n### Database\n\nImport file `pretest_privy.sql` to create database scheme including some data seed\n\n**NOTES:**\n- This file contains `CREATE DATABASE` command, so you don't need to create blank database\n- Please do check `runtime` and `web` directory, it should be writable\n\n### REST Client\n\nImport file `Pretest-Privy.postman_collection.json` for API Collection \u0026 `Pretest-Privy.postman_environment.json` for the environment. You can import those file using Postman or Insomnia.\n\nRUNNING APPLICATION\n-------------------\n\n### Create Server\n\nSimply run this command from your console `php yii serve --port=7878`, so you can access it by calling `http://localhost:7878`.\nYou can change the port, but you have to change the REST Client environment settings too.\n\n\u003cimg src=\"https://raw.githubusercontent.com/amculin/yii2-basic-rest-api/develop/readme-source/running-yii-application.jpg\" /\u003e\n\n### Testing via Insomnia\n\n\u003cimg src=\"https://raw.githubusercontent.com/amculin/yii2-basic-rest-api/develop/readme-source/api-collection-insomnia.jpg\" /\u003e\n\n### Testing via Postman\n\n\u003cimg src=\"https://raw.githubusercontent.com/amculin/yii2-basic-rest-api/develop/readme-source/api-collection-postman.jpg\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famculin%2Fyii2-basic-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famculin%2Fyii2-basic-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famculin%2Fyii2-basic-rest-api/lists"}