Laravel Vapor is amazing.
But despite all its nice bells and whistles, human error can always find its way in.
On one of my projects, I mixed up some environment settings and connected to the wrong database. Ouch! Seems I’m not a robot after all.
Luckily, I was only overwriting old dummy data…
Nevertheless, I wrote a little command that helps me prevent this from happening again. It’s a simple check I’ve now added as the first build step on each Vapor deployment:
- 'php artisan ensure:database:is staging'
- '<other deploy steps here...>'
Here is the command, enjoy!
(Header photo by Jan Antonin Kolar)
You can now use the Mollie edition of Laravel Spark as a starting point for your next Big Idea.
Powered by Mollie’s payment platform, this Spark edition is perfectly suited for the European market.
Europeans and their very very odd behaviour…
My US friends find this super weird, but we Europeans tend to favour our local payment methods such as iDEAL and Bancontact over PayPal or creditcard. Our online payment systems seem to be wired differently. I’m told our brains are too (really?!).
Anyway, if you’d like some European customers for your SAAS app you’ll need to support these trusted payment methods.
On top of all these strangely sounding payment methods (Belfius or SOFORT anyone?), you want to keep your non-European customer base as well. So you’ll need creditcard and PayPal support too.
And that’s where Mollie shines. They’re offering a single checkout for all of these payment methods. Starting today these shiny features are available in a dedicated Mollie edition of Laravel Spark.
If you’re holding a recent Spark license, you can now choose between the Stripe edition and the Mollie edition.
Installing Spark for Mollie is simple, and takes only a few extra steps when you’re using it the first time:
- Make sure you have a recent Spark license. That means you can install the default Spark edition version 6 and up (a.k.a. “Spark Aurelius”).
- Visit your GitHub settings page at spark.laravel.com. Connect your GitHub account if necessary.
- Spark for Mollie is kept in a separate repository. Click “Join repository” to get access.
- Follow the installation instructions in the repository’s readme.
You can find Spark’s general features in the Spark documentation page.
I really hope you’re all going to enjoy it. I built it because I needed it for my own projects.
And when your own Spark Mollie baby goes live, feel free to share the link with me so we all can share your joy, sit in awe and marvel at your work.
What. A. Year. 2018.
Well, what an eighteen months actually – this post will not make any sense cut short.
Let’s start with…
My personal life
During the second half of 2017 my girlfriend and I sold our house in Breda, The Netherlands, while the photographer was still taking the pictures.
And moved to Burgundy, France.
Continue reading “2018 – The year I declined a CTO position and tried not to get shot”
Laravel is a fantastic framework for developing state-of-the-art web applications.
Python is terrific for data processing.
Continue reading “How to use Laravel with Python and the command line”
Every Laravel E-commerce project requires processing payments and generating invoices. Yet for the best experience this flow needs to be tailored for each project. Continue reading “Stop creating your Laravel invoices manually”
In the previous post you learned that Cashier is not always the best fit for payment processing in Laravel. And if that’s the case you will need to integrate payment processing manually into your application.
Personally I have been integrating the Mollie gateway into Laravel projects targeting a Dutch customer base. This way it is possible to accept iDeal payments – which is the preferred method of my customers. Continue reading “Easy Mollie payments with Laravel”
Laravel‘s official Cashier package is great for handling credit card payments and generate accompanying invoices. I love it.
But what if you need to implement other payment methods than credit cards?
It took me a few projects (months…) to figure this one out, now let me save you the effort and share it with you. Continue reading “When Laravel Cashier will not help you”