PHPackages                             esensdesign/snipcart-api - 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. esensdesign/snipcart-api

ActiveLibrary

esensdesign/snipcart-api
========================

\[Forked\] A Laravel wrapper for the Snipcart API

07PHP

Since May 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/esensgit/snipcart-api)[ Packagist](https://packagist.org/packages/esensdesign/snipcart-api)[ RSS](/packages/esensdesign-snipcart-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Snipcart API
====================

[](#laravel-snipcart-api)

This package makes it super easy to work with the Snipcart API in your Laravel application.

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

[](#installation)

Install the package using Composer.

```
composer require esensdesign/snipcart-api
```

Set your Snipcart `Live Secret` and `Test Secret` in your `.env`. You can find them in your [Snipcart Dashboard](https://app.snipcart.com/dashboard/account/credentials).

```
SNIPCART_LIVE_SECRET=********************************
SNIPCART_TEST_SECRET=********************************
```

You may also publish the config of the package.

```
php artisan vendor:publish --provider="Esensdesign\SnipcartApi\SnipcartApiServiceProvider"
```

The following config will be published to `config/snipcart-api.php`.

```
