{"id":21707563,"url":"https://github.com/jenkinsdev/codeigniter-includes-library","last_synced_at":"2026-05-07T07:38:24.478Z","repository":{"id":6378777,"uuid":"7616306","full_name":"JenkinsDev/CodeIgniter-Includes-Library","owner":"JenkinsDev","description":"This is just a small library to allow you to include multiple view files with a single call to the include_files() method.","archived":false,"fork":false,"pushed_at":"2013-01-15T01:46:12.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T16:11:28.969Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JenkinsDev.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":"2013-01-15T01:19:45.000Z","updated_at":"2013-11-06T17:33:28.000Z","dependencies_parsed_at":"2022-08-26T19:11:41.712Z","dependency_job_id":null,"html_url":"https://github.com/JenkinsDev/CodeIgniter-Includes-Library","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/JenkinsDev%2FCodeIgniter-Includes-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JenkinsDev%2FCodeIgniter-Includes-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JenkinsDev%2FCodeIgniter-Includes-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JenkinsDev%2FCodeIgniter-Includes-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JenkinsDev","download_url":"https://codeload.github.com/JenkinsDev/CodeIgniter-Includes-Library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244656734,"owners_count":20488641,"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-25T22:18:37.122Z","updated_at":"2026-05-07T07:38:24.440Z","avatar_url":"https://github.com/JenkinsDev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codeigniter Includes Library\r\n\r\nThis tiny Codeigniter library is used for inserting multiple view files in an easy and managable fashion.  Created and Maintained by David Jenkins.\r\n\r\n## Getting Started\r\n-------------------\r\n\r\nIt is extremely easy to get started with this tiny library.  It takes literally 4 steps to use.\r\n\r\n1.) Download the file and place it into your Codeigniter's application/libraries directory.\r\n\r\n2.) Load the library as you would any normal Codeigniter library:\r\n\r\n\u003e $this-\u003eload-\u003elibrary('includes');\r\n\r\n3.) Set your variable/properties for file names and file data as arrays or string(s):\r\n\r\n\u003e // Files To Include\r\n\u003e\r\n\u003e $this-\u003efiles_include = array('includes/header', 'home', 'includes/footer');\r\n\u003e\r\n\u003e // File Data\r\n\u003e\r\n\u003e $this-\u003edata['includes/header']['title'] = 'Welcome Home';\r\n\u003e $this-\u003edata['home']['test'] = 'This is a test';\r\n\u003e\r\n\u003e OR\r\n\u003e\r\n\u003e // Files To Include\r\n\u003e\r\n\u003e $this-\u003efiles_includes = 'home';\r\n\u003e\r\n\u003e // File Data\r\n\u003e\r\n\u003e $this-\u003edata['title'] = 'Welcome Home';\r\n\r\n4.) Finally call the includes::include_files() method:\r\n\r\n\u003e $this-\u003eincludes-\u003einclude_files($this-\u003efiles_includes, $this-\u003edata);","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenkinsdev%2Fcodeigniter-includes-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenkinsdev%2Fcodeigniter-includes-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenkinsdev%2Fcodeigniter-includes-library/lists"}