{"id":15030073,"url":"https://github.com/joubertredrat/deeper","last_synced_at":"2025-04-09T20:40:47.877Z","repository":{"id":45873591,"uuid":"432007137","full_name":"joubertredrat/Deeper","owner":"joubertredrat","description":"Deeper is a easy way to compare if 2 objects is equal based on values in these objects. This library is heavily inspired in Golang's reflect.DeepEqual().","archived":false,"fork":false,"pushed_at":"2021-12-03T22:02:59.000Z","size":34,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T22:37:04.355Z","etag":null,"topics":["library","php","php-library","php7","php8"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/redrat/deeper","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/joubertredrat.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}},"created_at":"2021-11-26T00:07:27.000Z","updated_at":"2022-02-12T13:46:20.000Z","dependencies_parsed_at":"2022-09-14T12:11:23.329Z","dependency_job_id":null,"html_url":"https://github.com/joubertredrat/Deeper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joubertredrat%2FDeeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joubertredrat%2FDeeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joubertredrat%2FDeeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joubertredrat%2FDeeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joubertredrat","download_url":"https://codeload.github.com/joubertredrat/Deeper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248109633,"owners_count":21049350,"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":["library","php","php-library","php7","php8"],"created_at":"2024-09-24T20:12:22.798Z","updated_at":"2025-04-09T20:40:47.843Z","avatar_url":"https://github.com/joubertredrat.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deeper\n\nDeeper is a easy way to compare if 2 objects is equal based on values in these objects. This library is heavily inspired in Golang's [reflect.DeepEqual()](https://pkg.go.dev/reflect#DeepEqual).\n\nDeeper supports parent class with any kind of access attributes, public, protected and private. Deeper validates objects as atribbutes too, then, while have objects to test, Deeper will test recursively.\n\n### Installation\n\n```bash\ncomposer require redrat/deeper\n```\n\n### Usage\n\nIt's very easy, create instance of Deeper object with objects to compare and check if it deep equal, like example below.\n\n```php\nuse RedRat\\Deeper\\Deeper;\n\n$deeper = new Deeper($objectOne, $objectTwo);\n$deeper-\u003eisEqual(); // if have same values on both objects, return TRUE\n```\n\n### Known limitations\n\nSome PHP core objects can't work properly, in this case, open an issue for we create a custom validation for this object.\n\n### Author\n\n[![Joubert RedRat](https://img.shields.io/badge/Joubert-RedRat-red)](https://joubertredrat.github.io)\n[![and the contributors](https://img.shields.io/badge/and%20the-contributors-success)](https://github.com/joubertredrat/Deeper/graphs/contributors)\n\n### License\n\nThe cute and amazing [MIT](https://github.com/joubertredrat/Deeper/blob/master/license).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoubertredrat%2Fdeeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoubertredrat%2Fdeeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoubertredrat%2Fdeeper/lists"}