Download the PHP package furic/redeem-codes without Composer

On this page you can find all versions of the php package furic/redeem-codes. 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 redeem-codes

Laravel Redeem Codes

Packagist Packagist License Scrutinizer Code Quality Build Status

A plug-and-play redeem code management system for Laravel applications.

laravel-redeem-codes is a lightweight package for managing and redeeming codes in Laravel projects. Originally developed for player compensation and event reward systems at Sweaty Chair Studio, this package offers both a clean API and a simple web-based console for managing redeem codes.

If you're looking for more flexible implementations, also consider:


Table of Contents


Installation

Install the package via Composer:

Laravel 5.5+ will auto-discover the service provider. For earlier versions, register it manually.

Manual Setup (for Laravel < 5.5)

Add the service provider to your config/app.php:


Configuration

Publish the package's configuration and migration files:

Then run the migration to create the redeem codes table:


Usage

Web Console

Visit your application at /redeem-codes to access the web-based admin console.

Laravel Redeem Codes web console

Use this interface to browse, create, and manage redeem codes visually.


Redeem Code Parameters

When creating a redeem code, the following fields are available:

To modify reward types or customize the form, edit the index.blade.php file.


Redeem Validator API

The API endpoint:

This will return the reward data in JSON format for valid codes (HTTP 200) or an error response (HTTP 400) if invalid, already used, or expired.

Explore the API in the Postman documentation.


Unity Client Integration

If you're using Unity, you can connect easily using this open source client: 👉 Unity-Redeem-Codes Repo


TODO


License

This package is open-sourced software licensed under the MIT license.


All versions of redeem-codes with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
laravel/framework Version ~5.8||~6.0||~7.0||~8.0
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 furic/redeem-codes contains the following files

Loading the files please wait ....