{"id":21102537,"url":"https://github.com/sytxlabs/laravel-paypal","last_synced_at":"2026-04-02T21:48:35.596Z","repository":{"id":258162423,"uuid":"873231544","full_name":"SytxLabs/Laravel-PayPal","owner":"SytxLabs","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-01T16:53:25.000Z","size":480,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-02T01:55:57.994Z","etag":null,"topics":["laravel","payment-gateway","paypal"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/sytxlabs/laravel-paypal","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/SytxLabs.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-15T20:19:38.000Z","updated_at":"2026-04-01T16:52:30.000Z","dependencies_parsed_at":"2024-11-05T16:19:24.199Z","dependency_job_id":"23a45573-dfc9-4b3b-98c9-1bd8b7dea3f0","html_url":"https://github.com/SytxLabs/Laravel-PayPal","commit_stats":null,"previous_names":["sytxlabs/laravel-paypal"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/SytxLabs/Laravel-PayPal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SytxLabs%2FLaravel-PayPal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SytxLabs%2FLaravel-PayPal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SytxLabs%2FLaravel-PayPal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SytxLabs%2FLaravel-PayPal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SytxLabs","download_url":"https://codeload.github.com/SytxLabs/Laravel-PayPal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SytxLabs%2FLaravel-PayPal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31317796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T21:35:00.834Z","status":"ssl_error","status_checked_at":"2026-04-02T21:34:59.806Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["laravel","payment-gateway","paypal"],"created_at":"2024-11-19T23:55:46.091Z","updated_at":"2026-04-02T21:48:35.578Z","avatar_url":"https://github.com/SytxLabs.png","language":"PHP","funding_links":["https://developer.paypal.com/docs/api/overview/","https://developer.paypal.com/docs/api-basics/sandbox/accounts/"],"categories":[],"sub_categories":[],"readme":"# PayPal for Laravel\n\n[![MIT Licensed](https://img.shields.io/badge/License-MIT-brightgreen.svg?style=flat-square)](LICENSE)\n[![Check code style](https://github.com/SytxLabs/Laravel-PayPal/actions/workflows/code-style.yml/badge.svg?style=flat-square)](https://github.com/SytxLabs/Laravel-PayPal/actions/workflows/code-style.yml)\n[![Latest Version on Packagist](https://poser.pugx.org/sytxlabs/laravel-paypal/v/stable?format=flat-square)](https://packagist.org/packages/sytxlabs/laravel-paypal)\n[![Total Downloads](https://poser.pugx.org/sytxlabs/laravel-paypal/downloads?format=flat-square)](https://packagist.org/packages/sytxlabs/laravel-paypal)\n\nThis package adds a simple way to integrate PayPal payments into your Laravel application.\n\n## Prerequisites\n\n* A configured Laravel database connection\n* PHP 8.2 or higher\n* Laravel 10.0 or higher\n\n## Installation\n\n```sh\ncomposer require sytxlabs/laravel-paypal\n```\n\n## Using\n- [GuzzleHttp](https://packagist.org/packages/guzzlehttp/guzzle)\n- [PayPal API Reference](https://developer.paypal.com/docs/api/overview/)\n- [PayPal Account](https://developer.paypal.com/docs/api-basics/sandbox/accounts/)\n\n## Configuration\n\n```sh\nphp artisan vendor:publish --tag=\"sytxlabs-paypal-config\"\n```\nthe configuration file is located at `config/paypal.php`\n\n## Optional Database\n\n```sh\nphp artisan vendor:publish --tag=\"sytxlabs-paypal-migrations\"\nphp artisan migrate\n```\n\n## Usage\n\n### Create a new PayPal Order\n```php\nuse SytxLabs\\PayPal\\PayPalOrder;\n\n$paypalOrder = new PayPalOrder();\n\n$paypalOrder-\u003eaddProduct(new Product('Product 1', 10.00, 1));\n\n$paypalOrder-\u003ecreateOrder();\n```\n\n### Redirect to PayPal\n```php\n$paypalOrder-\u003eapproveOrderRedirect();\n```\nor get the approval link\n```php\n$paypalOrder-\u003egetApprovalLink();\n```\n\n### Capture the payment\n```php\n$paypalOrder-\u003ecaptureOrder();\n```\n\n### Check the payment status\n```php\n$paypalOrder-\u003ecaptureOrder()-\u003egetOrderStatus();\n```\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsytxlabs%2Flaravel-paypal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsytxlabs%2Flaravel-paypal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsytxlabs%2Flaravel-paypal/lists"}