Category: laravel

Sourcehunt – Build a Medium Exporter + Cool New Libs!

It’s time for our monthly hunt for new open source libraries to use and contribute to! If you’re new to Sourcehunt, it’s our monthly post for promoting open source projects that seem interesting or promising and could use help in terms of Github stars or pull requests. It’s our way of giving ba...

My Laravel Package Building Workflow

Packages are a really important part of the Laravel experience (just like with any other framework). Whatever we need to do, there’s probably already a package for it out there; ready for a composer require to bring some magic in. Some weeks ago, I had an idea for a new one. I work for AdEspresso, […] Conti...

The Android Elephpant – Laravel on your Android Phone?

It was not that long ago that Christopher Pitt wrote an excellent article about writing and running PHP code on an iPad. After reading it, I thought to myself “It would be really cool to do the same on Android”: being able to write and edit code on the fly, for example while traveling, and not having to tak...

Covering Laracon: Are Online Conferences Introvert Heaven?

I’ve been to my fair share of conferences, and one thing that always happens is there’s a clique of us relatively talkative types (I suppose as speakers, we tend to feel empowered), and a whole lot, and I mean a whole lot of very quiet and reserved fellows, looking like Ed Sheeran queueing up to meet Ed She...

The State of PHP MVC Frameworks in 2017

A simple question prompted me to sit down and write this follow up to my article from about a year ago. Q: Any thoughts about where things are today? (2/24/2017) A: “I’d say it’s pretty much down to Laravel and Symfony at this point; when it comes to PHP frameworks. I don’t feel that there […] Continue re...

PHP Fractal – Make Your API’s JSON Pretty, Always!

If you’ve built an API before, I’ll bet you’re used to dumping data directly as a response. It may not be harmful if done right, but there are practical alternatives that can help solve this small problem. One of the available solutions is Fractal. It allows us to create a new transformation layer for...

Laravel Dusk – Intuitive and Easy Browser Testing for All!

End to end testing for JavaScript applications, particularly single-page-apps, has always been a challenge. To that end, Laravel released its 5.4 version recently with a new testing library: Dusk.With the release of Dusk, Laravel hopes to give its users a common API for browser testing. It ships with the default Chr...

Calendar as a Service in PHP? Easy, with Google Calendar API!

In this article, you’ll learn how to work with the Google Calendar API in PHP. You’ll do it by building a calendar app that allows users to add new calendars, add events, and sync calendars to Google Calendar. If you want to follow along, I recommend you to set up Homestead so you can easily get an environm...

Laravel and Braintree: Middleware and Other Advanced Concepts

Previously, we saw how to configure a Laravel app to handle Braintree subscriptions.This time, we’ll talk about how to:Prevent users from signing up to the same plan twice Add basic flash messaging to our application Add the ability to swap plans Create middleware to protect some routes based on the subscrip...