2017 © Pedro Peláez
 

library laravel-mojo

Laravel Mojo provides an expressive, fluent interface to Instamojo's payment and refund services.

image

lubusin/laravel-mojo

Laravel Mojo provides an expressive, fluent interface to Instamojo's payment and refund services.

  • Tuesday, February 13, 2018
  • by introwit
  • Repository
  • 2 Watchers
  • 12 Stars
  • 461 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 2 Open issues
  • 10 Versions
  • 11 % Grown

The README.md

, (*1)

Latest Stable Version Build Status Scrutinizer Code Quality SensioLabs Insight Total Downloads License , (*2)

Introduction

Laravel Mojo provides an expressive, fluent interface to Instamojo's online payments and refund services. It handles almost all of the boilerplate payment code you are dreading writing and are unable to watch next episode of Narcos because of the same. In addition to the basic payments and refunds management, Mojo stores all the tansactions & refunds details with him and gives them to you as you ask (No you don't even need to shout Ok google for that)., (*3)

Here are a few short examples of what you can do:, (*4)

$instamojoFormUrl = Mojo::giveMeFormUrl($user,$amount,$purpose);

return redirect($instamojoFormUrl);

That's it for making the payment, also it gets you the payment details after the payment with the same breeze:, (*5)

$details = Mojo::giveMePaymentDetails();

My 3 most favourites out of all the helpers, (*6)

$income = Mojo::myAndMojosIncome(); // Total amount including Instamojo's fees

$income = Mojo::myIncome(); // Total amount excluding Instamojo's fees

$income = Mojo::mojosIncome(); // Instamojo's total fees

Much more in the documentation, (*7)

Documentation

You'll find the entire documentation & the spoiler for Narcos season 3 in the WIKI. Since thats why the wiki is made for! But, no one cares sigh..., (*8)

Stuck somewhere using the laravel mojo, any feature requests, or a TV series recommendation? Feel free to create an issue on gitHub, I'll try to address it as soon as possible., (*9)

Prerequisites

  • If you are upgrading from v1 to v2 please checkout the changelog
  • PHP >=7.0
  • CURL extension should be enabled

Installation

Enable the CURL extension in order to use this package, (*10)

You can install this package via composer using this command:, (*11)

composer require lubusin/laravel-mojo

Next, you must add the service provider:, (*12)

// config/app.php
'providers' => [
    ...
    Lubusin\Mojo\MojoServiceProvider::class,
];

You can run the migrations for both transactions and refunds details after registering the service provider with:, (*13)

php artisan migrate

You can publish the config-file "laravelmojo.php" with:, (*14)

php artisan vendor:publish --provider="Lubusin\Mojo\MojoServiceProvider"

A file "laravelmojo.php" would be published in the config directory. Make sure to fill in the correct config values in your .env file before proceeding., (*15)

After successful installation, continue with the documentation here, (*16)

Contributing

Thank you for considering contributing to the Laravel Mojo. You can read the contribution guide lines here, (*17)

Security

If you discover any security related issues, please email to harish@lubus.in instead of using the issue tracker., (*18)

Meet Your Artisans

LUBUS is a web design agency based in Mumbai, India., (*19)

, (*20)

Credits

, (*21)

License

Laravel Mojo is open-sourced software licensed under the MIT license, (*22)

Changelog

Please see the Changelog for the details, (*23)

The Versions

13/02 2018

dev-master

9999999-dev

Laravel Mojo provides an expressive, fluent interface to Instamojo's payment and refund services.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel package instamojo

13/02 2018

v2.0.4

2.0.4.0

Laravel Mojo provides an expressive, fluent interface to Instamojo's payment and refund services.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel package instamojo

05/06 2017

v2.0.3

2.0.3.0

Laravel Mojo provides an expressive, fluent interface to Instamojo's payment and refund services.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel package instamojo

25/03 2017

v2.0.2

2.0.2.0

Laravel Mojo provides an expressive, fluent interface to Instamojo's payment and refund services.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel package instamojo

13/02 2017

v2.0.1

2.0.1.0

Laravel Mojo provides an expressive, fluent interface to Instamojo's payment and refund services.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel package instamojo

13/02 2017

v2.0

2.0.0.0

Laravel Mojo provides an expressive, fluent interface to Instamojo's payment and refund services.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel package instamojo

22/11 2016

v1.6

1.6.0.0

Laravel Mojo provides an expressive, fluent interface to Instamojo's payment and refund services.

  Sources   Download

MIT

laravel package instamojo

20/11 2016

v1.5

1.5.0.0

Laravel Mojo provides an expressive, fluent interface to Instamojo's payment and refund services.

  Sources   Download

MIT

laravel package instamojo

19/11 2016

v1.0

1.0.0.0

Laravel Mojo provides an expressive, fluent interface to Instamojo's payment and refund services.

  Sources   Download

MIT

laravel package instamojo

19/11 2016

v1.1

1.1.0.0

Laravel Mojo provides an expressive, fluent interface to Instamojo's payment and refund services.

  Sources   Download

MIT

laravel package instamojo