PHPackages                             osa-eg/laravel-upayments - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. osa-eg/laravel-upayments

ActiveLibrary[Payment Processing](/categories/payments)

osa-eg/laravel-upayments
========================

A Laravel package for integrating Upayments gateway.

v1.0.1(1y ago)31081MITPHPPHP ^7.4|^8.0|^8.1|^8.2|^8.3

Since Oct 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/osa-eg/laravel-upayments-integration)[ Packagist](https://packagist.org/packages/osa-eg/laravel-upayments)[ RSS](/packages/osa-eg-laravel-upayments/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Laravel Upayment Integration
============================

[](#laravel-upayment-integration)

A Laravel package for integrating the Upayment payment gateway. It provides a convenient way to interact with the Upayment API, allowing you to create payments, refunds, manage cards, and more.

 [![Image 2](assets/images/upayments.jpg)](assets/images/upayments.jpg)

Installation
------------

[](#installation)

1. **Require the package using Composer:**

    Run the following command in your terminal:

    ```
    composer require osa-eg/laravel-upayments
    ```
2. **Publish the configuration file:**

    ```
    php artisan vendor:publish --provider="Osama\Upayments\Providers\UpaymentsServiceProvider" --tag="config"
    ```
3. **Configure your environment:**

    Update your `.env` file with the following:

    ```
    UPAYMENTS_API_KEY=your_upayments_api_key
    UPAYMENTS_API_URL=https://sandboxapi.upayments.com/api/v1
    UPAYMENTS_LOGGING_CHANNEL=stack
    UPAYMENTS_LOGGING_ENABLED=true
    ```

Configuration
-------------

[](#configuration)

After publishing, the configuration file config/upayments.php will be created. You can modify it according to your needs.

```
