{"id":26715075,"url":"https://github.com/tarlepp/cannot-load-resource-issue","last_synced_at":"2026-05-18T04:06:56.303Z","repository":{"id":40203550,"uuid":"507365874","full_name":"tarlepp/cannot-load-resource-issue","owner":"tarlepp","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-28T23:30:21.000Z","size":225,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T13:51:52.358Z","etag":null,"topics":["community-help","symfony"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarlepp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-25T16:46:36.000Z","updated_at":"2022-06-25T19:15:51.000Z","dependencies_parsed_at":"2023-01-17T21:47:09.285Z","dependency_job_id":null,"html_url":"https://github.com/tarlepp/cannot-load-resource-issue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tarlepp/cannot-load-resource-issue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarlepp%2Fcannot-load-resource-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarlepp%2Fcannot-load-resource-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarlepp%2Fcannot-load-resource-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarlepp%2Fcannot-load-resource-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarlepp","download_url":"https://codeload.github.com/tarlepp/cannot-load-resource-issue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarlepp%2Fcannot-load-resource-issue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279099555,"owners_count":26103312,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["community-help","symfony"],"created_at":"2025-03-27T13:51:55.216Z","updated_at":"2025-10-15T18:06:48.618Z","avatar_url":"https://github.com/tarlepp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is this?\n\nSomeone asked help on Symfony Slack channel with following error\n\n```bash\nHey guys! Do anyone know how to fix this error?\nCannot load resource \"../src/Controller/\". Make sure there is a loader supporting the \"attribute\" type.\n```\n\n## What did I do?\n\nI asked that person to share `composer.json` file contents.\n\nhttps://symfony-devs.slack.com/archives/C3EQ7S3MJ/p1656174420895039?thread_ts=1656173105.327239\u0026cid=C3EQ7S3MJ\n\nAnd then I just created new project with that `composer.json` that I got.\n\nAfter that I just run `composer install` command and made simple `IndexController.php`\nthat uses PHP attributes with route definitions and all worked as expected.\n\n## How to test this?\n\n1. Just clone the repository\n2. Run `composer install` command\n3. Run `symfony serve` command\n4. Open `http://localhost:8000` url on your browser\n5. Profit\n\n## License \n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarlepp%2Fcannot-load-resource-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarlepp%2Fcannot-load-resource-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarlepp%2Fcannot-load-resource-issue/lists"}