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

Latest commit

 

History

History
80 lines (66 loc) · 2.52 KB

readme.md

File metadata and controls

80 lines (66 loc) · 2.52 KB

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