{"id":21819399,"url":"https://github.com/dflydev/dflydev-core-php","last_synced_at":"2025-03-21T10:40:36.463Z","repository":{"id":66126282,"uuid":"1883593","full_name":"dflydev/dflydev-core-php","owner":"dflydev","description":" Provides basic bootstrapping functionality such as resource locating and class loading.","archived":false,"fork":false,"pushed_at":"2011-06-13T02:34:39.000Z","size":104,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T07:11:14.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://redmine.dflydev.com/projects/dflydev-core-php","language":"PHP","has_issues":false,"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/dflydev.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":"2011-06-12T05:07:37.000Z","updated_at":"2013-10-13T04:06:47.000Z","dependencies_parsed_at":"2023-02-19T22:55:23.402Z","dependency_job_id":null,"html_url":"https://github.com/dflydev/dflydev-core-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-core-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-core-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-core-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-core-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dflydev","download_url":"https://codeload.github.com/dflydev/dflydev-core-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244779905,"owners_count":20509235,"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-27T16:18:56.439Z","updated_at":"2025-03-21T10:40:36.444Z","avatar_url":"https://github.com/dflydev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dragonfly Development PHP Core Library #\n\nProvides basic bootstrapping functionality such as resource locating and\nclass loading.\n\n## Dependencies ##\n\nNone.\n\nThis package is likely a dependency for many Dragonfly Development libraries.\nAt the very least, the dflydev\\core\\ClassLoader is likely to be suggested\nfor a lack of a [better solution](https://github.com/symfony/ClassLoader).\n\n## Usage ##\n\n### Class Loader ###\n\nSimple class loader based on the [Symfony UniversalClassLoader](https://github.com/symfony/ClassLoader)\nthat can be used to load classes following the [PSR-0 autoloader interoperability standard](http://groups.google.com/group/php-standards/web/psr-0-final-proposal).\n\n    $classLoader = new ClassLoader();\n    $classLoader-\u003eregisterNamespaces(array(\n        // 'namespace' =\u003e '/path/to/namespace/root'\n        'dflydev\\\\core' =\u003e __DIR__.'/src',\n    ));\n    $classLoader-\u003eactivate();\n\nThis class loader is provided as a fallback that can be used if a project\ndoes not already have a PSR-0 capable class loader.\n\n### Resource Loader ###\n\n    use dflydev\\core\\io\\FileSystemResourceLoader\n    $resourceLoader = new FileSystemResourceLoader('/tmp');\n    try {\n        $resource = $resourceLoader-\u003eload('somefile.txt');\n    } catch (dflydev\\core\\io\\exception\\ResourceNotFoundException $e) {\n        // somefile.txt must not have been able to be located\n        // in the specified directory/directories.\n    }\n\n## More Information ##\n\nMore information can be found on the [d2code Redmine](http://redmine.dflydev.com/projects/dflydev-core-php).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflydev%2Fdflydev-core-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdflydev%2Fdflydev-core-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflydev%2Fdflydev-core-php/lists"}