{"id":20779242,"url":"https://github.com/bolt/bolt-extension-starter-extended","last_synced_at":"2025-04-30T19:41:35.315Z","repository":{"id":62495794,"uuid":"44099453","full_name":"bolt/bolt-extension-starter-extended","owner":"bolt","description":"An extended starter skeleton for new Bolt Extensions","archived":false,"fork":false,"pushed_at":"2017-08-23T10:12:52.000Z","size":181,"stargazers_count":15,"open_issues_count":4,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-30T19:22:12.615Z","etag":null,"topics":["bolt-extension"],"latest_commit_sha":null,"homepage":null,"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/bolt.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":"2015-10-12T10:05:15.000Z","updated_at":"2025-01-19T10:51:35.000Z","dependencies_parsed_at":"2022-11-02T11:31:31.370Z","dependency_job_id":null,"html_url":"https://github.com/bolt/bolt-extension-starter-extended","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fbolt-extension-starter-extended","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fbolt-extension-starter-extended/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fbolt-extension-starter-extended/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fbolt-extension-starter-extended/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bolt","download_url":"https://codeload.github.com/bolt/bolt-extension-starter-extended/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251771163,"owners_count":21641217,"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":["bolt-extension"],"created_at":"2024-11-17T13:26:51.364Z","updated_at":"2025-04-30T19:41:35.288Z","avatar_url":"https://github.com/bolt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Extended Bolt Extension Starter\n======================\n\nAn extended starter skeleton for a Bolt Extension\n\n### Installation\n\nTo get going run the following command, replacing the last argument with the name of your extension:\n\n`composer create-project --no-install 'bolt/bolt-extension-starter-extended:^3.0' \u003cnewextname\u003e`  \n\n### Extension Content\n\nThis extension includes examples for the following features:\n\n- Routes\n  - Handling inside extension class\n  - Handling inside a controller class\n  - Twig response\n  - JSON response\n  - URL parameter\n  - GET and POST parameter\n\n- Accessing config\n   - Extension config\n   - Global config\n\n- Own Twig functions\n\n- Own Fieldtypes\n\n- Event listeners\n  - Handling inside extension class\n  - Handling inside a listener class\n\n- Own Menu Options\n  \n### Routes\n\nThis extension adds several example routes to the system to show you how to define them inline in your Extension class or in a separate controller.\n\n`/example/url` returns \"Hello, Bolt!\" as plain text.\n\n`/example/url/in/controller` returns \"Hello, World!\" as plain text but will be handled in a controller class.\n\n`/example/url/json` returns a key value pair in JSON.\n\n`/example/url/parameter/{id}` returns the given url parameter as JSON.\n\n`/example/url/get-parameter?foo=bar\u0026baz=foo\u0026id=7` returns the given GET parameter as JSON.\n\n`/example/url/template` returns content from a Twig template.\n\n\n### Own Menu Options\n\nThis extension adds `/bolt/my-custom-backend-page` as `Custom Page` to the menu in the admin backend. It appears under `Extras`. \n\nYou are not limited to just backend sites or sites served by Bolt. You can add any URL to the menu in the admin backend.\n\n----\n\nFor more information, see this page in the Bolt documentation: https://docs.bolt.cm/extensions/config \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbolt%2Fbolt-extension-starter-extended","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbolt%2Fbolt-extension-starter-extended","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbolt%2Fbolt-extension-starter-extended/lists"}