Multiple Account Support With Laravel Cashier

Cashier is a great interface into the Stripe PHP API. Simply add your stripe key and stripe secret into your .env file and you’re good to go. But what if you have multiple stripe accounts? Or perhaps you are making charges on behalf of your clients each with their own stripe account? At first glance, … Read more

Posted in Categories Blog

Mocking Third Party Libraries

A simple way to test components that depend on third party libraries without making any api calls. If you have ever written any tests for components that depend on a third party library, most likely you would have also set up test data first either manually in the third party’s test environment or via fixtures … Read more

Posted in Categories Blog