{"id":18871749,"url":"https://github.com/sonsofphp/assert","last_synced_at":"2026-02-06T08:02:49.314Z","repository":{"id":255682743,"uuid":"852230533","full_name":"SonsOfPHP/assert","owner":"SonsOfPHP","description":"[read-only] Assert component","archived":false,"fork":false,"pushed_at":"2024-10-30T16:44:56.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-26T14:54:08.738Z","etag":null,"topics":["assert","php","sons-of-php","sonsofphp"],"latest_commit_sha":null,"homepage":"https://docs.sonsofphp.com/components/assert","language":"PHP","has_issues":false,"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/SonsOfPHP.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"JoshuaEstes","tidelift":"packagist/sonsofphp/sonsofphp","custom":"https://discord.gg/sdVxNhFqND"}},"created_at":"2024-09-04T13:02:52.000Z","updated_at":"2024-10-30T16:44:59.000Z","dependencies_parsed_at":"2024-10-23T06:50:41.797Z","dependency_job_id":"b158f52c-17b8-406c-9b41-28a7c5aac364","html_url":"https://github.com/SonsOfPHP/assert","commit_stats":null,"previous_names":["sonsofphp/assert"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonsOfPHP%2Fassert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonsOfPHP%2Fassert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonsOfPHP%2Fassert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonsOfPHP%2Fassert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SonsOfPHP","download_url":"https://codeload.github.com/SonsOfPHP/assert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248906725,"owners_count":21181207,"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":["assert","php","sons-of-php","sonsofphp"],"created_at":"2024-11-08T05:27:14.568Z","updated_at":"2026-02-06T08:02:49.234Z","avatar_url":"https://github.com/SonsOfPHP.png","language":"PHP","funding_links":["https://github.com/sponsors/JoshuaEstes","https://tidelift.com/funding/github/packagist/sonsofphp/sonsofphp","https://discord.gg/sdVxNhFqND"],"categories":[],"sub_categories":[],"readme":"Sons of PHP - Assert\n====================\n\n## Installation\n\n```shell\ncomposer require sonsofphp/assert\n```\n\n## Usage\n\n```php\n\u003c?php\n\nuse SonsOfPHP\\Component\\Assert\\Assert;\n\nAssert::string('test'); // returns true\nAssert::string(false); // throws exception\n\nAssert::disable();\nAssert::string(1234); // returns false\n```\n\n## Learn More\n\n* [Documentation][docs]\n* [Contributing][contributing]\n* [Report Issues][issues] and [Submit Pull Requests][pull-requests] in the [Mother Repository][mother-repo]\n* Get Help \u0026 Support using [Discussions][discussions]\n\n[discussions]: https://github.com/orgs/SonsOfPHP/discussions\n[mother-repo]: https://github.com/SonsOfPHP/sonsofphp\n[contributing]: https://docs.sonsofphp.com/contributing/\n[docs]: https://docs.sonsofphp.com/components/assert/\n[issues]: https://github.com/SonsOfPHP/sonsofphp/issues?q=is%3Aopen+is%3Aissue+label%3AAssert\n[pull-requests]: https://github.com/SonsOfPHP/sonsofphp/pulls?q=is%3Aopen+is%3Apr+label%3AAssert\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonsofphp%2Fassert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonsofphp%2Fassert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonsofphp%2Fassert/lists"}