Download the PHP package lahza/payment-gateway without Composer

On this page you can find all versions of the php package lahza/payment-gateway. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package payment-gateway

Lahza Payment Gateway

Latest Version on Packagist GitHub Tests Action Status MIT License

A Laravel package for seamless integration with the Lahza Payment Gateway. Process payments, handle webhooks, and manage transactions with ease.

Author

Khalil Khasseb
📍 Palestine - Aroura
✉️ [email protected]
💻 GitHub Profile

Features (Updated)

Configuration (Updated)

Add to your .env: bash composer require lahza/payment-gateway bash php artisan vendor:publish --provider="Lahza\PaymentGateway\LahzaServiceProvider" --tag="lahza-config" env LAHZA_API_KEY=your_api_key LAHZA_BASE_URL=https://api.lahza.io/v1/ LAHZA_WEBHOOK_SECRET=your_webhook_secret LAHZA_TIMEOUT=15 LAHZA_RETRIES=3 LAHZA_CURRENCIES=USD,EUR,GBP json { "error": "validation_error", "message": "Validation failed for 2 fields", "error_code": 422, "documentation": "https://api-docs.lahza.io/errors/422", "errors": { "amount": ["Must be at least 0.5"], "currency": ["Invalid currency"] } }



## Testing

Enable fake mode:

## TODO: Future Enhancements

- [ ] Add support for recurring payments
- [ ] Implement payment method management
- [ ] Add currency conversion utilities
- [ ] Support 3D Secure payments
- [ ] Create admin dashboard integration
- [ ] Add more test coverage
- [ ] Implement rate limiting
- [ ] Add payment dispute handling
- [ ] Support multiple API versions
- [ ] Add PCI-compliant card storage
- [ ] Develop mobile SDK integration
- [ ] Create webhook event factory
- [ ] Add payment analytics
- [ ] Support marketplace split payments
- [ ] Implement payment retry logic

## Documentation

Full API documentation available at [Lahza API Docs](https://api-docs.lahza.io)

## Contributing

1. Fork the project
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit changes (`git commit -m 'Add some amazing feature'`)
4. Push to branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## Security

If you discover any security issues, please email:  
🔒 [[email protected]](mailto:[email protected])  
instead of using the issue tracker.

## License

The MIT License (MIT). See [LICENSE](LICENSE) for more information.

All versions of payment-gateway with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^9.0|^10.0
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lahza/payment-gateway contains the following files

Loading the files please wait ...