Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
/ Ally Public archive

An attempt at creating Laravel team billing as an API. Inspired by Laravel Spark and built with Laravel Passport and Cashier.

License

Notifications You must be signed in to change notification settings

Prepager/Ally

Repository files navigation

Laravel Ally

Travis Build Status Coverage Status StyleCI Status Dependency Status

Introduction

Laravel Ally is a fully API based team subscription service currently supporting the Braintree payment system. The project is heavily inspired by Laravel Spark and take advantage of Laravel Passport and Laravel Cashier.

The project is in a somewhat feature complete state however updating, versioning and various other aspect of the project will most like be changed.

Documentation

Coming soon.

Ecosystem

JavaScript SDK - Consume the REST API from JavaScript.

VueJS Project - Interact with the REST API from Vue components.

Installation

Installation and updating are currently just based on git clone/pull (will be change).

Clone the Repository

$ git clone [email protected]:ZapsterStudios/Ally.git

Require and Register the Repository in composer.json

"require": {
    ...
    "zapsterstudios/ally": "*@dev"
},
"repositories": [
    {
        "type": "path",
        "url": "./Ally"
    }
]

Run Installation

$ php artisan ally:install

Testing

Some tests require a Braintree Sandbox account and are grouped under 'Subscription'.

Non-Subscription Tests

Command

$ vendor/bin/phpunit Ally --exclude-group Subscription

Subscription Tests

Braintree Plans

valid-first-plan  | Valid First Plan  | $5
valid-second-plan | Valid Second Plan | $10

Command

$ vendor/bin/phpunit Ally --group Subscription

License

Laravel Ally is open-sourced software licensed under the MIT license

About

An attempt at creating Laravel team billing as an API. Inspired by Laravel Spark and built with Laravel Passport and Cashier.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages