Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Herndon jasonherndon

  • Salt Lake City, UT
View GitHub Profile
@jasonherndon
jasonherndon / gist:9ee641edfaf2e25fd71b83861b4e539a
Last active Jun 21, 2017
How we calculate change on the trade
View gist:9ee641edfaf2e25fd71b83861b4e539a
/*
*
* HEY KEVIN!
*
* OKAY .... SO HERE's HOW TO READ THIS SO YOU CAN CHECK MY LOGIC
* I HAVE TO ALWAYS TRANSLATE OUR EXPLAINATIONS INTO CODE
* AND THEN I HAVE TO ACCOUNT FOR DATA THAT MAY/MAY NOT BE THERE
* SO HERE'S WHERE YOUR LAST EMAIL ENDED UP...
*
* TO READ THIS:
View AnyController.php
<?php namespace Laracove\Http\Controllers;
use Laracove\Services\Utility\SendMail;
use Laracove\Http\Controllers\Controller;
use Exception;
class AnyController extends Controller {
/**
* Form request from /edit
View SendMail.php
<?php
namespace App\Services\Utility;
use Log;
use Mail;
use Exception;
class SendMail {
View composer.json
"stripe/stripe-php": “2.*",
"laravel/cashier": “~5.0",