> ## Documentation Index
> Fetch the complete documentation index at: https://docs.swervpay.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Laravel

> Laravel Client for Swervpay

### Installation

Install [swervpay-laravel](https://packagist.org/packages/swervpaydev/laravel) sdk into your new or existing Laravel application using composer.

```bash Shell theme={null}
$ composer require swervpaydev/laravel
```

### Configuration

You can publish the configuration file using this command:

```bash Shell theme={null}
$ php artisan vendor:publish --tag="swervpaydev-laravel-config"
```

Set `SWERVPAYDEV_SECRET_KEY` & `SWERVPAYDEV_BUSINESS_ID` value in your environmental variable file

### Usage

```php Laravel theme={null}
use Swervpaydev\SDK\Swervpay;
```
