{"id":90262,"library":"peridot-php-leo","title":"Peridot Leo","description":"Next level assertion and matcher library for PHP, inspired by Chai.js.","status":"active","version":"1.6.1","language":"php","source_language":null,"source_url":"https://github.com/peridot-php/leo","tags":["testing","assertion","matcher","bdd"],"install":[{"cmd":"composer require peridot-php/leo","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Assertion","correct":"use Peridot\\Leo\\Assertion;"}],"quickstart":{"code":"<?php\\nuse Peridot\\\\Leo\\\\Assertion;\\n\\n$assert = new Assertion();\\n$assert->that(42)->equals(42);\\necho 'Assertion passed';","lang":"php","description":"Assert that a value equals 42 using Leo's fluent interface."},"warnings":[{"fix":"Use PHP 7.1-7.4 or check for updates.","message":"Requires PHP 7.1+; not compatible with PHP 8.0+ in some edge cases.","severity":"breaking","affected_versions":"<2.0"}],"env_vars":null,"search_vec":"'assert':5,15 'bdd':17 'chai.js':13 'inspir':11 'leo':2 'level':4 'librari':8 'matcher':7,16 'next':3 'peridot':1 'php':10 'test':14","created_at":"2026-06-19T09:00:18.187572+00:00","updated_at":"2026-06-19T09:00:18.187572+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":"https://github.com/peridot-php/leo","github":"https://github.com/peridot-php/leo","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}}