{"id":18929478,"url":"https://github.com/thecodingmachine/utils.common.url-interface","last_synced_at":"2026-03-16T14:30:18.652Z","repository":{"id":8585615,"uuid":"10218438","full_name":"thecodingmachine/utils.common.url-interface","owner":"thecodingmachine","description":"This package contains an interface used by many objects to say they represent a URL. The concept is very simple, the object implements a getUrl method, and that's it!","archived":false,"fork":false,"pushed_at":"2014-06-04T16:19:46.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"1.0","last_synced_at":"2025-02-16T12:30:30.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/thecodingmachine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-22T11:34:55.000Z","updated_at":"2014-06-04T16:19:47.000Z","dependencies_parsed_at":"2022-09-06T03:42:52.595Z","dependency_job_id":null,"html_url":"https://github.com/thecodingmachine/utils.common.url-interface","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/thecodingmachine%2Futils.common.url-interface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.common.url-interface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.common.url-interface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.common.url-interface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodingmachine","download_url":"https://codeload.github.com/thecodingmachine/utils.common.url-interface/tar.gz/refs/heads/1.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239927823,"owners_count":19719835,"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":[],"created_at":"2024-11-08T11:32:55.929Z","updated_at":"2026-03-16T14:30:18.620Z","avatar_url":"https://github.com/thecodingmachine.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"What is this package\n====================\n\nThis package contains an interface used by many objects to declare they represent a single URL.\n\nIf your objects represent an URL (for instance your object is a link, they should implement *UrlInterface*.\nAn object implementing this interface will return a single URL, as a string when the \"getUrl()\" method is called.\n\nThis is a very simple and useful system for classes representing links, pages, etc...\n\n```php\nnamespace Mouf\\Utils;\n\ninterface UrlInterface {\n\t\n\t/**\n\t * Returns the URL represented by this object, as a string.\n\t * \n\t * @return string\n\t */\n\tpublic function getUrl();\n}\n```\n\nThis package comes with a simple **Url** class that implements this interface.\n\nMouf package\n------------\n\nThis package is part of Mouf (http://mouf-php.com), an effort to ensure good developing practices by providing a graphical dependency injection framework.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Futils.common.url-interface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodingmachine%2Futils.common.url-interface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Futils.common.url-interface/lists"}