{"id":15527614,"url":"https://github.com/schlessera/broken-settings-v1","last_synced_at":"2025-10-06T21:52:41.196Z","repository":{"id":95632530,"uuid":"52776428","full_name":"schlessera/broken-settings-v1","owner":"schlessera","description":"Example Code: Settings Page - Broken Implementation v1","archived":false,"fork":false,"pushed_at":"2016-08-08T09:47:55.000Z","size":91,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T00:28:31.383Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"https://www.alainschlesser.com/config-files-for-reusable-code/","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/schlessera.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-29T08:38:55.000Z","updated_at":"2020-10-16T10:26:37.000Z","dependencies_parsed_at":"2023-05-21T04:45:15.118Z","dependency_job_id":null,"html_url":"https://github.com/schlessera/broken-settings-v1","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/schlessera/broken-settings-v1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schlessera%2Fbroken-settings-v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schlessera%2Fbroken-settings-v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schlessera%2Fbroken-settings-v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schlessera%2Fbroken-settings-v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schlessera","download_url":"https://codeload.github.com/schlessera/broken-settings-v1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schlessera%2Fbroken-settings-v1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278686638,"owners_count":26028325,"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-06T02:00:05.630Z","response_time":65,"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":["hacktoberfest"],"created_at":"2024-10-02T11:07:44.798Z","updated_at":"2025-10-06T21:52:41.190Z","avatar_url":"https://github.com/schlessera.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Code: Settings Page - Broken Implementation v1\n\n*__This example code is part of the article: [Using A Config To Write Reusable Code](https://www.alainschlesser.com/config-files-for-reusable-code/)__*\n\nThis is a very naïve \"OOP\" implementation of a settings page using the WordPress Settings API.\n\nTo test this plugin yourself, clone the repository into a `wp-content/plugins` folder of a WordPress installation, and run the command `composer install` from within the plugin's folder to generate the autoloader. You should then be able to activate the plugin and get access to the generated settings page via `Settings` \u0026rarr; `as-settings-broken-v1`.\n\n![Subpage appearing in the Settings menu](assets/images/screenshot-options-menu.png)\n\nClicking on this menu entry will bring you to the generated Settings page, which allows you to save two useless settings.\n\n![Settings page as it is generated by this plugin](assets/images/screenshot-settings-page.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschlessera%2Fbroken-settings-v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschlessera%2Fbroken-settings-v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschlessera%2Fbroken-settings-v1/lists"}