{"id":15277483,"url":"https://github.com/tattersoftware/codeigniter4-reports","last_synced_at":"2025-04-12T15:10:22.077Z","repository":{"id":34892832,"uuid":"187690114","full_name":"tattersoftware/codeigniter4-reports","owner":"tattersoftware","description":"Report management framework for CodeIgniter 4","archived":false,"fork":false,"pushed_at":"2022-11-04T05:01:19.000Z","size":42,"stargazers_count":5,"open_issues_count":7,"forks_count":4,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-03-26T09:44:43.870Z","etag":null,"topics":[],"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/tattersoftware.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":"2019-05-20T18:04:35.000Z","updated_at":"2024-05-18T18:24:48.000Z","dependencies_parsed_at":"2022-09-15T22:22:11.338Z","dependency_job_id":null,"html_url":"https://github.com/tattersoftware/codeigniter4-reports","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-reports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-reports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-reports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-reports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tattersoftware","download_url":"https://codeload.github.com/tattersoftware/codeigniter4-reports/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586233,"owners_count":21128997,"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-09-30T11:06:59.990Z","updated_at":"2025-04-12T15:10:22.050Z","avatar_url":"https://github.com/tattersoftware.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tatter\\Reports\nReport management framework for CodeIgniter 4\n\n## Quick Start\n\n1. Install with Composer: `\u003e composer require tatter/reports`\n2. Create your reports in `App/Reports/`\n3. Generate contents from CLI: `\u003e php spark reports:generate`\n4. Access report content: `$reports = new \\App\\Reports\\MyReport(); $results = $reports-\u003eget();`\n\n## Features\n\nProvides a concise, non-intrusive framework for writing database reports for CodeIgniter 4\n\n## Installation\n\nInstall easily via Composer to take advantage of CodeIgniter 4's autoloading capabilities\nand always be up-to-date:\n* `\u003e composer require tatter/reports`\n\nOr, install manually by downloading the source files and adding the directory to\n`app/Config/Autoload.php`.\n\n## Create reports\n\nOnce the library is included all the resources are ready to go and you are ready to start\nmaking your report classes. Reports are detected across any namespace so can come from\nyour `App\\Reports` namespace or any module under **Reports**. See `ReportInterface` for\nrequirements when writing a report class.\n\n## Generate results\n\nOnce all the report classes are written, use the command-line interface to generate report results:\n\n`\u003e php spark reports:generate`\n\nEach report class handles checking for missing report values so this command can be run\nroutinely (e.g. by a daily cron).\n\n## Access results\n\nLoad the report class of choice and then pull whatever contents you need using its `get()`\nmethod. Called without parameters `get()` will return all contents straight from the\ndatabase. Optionally you may specify criteria to the database query, e.g.:\n```\n$results = $reports-\u003eget([\n\t'user_id'       =\u003e 56,\n\t'created_at \u003e=' =\u003e '2019-03-01',\n]);\n```\n\nOther parameters to `get()` allow recursive result grouping (e.g.\n`$results[user_id][date] =\u003e contents`) and ordering of returned content.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattersoftware%2Fcodeigniter4-reports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftattersoftware%2Fcodeigniter4-reports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattersoftware%2Fcodeigniter4-reports/lists"}