{"id":43409067,"url":"https://github.com/digikraaft/laravel-dashboard-paystack-customers-tile","last_synced_at":"2026-02-02T16:26:19.930Z","repository":{"id":56968641,"uuid":"286109910","full_name":"digikraaft/laravel-dashboard-paystack-customers-tile","owner":"digikraaft","description":"A tile to show list of Paystack Customers on Laravel Dashboard","archived":false,"fork":false,"pushed_at":"2020-09-10T06:00:32.000Z","size":188,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-22T11:07:12.674Z","etag":null,"topics":["digikraaft","laravel","laravel-dashboard","laravel-dashboard-tile","paystack","paystack-dashboard","php"],"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/digikraaft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-08T19:51:34.000Z","updated_at":"2024-04-22T11:07:12.675Z","dependencies_parsed_at":"2022-08-21T06:40:20.361Z","dependency_job_id":null,"html_url":"https://github.com/digikraaft/laravel-dashboard-paystack-customers-tile","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/digikraaft/laravel-dashboard-paystack-customers-tile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digikraaft%2Flaravel-dashboard-paystack-customers-tile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digikraaft%2Flaravel-dashboard-paystack-customers-tile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digikraaft%2Flaravel-dashboard-paystack-customers-tile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digikraaft%2Flaravel-dashboard-paystack-customers-tile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digikraaft","download_url":"https://codeload.github.com/digikraaft/laravel-dashboard-paystack-customers-tile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digikraaft%2Flaravel-dashboard-paystack-customers-tile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29015148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T16:17:30.374Z","status":"ssl_error","status_checked_at":"2026-02-02T15:58:50.469Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["digikraaft","laravel","laravel-dashboard","laravel-dashboard-tile","paystack","paystack-dashboard","php"],"created_at":"2026-02-02T16:26:18.974Z","updated_at":"2026-02-02T16:26:19.924Z","avatar_url":"https://github.com/digikraaft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A tile to show list of Paystack Customers on Laravel Dashboard\n![run-tests](https://github.com/digikraaft/laravel-dashboard-paystack-customers-tile/workflows/run-tests/badge.svg)\n[![Build Status](https://scrutinizer-ci.com/g/digikraaft/laravel-dashboard-paystack-customers-tile/badges/build.png?b=master)](https://scrutinizer-ci.com/g/digikraaft/laravel-dashboard-paystack-customers-tile/build-status/master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/digikraaft/laravel-dashboard-paystack-customers-tile/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/digikraaft/laravel-dashboard-paystack-customers-tile/?branch=master)\n[![Code Intelligence Status](https://scrutinizer-ci.com/g/digikraaft/laravel-dashboard-paystack-customers-tile/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\n![alt Paystack Customers](docs/paystack-customers-data.png)\n\nThis tile displays the list of [Paystack](https://paystack.com) customers. \nIt can be used on [the Laravel Dashboard](https://docs.spatie.be/laravel-dashboard).\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require digikraaft/laravel-dashboard-paystack-customers-tile\n```\nYou need to publish the migrations and config file of the [Laravel Dashboard](https://github.com/spatie/laravel-dashboard) package.\nIn the `dashboard` config file, you can optionally add this configuration in the tiles key and customize it for your own needs:\n```\n// in config/dashboard.php\n'tiles' =\u003e [\n        /**\n         * Paystack configuration settings\n         */\n        'paystack' =\u003e [\n\n            'secret_key' =\u003e env('PAYSTACK_SECRET'),\n\n            'customers' =\u003e [\n                /**\n                 * the values here must be supported by the Paystack API\n                 * @link https://paystack.com/docs/api/#customer-list\n                 */\n                'params' =\u003e [\n                    'perPage' =\u003e 100,\n                    'from' =\u003e now()-\u003esubMonths(3)-\u003etoDateString(),\n                    'to' =\u003e now()-\u003etoDateString(),\n                ],\n\n                /**\n                 * How often should the data be refreshed in seconds\n                 */\n                'refresh_interval_in_seconds' =\u003e 1800,\n            ],\n        ],\n    ],\n```\nYou must set your `PAYSTACK_SECRET` in the `.env` file. You can get this from your Paystack dashboard. \nTo load the customer data from Paystack, you need to schedule the `FetchCustomersDataFromPaystackApi`\ncommand:\n```\n// in app/Console/Kernel.php\nuse Digikraaft\\PaystackCustomersTile\\FetchCustomersDataFromPaystackApi;\n\nprotected function schedule(Schedule $schedule)\n{\n    $schedule-\u003ecommand(FetchCustomersDataFromPaystackApi::class)-\u003etwiceDaily();\n}\n```\nYou can change the frequency of the schedule as desired. You can also use the\n`php artisan dashboard:fetch-customers-data-from-paystack-api` command.\n\n## Usage\nIn your dashboard view you use the `livewire:paystack-customers-tile` component.\n```html\n\u003cx-dashboard\u003e\n    \u003clivewire:paystack-customers-tile position=\"e7:e16\" /\u003e\n\u003c/x-dashboard\u003e\n```\nYou can add an optional title:\n```html\n\u003cx-dashboard\u003e\n    \u003clivewire:paystack-customers-tile position=\"e7:e16\" title=\"Paystack Customers\" /\u003e\n\u003c/x-dashboard\u003e\n```\n\n## Pagination\nThe package paginates data by default. The default value is 5. This can be changed by adding a `perPage`\nproperty to the tile:\n```html\n\u003cx-dashboard\u003e\n    \u003clivewire:paystack-customers-tile position=\"e7:e16\" title=\"Paystack Customers\" perPage=\"10\" /\u003e\n\u003c/x-dashboard\u003e\n```\n\n## Testing\nUse the command below to run your tests:\n``` bash\ncomposer test\n```\n\n## More Good Stuff\nCheck [here](https://github.com/digikraaft) for more awesome free stuff!\n\n## Changelog\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security\nIf you discover any security related issues, please email dev@digitalkraaft.com instead of using the issue tracker.\n\n## Credits\n- [Tim Oladoyinbo](https://github.com/timoladoyinbo)\n- [All Contributors](../../contributors)\n\n## Thanks to\n- [Spatie](https://github.com/spatie/) for the [Laravel Dashboard](https://github.com/spatie/laravel-dashboard) package\n\n## License\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigikraaft%2Flaravel-dashboard-paystack-customers-tile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigikraaft%2Flaravel-dashboard-paystack-customers-tile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigikraaft%2Flaravel-dashboard-paystack-customers-tile/lists"}