{"id":20054969,"url":"https://github.com/devbeno/stage","last_synced_at":"2025-03-02T09:22:10.694Z","repository":{"id":115637716,"uuid":"460145720","full_name":"devbeno/stage","owner":"devbeno","description":"WordPress react plugin","archived":false,"fork":false,"pushed_at":"2022-02-16T19:22:26.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T21:32:33.746Z","etag":null,"topics":["rest-api","wordpress-react"],"latest_commit_sha":null,"homepage":"","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/devbeno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-02-16T19:19:56.000Z","updated_at":"2023-05-12T17:07:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"0791db3c-9979-4434-8aca-ecdf8660dfb3","html_url":"https://github.com/devbeno/stage","commit_stats":null,"previous_names":["devbeno/stage"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbeno%2Fstage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbeno%2Fstage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbeno%2Fstage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbeno%2Fstage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devbeno","download_url":"https://codeload.github.com/devbeno/stage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241483516,"owners_count":19970092,"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":["rest-api","wordpress-react"],"created_at":"2024-11-13T12:45:01.122Z","updated_at":"2025-03-02T09:22:10.672Z","avatar_url":"https://github.com/devbeno.png","language":"PHP","readme":"Custom react WordPress plugin with rest api support and other features.\n\nREST Api respond with json data.\n\n## Installation\n\n- Git clone:\n    - `git clone git@github.com:devbaze/stage.git`\n- Install javascript dependencies\n    - `yarn`\n- Install php dependencies\n    - `composer install`\n\n## Working With JavaScript\n\n- Build JS/CSS\n    - `yarn build`\n- Start JS/CSS for development\n    - `yarn start`\n- Test changed files\n    - `yarn test --watch`\n- Test all files once\n    - `yarn test`\n    - `yarn test --ci`\n\n\n## Working With PHP\n\n### Autoloader\n\nPHP classes should be located in the \"php\" directory and follow the [PSR-4 standard](https://www.php-fig.org/psr/psr-4/).\n\nThe root namespace is `Stage`.\n\n\n\n### Tests\n- Run unit tests\n    - `composer test:unit`\n- Run WordPress tests\n    - `composer test:wordpress`\n    - See local development instructions for how to run with Docker.\n- Run unit tests and WordPress tests\n    - `composer test`\n\n### Linter\n\n[PHPCS](https://github.com/squizlabs/PHP_CodeSniffer) is installed for linting and [automatic code fixing](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Fixing-Errors-Automatically).\n\n- Run linter and autofix\n    - `composer fixes`\n- Run linter to identify issues.\n    - `compose sniffs`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevbeno%2Fstage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevbeno%2Fstage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevbeno%2Fstage/lists"}