{"id":18785021,"url":"https://github.com/domprojects/ci-breadcrumb","last_synced_at":"2025-07-24T02:33:51.351Z","repository":{"id":135444320,"uuid":"172204732","full_name":"domProjects/CI-Breadcrumb","owner":"domProjects","description":"Breadcrumb library for CodeIgniter 3.x.x","archived":false,"fork":false,"pushed_at":"2019-02-23T17:46:22.000Z","size":9,"stargazers_count":13,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-11T10:46:20.893Z","etag":null,"topics":["breadcrumb","codeigniter","codeigniter-library","codeigniter3","libraries","menu-navigation"],"latest_commit_sha":null,"homepage":"https://demo.domprojects.com/ci-breadcrumb/","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/domProjects.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-02-23T11:09:28.000Z","updated_at":"2023-09-18T17:47:33.000Z","dependencies_parsed_at":"2024-01-13T12:22:14.892Z","dependency_job_id":"eb64bb57-b253-417c-8b33-cdaae0268b9a","html_url":"https://github.com/domProjects/CI-Breadcrumb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/domProjects/CI-Breadcrumb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domProjects%2FCI-Breadcrumb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domProjects%2FCI-Breadcrumb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domProjects%2FCI-Breadcrumb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domProjects%2FCI-Breadcrumb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domProjects","download_url":"https://codeload.github.com/domProjects/CI-Breadcrumb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domProjects%2FCI-Breadcrumb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266785521,"owners_count":23983827,"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-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["breadcrumb","codeigniter","codeigniter-library","codeigniter3","libraries","menu-navigation"],"created_at":"2024-11-07T20:44:42.800Z","updated_at":"2025-07-24T02:33:51.326Z","avatar_url":"https://github.com/domProjects.png","language":"PHP","readme":"# CI-Breadcrumb\nBreadcrumb library for CodeIgniter 3.x.x\n\n## Demo\nYou can see the demo that online at this address: https://demo.domprojects.com/ci-breadcrumb/\n\n![Breadcrumb](https://demo.domprojects.com/ci-breadcrumb/screenshot/screenshot.png)\n\n## Installation\n### CodeIgniter\n1. Download [CodeIgniter 3.x.x](https://codeigniter.com/download)\n1. Unpack the archive\n1. Copy the contents of the uncompressed archive to the root of your site or copy the directory of the uncompressed archive to the root of your site\n\n```\n./\n|_ application\n|_ system\n|_ index.php\n```\nOR\n```\n./\n|_ CI-Breadcrumb\n  |_ application\n  |_ system\n  |_ index.php\n```\n### Librairie CI-Breadcrumb\n1. Download the archive\n1. Unpack the archive\n1. Copy the contents of the uncompressed archive to your site\n\n```\n./\n|_ application\n  |_ controllers\n    |_ Test_breadcrumb.php\n  |_ libraries\n    |_ Breadcrumb.php\n  |_ views\n    |_ test_breadcrumb.php\n|_ system\n|_ index.php\n```\nOR\n```\n./\n|_ CI-Breadcrumb\n  |_ application\n    |_ controllers\n      |_ Test_breadcrumb.php\n    |_ libraries\n      |_ Breadcrumb.php\n    |_ views\n      |_ test_breadcrumb.php\n  |_ system\n  |_ index.php\n```\n\n## Utilisation\n### Folder controllers\nYour controller file contents with the default style:\n```php\n// Load library breadcrumb\n$this-\u003eload-\u003elibrary('breadcrumb');\n\n// Add items\n$breadcrumb_items = [\n  'Dashboard' =\u003e '/',\n  'Users' =\u003e 'users',\n  'Add' =\u003e 'users/add'\n];\n$this-\u003ebreadcrumb-\u003eadd_item($breadcrumb_items);\n\n// Generate breadcrumb\n$this-\u003edata['content_breadcrumb'] = $this-\u003ebreadcrumb-\u003egenerate();\n```\nWith a style customization (for the example with Bootstrap):\n```\n// Load library breadcrumb\n$this-\u003eload-\u003elibrary('breadcrumb');\n\n// Custom style\n$template = [\n  'tag_open' =\u003e '\u003col class=\"breadcrumb\"\u003e',\n  'crumb_open' =\u003e '\u003cli class=\"breadcrumb-item\"\u003e',\n  'crumb_active' =\u003e '\u003cli class=\"breadcrumb-item active\" aria-current=\"page\"\u003e'\n];\n$this-\u003ebreadcrumb-\u003eset_template($template);\n\n// Add items\n$this-\u003ebreadcrumb-\u003eadd_item($breadcrumb_items);\n\n// Generate breadcrumb\n$data['breadcrumb_bootstrap_style'] = $this-\u003ebreadcrumb-\u003egenerate();\n```\n\n### Folder views\nFile contents `test_breadcrumb.php` :\n```php\n\u003c?php echo $content_breadcrumb; ?\u003e\n```\n\n## Result\n### Default style (without style)\n```\n1. Dashbord\n2. Users\n3. Add\n```\n\n### Bootstrap style\n```\nDashbord / Users / Add\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomprojects%2Fci-breadcrumb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomprojects%2Fci-breadcrumb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomprojects%2Fci-breadcrumb/lists"}