Recent Articles

#events

How to create a simple event streaming in Laravel?

Event streams provide you with a way to send events to the client without having to reload the page. This is useful for things like updating the user interface in real-time when changes are made to the database.

Read full article [devdojo.com]

#inertia #ssr

Using Ziggy with Inertia Server-Side Rendering

Using Tighten's Ziggy Library with Inertia's Server Side Rendering

Read full article [aaronfrancis.com]

#dependency #override

Overriding vendor classes

Ever found yourself wanting to make a small tweak to a PHP file in a Composer dependency? Here's how to do it without forking the entire package.

Read full article [downing.tech]

#GCP #google #deployments

Beginner’s Guide to Deploying PHP Laravel on the Google Cloud Platform: Part 2 By Bilal Haidar

Bilal continues his series on the PHP Laravel framework by connecting the app to a local MySQL database, involving the Google Cloud SQL service, and the...

Read full article [codemag.com]

#GCP #google #deployments

Beginner’s Guide to Deploying PHP Laravel on the Google Cloud Platform

Bilal starts a new series about using the Google Cloud Platform to deploy a PHP Laravel application.

Read full article [codemag.com]

#opengraph

Create beautiful Open Graph images with Browsershot and Tailwind CSS

For Artisan School, I wanted to create custom Open Graph images for each video page. For example, when somebody shares a link on social media...

Read full article [protone.media]

Using Database Transactions to Write Safer Laravel Code

In web development, data integrity and accuracy is really important. So, making sure that we write code that stores, updates and deletes data in our databases in a safe way is imperative.

Read full article [laravel.io]

#security

Using a Custom Key for Encrypted Cast Model Attributes in Laravel

Laravel allows you to cast model attributes as encrypted strings, when stored in the database. This gives you added security for any values that are sensitive.

Read full article [stephenreescarter.net]