{"id":16272566,"url":"https://github.com/castor-labs/uri","last_synced_at":"2025-04-08T15:49:34.737Z","repository":{"id":48858326,"uuid":"383790169","full_name":"castor-labs/uri","owner":"castor-labs","description":"RFC 3986 compliant URI value object for PHP","archived":false,"fork":false,"pushed_at":"2022-10-13T00:22:15.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T08:15:59.109Z","etag":null,"topics":["composer-library","php","php7","querystring","querystring-parser","rfc3986","uri","url"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/castor-labs.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":"2021-07-07T12:25:04.000Z","updated_at":"2022-10-12T23:59:59.000Z","dependencies_parsed_at":"2022-09-03T14:22:20.568Z","dependency_job_id":null,"html_url":"https://github.com/castor-labs/uri","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/castor-labs%2Furi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/castor-labs%2Furi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/castor-labs%2Furi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/castor-labs%2Furi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/castor-labs","download_url":"https://codeload.github.com/castor-labs/uri/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247876942,"owners_count":21011147,"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":["composer-library","php","php7","querystring","querystring-parser","rfc3986","uri","url"],"created_at":"2024-10-10T18:18:15.321Z","updated_at":"2025-04-08T15:49:34.690Z","avatar_url":"https://github.com/castor-labs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Castor Uri\n==========\n\n![php-workflow](https://github.com/castor-labs/uri/actions/workflows/php.yml/badge.svg?branch=main)\n![code-coverage](https://img.shields.io/badge/Coverage-84%25-yellow.svg?longCache=true\u0026style=flat)\n\nRFC 3986 compliant URI value object.\n\n## Installation\n\nYou can install the latest stable version with:\n\n```bash\ncomposer require castor/uri\n```\n\n## Quick Start\n\n```php\n\u003c?php\n\nuse Castor\\Net\\Uri;\n\n$uri = Uri::parse('https://example.com/hello?foo=bar');\n\necho $uri-\u003egetScheme(); // Prints: https\necho $uri-\u003egetHost(); // Prints: example.com\necho $uri-\u003egetPath(); // Prints: /hello\necho $uri-\u003egetRawQuery(); // Prints: foo=bar\necho $uri-\u003egetQuery()-\u003eadd('foo', 'foo')-\u003eencode(); // Prints: foo=bar\u0026foo=foo\n```\n\nTo learn about the rationale behind this library, best practices when using it and implementation examples, check\nthe [documentation](https://castor-labs.github.io/docs/packages/uri/intro.html).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcastor-labs%2Furi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcastor-labs%2Furi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcastor-labs%2Furi/lists"}