PHPackages                             evalue8bv/creditable-paywall - 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. [API Development](/categories/api)
4. /
5. evalue8bv/creditable-paywall

ActiveLibrary[API Development](/categories/api)

evalue8bv/creditable-paywall
============================

Official PayWall SDK for Creditable

0.4.0(2y ago)022MITPHPPHP &gt;=7.4

Since Apr 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/eValue8bv/creditable-paywall)[ Packagist](https://packagist.org/packages/evalue8bv/creditable-paywall)[ RSS](/packages/evalue8bv-creditable-paywall/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)DependenciesVersions (11)Used By (0)

 [![](https://raw.githubusercontent.com/eValue8bv/creditable-paywall/main/logo.png)](https://raw.githubusercontent.com/eValue8bv/creditable-paywall/main/logo.png)

Creditable PayWall PHP Package
==============================

[](#creditable-paywall-php-package)

[![Latest Stable Version](https://camo.githubusercontent.com/a6988a2c314371017ef791eb44f4b21e3278ae0728cc3bbbf7ff634f5b6a066f/68747470733a2f2f706f7365722e707567782e6f72672f6576616c75653862762f63726564697461626c652d70617977616c6c2f76)](https://packagist.org/packages/evalue8bv/creditable-paywall)[![Total Downloads](https://camo.githubusercontent.com/ea1df860314f4ed316d845b4dd63ca8d0956981e22bebc5771b2af41126e296d/68747470733a2f2f706f7365722e707567782e6f72672f6576616c75653862762f63726564697461626c652d70617977616c6c2f646f776e6c6f616473)](https://packagist.org/packages/evalue8bv/creditable-paywall)[![License](https://camo.githubusercontent.com/80c2a0c300207283a0f6bb33d0156636a69c451498d55428abc6d281921329e8/68747470733a2f2f706f7365722e707567782e6f72672f6576616c75653862762f63726564697461626c652d70617977616c6c2f6c6963656e7365)](https://packagist.org/packages/evalue8bv/creditable-paywall)

The Creditable-Paywall PHP package is a simple and easy-to-use wrapper for the Creditable API. Its purpose is to enable the integration of a Creditable button into an existing paywall system, thus enabling customers to pay for articles on a pay-per-article basis with credits.

Requirements
------------

[](#requirements)

To use the Creditable pay per article button, the following things are required:

- Get yourself a free Creditable Partner Account at . No signup costs are applicable.
- Login to your dashboard at  and add your media title(s).
- An apikey will be generated for each media title you add.

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

[](#installation)

To install the package, use [Composer](https://getcomposer.org/) by running the following command:

```
composer require evalue8bv/creditable-paywall
```

Usage
-----

[](#usage)

The javascript code of Creditable requires you to have the following HTML elements on your page:

```

```

Include the following stylesheet in your head element:

```
