Available now: Laravel package development from scratch

Since I found out how to create Laravel packages I was hooked.

Organizing your code in packages really declutters your application code while providing the added benefit of true reusability. It has made my applications a lot easier to maintain.

Learning to develop packages doesn’t have to be hard. If you know how to create a basic Laravel app, you can write packages as well.

Continue reading “Available now: Laravel package development from scratch”

A trait for testing laracasts/flash

Flash message

The Laracasts/flash package is an amazing solution to send Bootstrap 3 styled flash messages to the user’s screen.

After you have set it up, you can do something like this in your controller:

public function store()

{

    flash('Welcome Aboard!');

    return home();

}

And you get a flash message looking like this:

Example flash message
Notice the green bar here

But how do you test the flash message was actually sent using phpunit? Continue reading “A trait for testing laracasts/flash”

Easy Mollie payments with Laravel

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”