{"id":20235354,"url":"https://github.com/phphleb/sitemapgen","last_synced_at":"2025-05-07T10:32:50.122Z","repository":{"id":65337891,"uuid":"590130276","full_name":"phphleb/sitemapgen","owner":"phphleb","description":"Sitemap generator from framework HLEB","archived":true,"fork":false,"pushed_at":"2023-01-17T18:29:37.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T14:15:17.896Z","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/phphleb.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":"2023-01-17T18:11:44.000Z","updated_at":"2024-02-03T11:49:15.000Z","dependencies_parsed_at":"2023-02-10T11:16:05.640Z","dependency_job_id":null,"html_url":"https://github.com/phphleb/sitemapgen","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/phphleb%2Fsitemapgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Fsitemapgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Fsitemapgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Fsitemapgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phphleb","download_url":"https://codeload.github.com/phphleb/sitemapgen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252859898,"owners_count":21815425,"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-14T08:16:03.037Z","updated_at":"2025-05-07T10:32:49.764Z","avatar_url":"https://github.com/phphleb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":" ## SITEMAP Generator from HLEB framework\n\n_Hope you don't need it_ 😀\n \n### Installation\nStep 1. Installation via Composer into an existing HLEB project:\n ```bash\n $ composer require phphleb/sitemapgen\n ```\n\nStep 2. Installing the library into the project.\n\n ```bash\n $ php console phphleb/sitemapgen --add\n ```\n\n ```bash\n $ composer dump-autoload\n ```\n\n### Configuration\n\nStep 3. Modify the configuration according to the sample `/storage/lib/sitemapgen/config.json`. \nYou must create classes that the handler can call on to get the data it needs.\n\nFor static (unchangeable) addresses, there is a file `/public/sitemapgen/sitemap-reserve.xml`.\nYou must enter this information manually.\n\n\nSample routes for generating a test sitemap:\n```php\nRoute::get('/variant-one/preview/{url_part_1}/test/{url_part_2}/{url_part_3?}', 'view sitemap_test_1_route_name')-\u003ename('sitemap_test_1_route_name');\nRoute::get('/variant-two/preview/{url_part_1}/test/{url_part_2}/{url_part_3?}', 'view sitemap_test_1_route_name')-\u003ename('sitemap_test_2_route_name');\n```\n\n\n### Generation\nStep 4. Run task:\n\n ```bash\n $ php console sitemapgen/update-sitemap-task\n ```\n\n\n-----------------------------------\n\n[![License: MIT](https://img.shields.io/badge/License-MIT%20(Free)-brightgreen.svg)](https://github.com/phphleb/draft/blob/main/LICENSE) ![PHP](https://img.shields.io/badge/PHP-^7.4.0-blue) ![PHP](https://img.shields.io/badge/PHP-8-blue)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphphleb%2Fsitemapgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphphleb%2Fsitemapgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphphleb%2Fsitemapgen/lists"}