{"id":15093583,"url":"https://github.com/blaymo/myci45_dtbf2","last_synced_at":"2026-02-26T10:36:59.553Z","repository":{"id":245137660,"uuid":"817241932","full_name":"BlayMo/MyCi45_DtBf2","owner":"BlayMo","description":"Integration of Codeigniter4+Bonfire2+Datatables","archived":false,"fork":false,"pushed_at":"2024-06-24T07:21:48.000Z","size":519,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T12:11:39.449Z","etag":null,"topics":["bonfire","codeigniter","codeigniter4","datatables"],"latest_commit_sha":null,"homepage":"","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/BlayMo.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-19T09:55:04.000Z","updated_at":"2024-10-16T02:19:56.000Z","dependencies_parsed_at":"2024-06-24T08:43:06.721Z","dependency_job_id":"44f105a5-c46f-454e-bcff-4279ceecd39d","html_url":"https://github.com/BlayMo/MyCi45_DtBf2","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"3eecf9dafbea4849d999010a3e32d7e7119fb45b"},"previous_names":["blaymo/myci45_dtbf2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlayMo%2FMyCi45_DtBf2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlayMo%2FMyCi45_DtBf2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlayMo%2FMyCi45_DtBf2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlayMo%2FMyCi45_DtBf2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlayMo","download_url":"https://codeload.github.com/BlayMo/MyCi45_DtBf2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959438,"owners_count":20538625,"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":["bonfire","codeigniter","codeigniter4","datatables"],"created_at":"2024-09-25T11:24:08.348Z","updated_at":"2026-02-26T10:36:59.505Z","avatar_url":"https://github.com/BlayMo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codeigniter 4 + Datatables + Bonfire2\n\n---\n\nI have done this simple CRUD exercise to integrate Ci4, Bonfire2, Datatables.\n\nOn the Front shows a simple table of false accounting entries.\n\nIn the Backend, the administrative management is supported by Bonfire2.\n\nI have created for this demo, two tables with fake data: 'Diario' and 'Tipos'.\n\n---\n\n## Installation:\n\n- Cloning this project.\n\n- Ejecutar: `Composer install`\n\n- Follow to the letter the installation instructions of [Bonfire2](https://lonnieezell.github.io/Bonfire2/)\n\n- Execute in the 'db' the file: `App\\Database\\myci45_dtbf2.sql`\n\n- Execute: `php spark db:seed App\\Database\\Seeds\\Tipos`\n\n- Execute: `php spark db:seed App\\Database\\Seeds\\Diario`\n\n---\n\n### Software used:\n\n- php 8.2.12\n\n- Codeigniter 4.5.1\n\n- On the front, the [Startbootstrap](https://startbootstrap.com/template/bare)\n\n- [Bonfire2](https://lonnieezell.github.io/Bonfire2/)\n\n- [Codeigniter4-Datatables](https://github.com/hermawanramadhan/CodeIgniter4-DataTables)\n\n- Bootstrap 5.*\n\n---\n\n### Note:\n\nAfter installation, you must make two corrections in: \nC:\\xampp8212\\htdocs\\MyCi45_DtBf2\\app\\Config\\Filters.php\n\nlin 73 ```csrf' =\u003e ['except' =\u003e ['/diario_ss','admin/diario_ss']],```\n\nC:\\xampp8212\\htdocs\\MyCi45_DtBf2\\app\\Config\\Bonfire.php\n\nlin 28 ```\n      public $appModules = [\n               'App\\Modules' =\u003e APPPATH . 'Modules',\n          ];```\n\nC:\\xampp8212\\htdocs\\MyCi45_DtBf2\\themes\\Admin\\Components\\sidebar.php\n\nlin 1 `href=\"\u003c?= site_url('home') ?\u003e`\nlin 42 `href=\"\u003c?= site_url($item-\u003eurl) ?\u003e\"\u003e`\n\nand C:\\xampp8212\\htdocs\\MyCi45_DtBf2\\app\\Config\\AuthGroups.php\n\nlin 64\n\n```php\n        //...\n        'me.security'         =\u003e \"Can change user's own password\",       \n        //Modulo Diario\n        'diario.list'          =\u003e 'Can view list of pages',\n        'diario.view'          =\u003e 'Can view pages details',\n        'diario.create'        =\u003e 'Can create new pages',\n        'diario.edit'          =\u003e 'Can edit existing pages',\n        'diario.delete'        =\u003e 'Can delete existing pages',\n        //Modulo Tipos\n        'tipos.list'          =\u003e 'Can view list of pages',\n        'tipos.view'          =\u003e 'Can view pages details',\n        'tipos.create'        =\u003e 'Can create new pages',\n        'tipos.edit'          =\u003e 'Can edit existing pages',\n        'tipos.delete'        =\u003e 'Can delete existing pages',\n    ];\n```\n\nlin 107\n\n```php\n    //...\n    public\n        'superadmin' =\u003e [\n            ...\n            'diario.*',\n            'tipos.*'\n        ],\n        'admin' =\u003e [\n            ...\n            'diario.*',\n            'tipos.*'\n        ],\n        'developer' =\u003e [\n            ...\n            'diario.*',\n            'tipos.*'\n        ],\n        'user' =\u003e [\n             'diario.list',\n             'tipos.list'\n        ],\n        'beta' =\u003e [\n            'beta.access',\n        ],\n    ];\n```\n\n---\n\nExample of the front end\n![front_1](/img/front_1.png)\n\nExample of the Backend\n![admin_1](/img/admin_1.png)\n\n---![admin_2](/img/admin_2.png)\n\nMy respect and thanks to the developers of Ci4, Bonfire2 and Hermawanramadhan.\n\nAll code is subject to improvement and optimization.\n\nAll developed code is distributed under MIT license.\n\nJune, 2024\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblaymo%2Fmyci45_dtbf2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblaymo%2Fmyci45_dtbf2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblaymo%2Fmyci45_dtbf2/lists"}