{"id":20508934,"url":"https://github.com/akeneo/phpspecskipexampleextension","last_synced_at":"2025-08-26T03:04:09.296Z","repository":{"id":14886625,"uuid":"17610276","full_name":"akeneo/PhpSpecSkipExampleExtension","owner":"akeneo","description":"Skip your PhpSpec examples through annotations","archived":false,"fork":false,"pushed_at":"2021-06-04T15:17:12.000Z","size":30,"stargazers_count":33,"open_issues_count":1,"forks_count":8,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-07-28T12:13:13.288Z","etag":null,"topics":["annotation","extension","php","phpspec"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"facebook/network-connection-class","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akeneo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-10T22:07:07.000Z","updated_at":"2024-06-23T09:12:29.000Z","dependencies_parsed_at":"2022-07-12T15:13:30.436Z","dependency_job_id":null,"html_url":"https://github.com/akeneo/PhpSpecSkipExampleExtension","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/akeneo/PhpSpecSkipExampleExtension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akeneo%2FPhpSpecSkipExampleExtension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akeneo%2FPhpSpecSkipExampleExtension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akeneo%2FPhpSpecSkipExampleExtension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akeneo%2FPhpSpecSkipExampleExtension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akeneo","download_url":"https://codeload.github.com/akeneo/PhpSpecSkipExampleExtension/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akeneo%2FPhpSpecSkipExampleExtension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270287200,"owners_count":24558616,"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-08-13T02:00:09.904Z","response_time":66,"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":["annotation","extension","php","phpspec"],"created_at":"2024-11-15T20:21:17.268Z","updated_at":"2025-08-13T18:10:00.040Z","avatar_url":"https://github.com/akeneo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PhpSpec Skip Example Extension\n\nThis PhpSpec extension allows to skip example through user-friendly annotations.\n[![Build Status](https://travis-ci.org/akeneo/PhpSpecSkipExampleExtension.png?branch=master)](https://travis-ci.org/akeneo/PhpSpecSkipExampleExtension)\n\n## Installation\n\nOnce you have installed PhpSpec (following the documentation on [the official website](http://www.phpspec.net)), add the extension requirement to your `composer.json`:\n\nUsing phpspec 4.x,\n\n```json\n{\n    \"require\": {\n        \"akeneo/phpspec-skip-example-extension\": \"^3.0\"\n    }\n}\n```\n\nUsing phpspec 5.x,\n\n```json\n{\n    \"require\": {\n        \"akeneo/phpspec-skip-example-extension\": \"^4.0\"\n    }\n}\n```\n\nAnd run composer update:\n\n```bash\n$ php composer.phar update akeneo/phpspec-skip-example-extension\n```\n\n## Configuration\n\nYou can now activate the extension by creating a `phpspec.yml` file at the root of your project:\n\n``` yaml\nextensions:\n    Akeneo\\SkipExampleExtension: ~\n```\n\n## Usage\n\n### @require \u003cclass or interface\u003e\n\nSkips all the spec example if the class or interface is not available\n\n```php\n/**\n * @require Vendor\\Builder\\ToolInterface\n */\nclass BridgeBuilderSpec extends ObjectBehavior\n{\n    // Will be skipped if the Vendor\\Builder\\ToolInterface interface does not exist\n    function it_builds_a_brige()\n    {\n    }\n\n    // Will be skipped if the Vendor\\Builder\\ToolInterface interface does not exist\n    function it_builds_the_road()\n    {\n    }\n\n    //...\n}\n```\n\n## Contributions\n\nFeel free to contribute to this extension if you find some interesting ways to improve it!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakeneo%2Fphpspecskipexampleextension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakeneo%2Fphpspecskipexampleextension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakeneo%2Fphpspecskipexampleextension/lists"}