{"id":18974919,"url":"https://github.com/Attributes-PHP/wp-fastendpoints-my-plugin","last_synced_at":"2025-07-29T06:05:16.604Z","repository":{"id":237646185,"uuid":"794959935","full_name":"Attributes-PHP/wp-fastendpoints-my-plugin","owner":"Attributes-PHP","description":"Sample plugin that demonstrates how to use FastEndpoints","archived":false,"fork":false,"pushed_at":"2025-04-27T19:06:14.000Z","size":60,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T16:16:19.572Z","etag":null,"topics":["modern-wordpress","wordpress","wordpress-plugin","wp-fastendpoints"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Attributes-PHP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-05-02T09:58:15.000Z","updated_at":"2025-04-27T19:58:40.000Z","dependencies_parsed_at":"2024-05-17T16:37:29.686Z","dependency_job_id":"f4f06b91-8885-468f-acfd-242d8e56351c","html_url":"https://github.com/Attributes-PHP/wp-fastendpoints-my-plugin","commit_stats":null,"previous_names":["matapatos/wp-fastendpoints-my-plugin","attributes-php/wp-fastendpoints-my-plugin"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Attributes-PHP/wp-fastendpoints-my-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Attributes-PHP%2Fwp-fastendpoints-my-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Attributes-PHP%2Fwp-fastendpoints-my-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Attributes-PHP%2Fwp-fastendpoints-my-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Attributes-PHP%2Fwp-fastendpoints-my-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Attributes-PHP","download_url":"https://codeload.github.com/Attributes-PHP/wp-fastendpoints-my-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Attributes-PHP%2Fwp-fastendpoints-my-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267638819,"owners_count":24119764,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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":["modern-wordpress","wordpress","wordpress-plugin","wp-fastendpoints"],"created_at":"2024-11-08T15:16:42.333Z","updated_at":"2025-07-29T06:05:16.587Z","avatar_url":"https://github.com/Attributes-PHP.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quick Start - WP-FastEndpoints\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/matapatos/wp-fastendpoints-my-plugin/actions\"\u003e\u003cimg alt=\"GitHub Actions Workflow Status (main)\" src=\"https://img.shields.io/github/actions/workflow/status/matapatos/wp-fastendpoints-my-plugin/tests.yml\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/matapatos/wp-fastendpoints\"\u003e\u003cimg alt=\"Supported WordPress Versions\" src=\"https://img.shields.io/badge/6.x-versions?logo=wordpress\u0026label=versions\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/matapatos/wp-fastendpoints\"\u003e\u003cimg alt=\"Software License\" src=\"https://img.shields.io/packagist/l/matapatos/wp-fastendpoints\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n**MyPlugin** is a WordPress sample plugin that demonstrates how to use FastEndpoints.\n\n- Follow up our guide at **[Quick Start FastEndpoints Wiki »](https://github.com/attributes-php/wp-fastendpoints/wiki/Quick-start)**\n\n## Features\n\n- Sample router to manipulate blog posts (create, update, retrieve and delete)\n- Sample JSON schemas to validate those requests. For more schemas properties visit [json/opis »](https://opis.io/json-schema/2.x/)\n- Out of the box Unit tests + Integration tests using [pestphp](https://pestphp.com/) thanks to [dingo-d/wp-pest](https://github.com/dingo-d/wp-pest)\n- PHP code style fixer using [laravel/pint](https://github.com/laravel/pint)\n- Composer scripts for running tests + linter + setting up WordPress\n\n## Requirements\n\n- PHP 8.1+\n- WordPress 6.x\n- [matapatos/wp-fastendpoints](https://packagist.org/packages/matapatos/wp-fastendpoints)\n\n## Installation\n\nAdd plugin to WordPress and then install all the dependencies:\n\n```bash\ncomposer install\n```\n\n## Lint\n\n```bash\ncomposer test:lint\n```\n\n## Running tests\n\n```bash\ncomposer test             # Runs linter + unit and integration tests\ncomposer test:unit        # Runs unit tests\ncomposer test:integration # Runs integration tests\n```\n\n### Setup WordPress\n\nPlease note that before running the integration tests you have to specify the WordPress\nversion you want to use, via:\n\n```bash\ncomposer setup:wp:6.0     # For the latest 6.0.x version\ncomposer setup:wp:6.1     # For the latest 6.1.x version\ncomposer setup:wp:6.2     # For the latest 6.2.x version\ncomposer setup:wp:6.3     # For the latest 6.3.x version\ncomposer setup:wp:6.4     # For the latest 6.4.x version\ncomposer setup:wp:latest  # For the latest x.x.x version\n```\n\n### Known errors\n\n#### WordPress 6.5.x requires MySQL 5.5.5 or higher\n\nSince WordPress have bumped the minimum MySQL version from 5.0 to 5.5.5 in WordPress\n6.5.x the integration tests might not work for the latest version until\nthis [PR changes is released](https://github.com/aaemnnosttv/wp-sqlite-db/pull/61).\nIn other words, `composer setup:wp:latest` might not work so use `composer setup:wp:6.4`\ninstead. \n\nMyPlugin was created by **[André Gil](https://www.linkedin.com/in/andre-gil/)** and is open-sourced software licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAttributes-PHP%2Fwp-fastendpoints-my-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAttributes-PHP%2Fwp-fastendpoints-my-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAttributes-PHP%2Fwp-fastendpoints-my-plugin/lists"}