Laracon had more than 20 speakers and four full-day workshops on the program this year. Daniël, Tristan, Maurice, Jelmer, Donny, Jarno and Jesse were there. Below they have listed the four most interesting things for you.

#1 learn to hack

Perhaps the most striking learning of the day came from Anti Rössi. His message: hack yourself first before someone else does, because then you will be too late. To hack yourself, you have to be able to hack. Hence his call for every developer to master a number of hacking skills. For example, use SQLmap or go to hack the box to learn how to hack yourself. See also the github with examples or view the presentation from Anti.

#2 client side versus server side form validation

In his talk “The Art of Form Validation”, Caneco took us into the world of UX and UI of forms. And especially when something goes wrong and how you can best solve it. An important take-out is that you always validate a form server side. Client side validation allows more tampering and that entails a greater risk of invalid entries. This is not to say that there is no function for client side validation. For example, while a user is typing, you can give feedback to the user if something goes wrong. And by validating an email address on the client side, you prevent additional post requests to the server.

#3 Laravel Cashier now better suited for the European market

Laravel Cashier is an interface built on Stripe, the well-known international player that allows companies and individuals to make and receive payments. With Laravel Cashier, Laravel programmers can easily build in functionality that makes it possible to offer paid subscriptions, make payments and create invoices. For Europe, Laravel Cashier in combination with Stripe did not work well because of the great diversity of payment methods per country. That's why I decided Sander van Hooft to convert Laravel Cashier to Cashier Mollie. As the name suggests, this works with Mollie, making all functionalities easier to use in the European market.

#4 Dependency Injection

Dependency injection is a method to create objects that are built by multiple classes without those classes having a relationship with each other. Many programmers see this way of programming as pure magic, but fortunately Kai Sassnowski unravels some of those mysteries for us in his talk “Demystifying Dependency Injection Containers”. Download the slides of his presentation below.