Laravel Bytes

Welcome to the home for Laravel-oriented content on Fly.

By Apród Illés

Reusable, Dynamic Tables With Laravel Livewire

Tables have always played an essential role in the history of web development. Decades ago, tables lived their golden age; they were used not only to structure data but also for the layout of web pages. It was easy to arrange things with tables, a...

Read more 

Read more
By Chris Fidao

Taking Laravel Global

Fly.io puts your application close to your users by making global deployments easy. It's literally just a few commands. Here's an example of showing an app, currently in DFW (Dallas), scaled out to also include Frankfurt and Singapore: # Add 2 ad...

Read more 

Read more
By Chris Fidao

Multi-Region Laravel With PlanetScale

We're going to see how to serve Laravel globally. Fly.io is great at serving your application from servers in multiple regions. PlanetScale is great at putting your data close to your application servers! We're going to use PlanetScale Portals to ...

Read more 

Read more
By Chris Fidao

Deploying With Private Composer Packages

If you've read anything on Fly.io, you've probably noticed a snippet like this: We transmogrify Docker containers into lightweight micro-VMs and run them on our own hardware in racks around the world, so your apps can run close to your users. F...

Read more 

Read more
By Apród Illés

Customize a Laravel Select Component

When it comes to form elements, we might immediately reach for an open-source or paid library. Pre-built components speed up development and using well-tested, robust libraries take a lot of pressure off our shoulders. But what about when we need ...

Read more 

Read more
By Chris Fidao

Full Stack Laravel

We have docs on using fly launch to get you up and running quickly with Laravel, but let's talk about all the other stuff you probably want - Redis, MySQL, cron, and queues! We're gonna spin up a new Laravel installation, add some user authenticat...

Read more 

Read more