{"id":86340,"library":"phpspec-phpspec","title":"phpspec","description":"Specification-oriented BDD framework for PHP 7.1+.","status":"active","version":"8.3.0","language":"php","source_language":null,"source_url":"https://github.com/phpspec/phpspec","tags":["bdd","testing","specification","phpspec"],"install":[{"cmd":"composer require phpspec/phpspec","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"ObjectBehavior","correct":"use PhpSpec\\ObjectBehavior;"}],"quickstart":{"code":"use PhpSpec\\ObjectBehavior;\n\nclass MyClassSpec extends ObjectBehavior\n{\n    function it_is_initializable()\n    {\n        $this->shouldHaveType(MyClass::class);\n    }\n}","lang":"php","description":"Defines a specification class for behavior-driven development."},"warnings":[{"fix":"Use PHP 7.1 or higher.","message":"Requires PHP 7.1+; not compatible with PHP 5.x.","severity":"breaking","affected_versions":"<8.0"}],"env_vars":null,"search_vec":"'7.1':9 'bdd':5,10 'framework':6 'orient':4 'php':8 'phpspec':1,13 'specif':3,12 'specification-ori':2 'test':11","created_at":"2026-06-19T07:59:49.761010+00:00","updated_at":"2026-06-19T07:59:49.761010+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://phpspec.net/","github":"https://github.com/phpspec/phpspec","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}