{"id":36998531,"url":"https://github.com/stephenjude/paystack-lite","last_synced_at":"2026-01-14T00:00:10.648Z","repository":{"id":57059672,"uuid":"196228628","full_name":"stephenjude/paystack-lite","owner":"stephenjude","description":"Fastest Way To Setup Paystack Checkout Form In Your Laravel Application","archived":true,"fork":false,"pushed_at":"2022-02-22T16:55:21.000Z","size":47,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-18T05:47:39.849Z","etag":null,"topics":["checkout","checkout-form","laravel","payment","payment-integration","paystack","paystack-lite"],"latest_commit_sha":null,"homepage":"http://stephenjude.me/articles/paystacklite-fastest-way-to-setup-paystack-checkout-form-in-your-laravel-application","language":"PHP","has_issues":false,"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/stephenjude.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":"2019-07-10T15:15:43.000Z","updated_at":"2023-12-13T15:59:20.000Z","dependencies_parsed_at":"2022-08-24T07:30:40.594Z","dependency_job_id":null,"html_url":"https://github.com/stephenjude/paystack-lite","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/stephenjude/paystack-lite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenjude%2Fpaystack-lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenjude%2Fpaystack-lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenjude%2Fpaystack-lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenjude%2Fpaystack-lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephenjude","download_url":"https://codeload.github.com/stephenjude/paystack-lite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenjude%2Fpaystack-lite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"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":["checkout","checkout-form","laravel","payment","payment-integration","paystack","paystack-lite"],"created_at":"2026-01-14T00:00:09.915Z","updated_at":"2026-01-14T00:00:10.637Z","avatar_url":"https://github.com/stephenjude.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"460\" src=\"https://miro.medium.com/max/529/1*H0mgrgTCCawmoT6ZeMieqQ.png\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://packagist.org/packages/stephenjude/paystack-lite\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/stephenjude/paystack-lite.svg\" alt=\"Latest Version on Packagist\"\u003e\u003c/a\u003e\n\u003ca href=\"https://travis-ci.com/stephenjude/paystack-lite.svg?branch=master\"\u003e\u003cimg src=\"https://img.shields.io/travis/stephenjude/paystack-lite/master.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://scrutinizer-ci.com/g/stephenjude/paystack-lite\"\u003e\u003cimg src=\"https://img.shields.io/scrutinizer/g/stephenjude/paystack-lite.svg\" alt=\"Quality Score\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/stephenjude/paystack-lite/blob/master/LICENSE.md\"\u003e\u003cimg src=\"https://img.shields.io/github/license/stephenjude/paystack-lite.svg\" alt=\"GitHub license\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/stephenjude/paystack-lite\"\u003e\u003cimg src=\"https://img.shields.io/packagist/dt/stephenjude/paystack-lite.svg\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n# Paystack Lite - Use Paystack Checkout Form on the go.\nPaystack Lite creates a blade directive you can include in your views. This is the easiest integration of paystack checkout form for Laravel applications.\n\n## Installation\n\n1. Install PaystackLite  with composer\n```bash\ncomposer require stephenjude/paystack-lite\n```\n\n2. if you are using Laravel less than 5.4 Add `Stephenjude\\PaystackLite\\PaystackLiteServiceProvider::class` to the `providers` array in your `config/app.php`.\n\n3. Open your .env file and add your public key, secret key, customer default email and payment url like so:\n```\nPAYSTACK_PUBLIC_KEY=xxxxxxxxxxxxx\nPAYSTACK_SECRET_KEY=xxxxxxxxxxxxx\n```\n\n## Usage\nPaystack-lite make use of blade directive to abstract away all javascript configurations for setting up paystack checkout forms.\n\n### Paystack Popup Example\nInclude the Blade Directive (`@paystack`) somewhere in your template before your main application JavaScript is loaded.\n\nThe `@paystack` blade directive creates  `payWithPaystack(amount, email, meta, onPaymentCompleted, onPaymentCancelled)` JavaScript helper which takes five parameters. the amount, customer email, meta data, callback for payment completed and callback when checkout form is closed.\n\n```js\n\n    var amount = 1000;\n    var email = 'customer@email.com';\n    var meta = { /* optional  meta data array */ }; \n\n    document.getElementById('paymentBtn').onclick = function() {\n        //display checkout form\n        payWithPaystack(amount, email, meta, onPaymentCompleted, onPaymentCancelled);\n    };\n\n    function onPaymentCompleted(response) {\n        alert('payment completed!');\n        console.log(resposne);\n    }\n\n    function onPaymentCancelled() {\n        alert('payment cancelled!');\n    }\n\n```\n\n### Paystack Emebeded Example\n\nInclude the paystack embeded blade directive inside of your html container\n\n```html\n    \u003cdiv\u003e\n        @paystackEmbeded(1000, 'onPaymentCompleted', 'customer@email.com')\n    \u003c/div\u003e\n```\n\nAdd your javascript callback function\n\n```js\n   \n    function onPaymentCompleted(response) {\n        alert('payment completed!');\n        console.log(resposne);\n    }\n\n```\n\n\n## Paystack Fluent APIs\nThis package makes use of [bosunski/lpaystack](https://github.com/bosunski/lpaystack) package.  So you can use all [paystack fluent APIs](https://paystack-client.herokuapp.com/#/api/supported) provided in the package.\n\n### Usage\n\n```php\n\n    use Stephenjude\\PaystackLite\\Facades\\PaystackLite;\n\n\n    /**\n     * This gets all your transactions\n     */\n    PaystackLite::api()-\u003etransactions()-\u003elist();\n    \n    /**\n     * This verifies a transaction with transaction reference passed as parameter\n     */\n    PaystackLite::api()-\u003etransactions()-\u003everify($ref);\n\n    /**\n     * This  gets all your paystack customers.\n     */\n    PaystackLite::api()-\u003ecustomers()-\u003elist();\n\n    /**\n     * This  gets all the plans that you have registered on Paystack\n     */\n    PaystackLite::api()-\u003eplans()-\u003elist();\n\n```\nSee the supported Paystack APIs [here](https://paystack-client.herokuapp.com/#/api/supported).\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n### Security\n\nIf you discover any security related issues, please email stephen@ahoba.org.ng instead of using the issue tracker.\n\n## License\n\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%2Fstephenjude%2Fpaystack-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephenjude%2Fpaystack-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephenjude%2Fpaystack-lite/lists"}