{"id":15296285,"url":"https://github.com/scaleupstack/assert","last_synced_at":"2026-02-23T16:04:30.801Z","repository":{"id":62540852,"uuid":"171048038","full_name":"scaleupstack/assert","owner":"scaleupstack","description":"A tiny wrapper around webmozart/assert that is easily extendable to throw project-specific assertions.","archived":false,"fork":false,"pushed_at":"2019-09-06T18:09:01.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-17T12:16:02.141Z","etag":null,"topics":["assert","assertions","check","php","php7","validation"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scaleupstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-16T20:22:53.000Z","updated_at":"2022-02-12T08:22:12.000Z","dependencies_parsed_at":"2022-11-02T16:15:57.601Z","dependency_job_id":null,"html_url":"https://github.com/scaleupstack/assert","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/scaleupstack/assert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleupstack%2Fassert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleupstack%2Fassert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleupstack%2Fassert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleupstack%2Fassert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scaleupstack","download_url":"https://codeload.github.com/scaleupstack/assert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleupstack%2Fassert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29747981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["assert","assertions","check","php","php7","validation"],"created_at":"2024-09-30T18:09:57.995Z","updated_at":"2026-02-23T16:04:30.768Z","avatar_url":"https://github.com/scaleupstack.png","language":"PHP","readme":"# ScaleUpStack/Assert\n\n\nThis library is a tiny wrapper around [webmozart/assert], a library that provides \"Assertions to validate method input/output with nice error messages\". ScaleUpStack/Assert allows you to extend that library easily to throw a project-specific exception in case an assertion is invalid.\n\nThe main reason of this library is, that you can extend it in your project without the need to write a unit test to get full code coverage.\n\nThe concept how to extend the base class was inspired by [beberlei/assert].\n\n\n## Installation\n\nUse [Composer] to install this library:\n\n```\n$ composer require scaleupstack/assert\n```\n\n\n## Usage\n\n```php\n\u003c?php declare(strict_types = 1);\n\nnamespace Your\\Namespace;\n\nuse ScaleUpStack\\Assert\\Assert as BaseAssert;\n\nfinal class Assert extends BaseAssert\n{\n    protected static $assertionClassName = CustomizedInvalidArgumentException::class;\n}\n```\n\n\n## Contribute\n\nThanks that you want to contribute to ScaleUpStack/Assert.\n\n* Report any bugs or issues on the [issue tracker].\n\n* Get the source code from the [Git repository].\n\n\n## License\n\nPlease check [LICENSE.md] in the root dir of this package.\n\n\n## Copyright\n\nScaleUpVentures Gmbh, Germany\u003cbr\u003e\nThomas Nunninger \u003cthomas.nunninger@scaleupventures.com\u003e\u003cbr\u003e\n[www.scaleupventures.com]\n\n\n\n[webmozart/assert]: https://github.com/webmozart/assert\n[beberlei/assert]: https://github.com/beberlei/assert\n[Composer]: https://getcomposer.org\n[issue tracker]: https://github.com/scaleupstack/assert/issues\n[Git repository]: https://github.com/scaleupstack/assert\n[LICENSE.md]: LICENSE.md\n[www.scaleupventures.com]: https://www.scaleupventures.com/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscaleupstack%2Fassert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscaleupstack%2Fassert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscaleupstack%2Fassert/lists"}