{"id":23469863,"url":"https://github.com/uasoft-indonesia/badaso-sitemap-module","last_synced_at":"2026-05-18T09:07:49.568Z","repository":{"id":42532397,"uuid":"369065432","full_name":"uasoft-indonesia/badaso-sitemap-module","owner":"uasoft-indonesia","description":"Create sitemap on badaso","archived":false,"fork":false,"pushed_at":"2022-09-01T08:49:08.000Z","size":899,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-19T05:52:15.941Z","etag":null,"topics":["badaso","blog","cms","headless","laravel","lowcode","nocode","seo","sitemap","xml"],"latest_commit_sha":null,"homepage":"https://badaso-sitemap.uatech.co.id","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/uasoft-indonesia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"open_collective":"badaso","github":"uasoft-indonesia"}},"created_at":"2021-05-20T03:15:04.000Z","updated_at":"2021-12-31T19:44:45.000Z","dependencies_parsed_at":"2022-08-12T10:01:37.727Z","dependency_job_id":null,"html_url":"https://github.com/uasoft-indonesia/badaso-sitemap-module","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/uasoft-indonesia/badaso-sitemap-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uasoft-indonesia%2Fbadaso-sitemap-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uasoft-indonesia%2Fbadaso-sitemap-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uasoft-indonesia%2Fbadaso-sitemap-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uasoft-indonesia%2Fbadaso-sitemap-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uasoft-indonesia","download_url":"https://codeload.github.com/uasoft-indonesia/badaso-sitemap-module/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uasoft-indonesia%2Fbadaso-sitemap-module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33172173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["badaso","blog","cms","headless","laravel","lowcode","nocode","seo","sitemap","xml"],"created_at":"2024-12-24T15:36:29.943Z","updated_at":"2026-05-18T09:07:49.550Z","avatar_url":"https://github.com/uasoft-indonesia.png","language":"PHP","funding_links":["https://opencollective.com/badaso","https://github.com/sponsors/uasoft-indonesia"],"categories":[],"sub_categories":[],"readme":"# badaso/sitemap-module\n\n## Installation\n1. \u003ca href=\"https://badaso-docs.uatech.co.id/docs/en/getting-started/installation/\" target=\"blank\"\u003e Install Badaso \u003c/a\u003e from laravel project\n2. Install badaso sitemap module `composer require badaso/sitemap-module` \n3. Set env\n\n```\nMIX_DEFAULT_MENU=admin\nMIX_BADASO_MENU=${MIX_DEFAULT_MENU},sitemap-module\nMIX_BADASO_PLUGINS=sitemap-module\n```\n4. Call command `php artisan badaso-sitemap:setup`\n5. Run the laravel project and call url `http://your-laravel-host/sitemap.xml`\n\n## Configuration\nfile `config.php` configuration\n\n```\nreturn [\n    'max_content_paginate' =\u003e 500,\n    'prefix' =\u003e '/',\n    'sitemap' =\u003e [\n        'badaso-blog' =\u003e [\n            'table' =\u003e 'posts',\n            'web-access' =\u003e [\n                'url' =\u003e env('MIX_BLOG_POST_URL_PREFIX').'/:slug',\n                // :slug is a field in table posts\n                // this url auto generate according to the number of table rows\n            ],\n        ],\n        ...\n    ],\n    'custom_sitemap' =\u003e [\n        'root' =\u003e [\n            '/' =\u003e [\n              'lastmod' =\u003e '2021-05-24T09:32:52.785Z',\n            ],\n            'sub-path' =\u003e [\n              'lastmod' =\u003e '2021-05-24T09:32:52.785Z',\n            ],\n            'sub-path/sub-path-other' =\u003e [\n              'lastmod' =\u003e '2021-05-24T09:32:52.785Z',\n            ],\n            ...\n        ],\n        ...\n    ],\n];\n```\nYour can get foreign table attribute \n```\n...\n'sitemap' =\u003e [\n    'badaso-blog' =\u003e [\n        'table' =\u003e 'posts',\n        'web-access' =\u003e [\n            'url' =\u003e env('MIX_BLOG_POST_URL_PREFIX').'/:posts.category_id,category.id,category.title',\n            // posts.category_id  =\u003e foreign key posts table field category_id\n            // category.id        =\u003e posts table category_id field reference to table category field id \n            // category.title     =\u003e output value to path url from category table title field\n            // output : http://{HOST}/{MIX_BLOG_POST_URL_PREFIX}/business\n        ],\n    ],\n    ...\n],\n...\n```\nYou can create custom sitemap url\n```\n...\n'custom_sitemap' =\u003e [\n     // group by http://{HOST}/roo/sitemap.xml\n    'root' =\u003e [\n         // http://{HOST}/root\n        '/' =\u003e [\n          'lastmod' =\u003e '2021-05-24T09:32:52.785Z',\n        ],\n         // http://{HOST}/sub-path\n        'sub-path' =\u003e [\n          'lastmod' =\u003e '2021-05-24T09:32:52.785Z',\n        ],\n         // http://{HOST}/sub-path/sub-path-othe\n        'sub-path/sub-path-other' =\u003e [\n          'lastmod' =\u003e '2021-05-24T09:32:52.785Z',\n        ],\n        ...\n    ],\n    ...\n],\n...\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuasoft-indonesia%2Fbadaso-sitemap-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuasoft-indonesia%2Fbadaso-sitemap-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuasoft-indonesia%2Fbadaso-sitemap-module/lists"}