Larachat

Larachat

A community for PHP and Lavarel lovers! A powerful community to integrate, collaborate, and develop.

LaraChat Articles - AI Llamas 01/07/2024

LaraChat Articles - AI Llamas Many PHP developers spend far too much time crafting responsive email templates for applications. Maybe you’re like me, and you give in and use whatever layout Laravel offers out of the box. Though this can be a quick win, it’s rarely going to satisfy a client’s custom desires.

LaraChat Articles - Use HTMX to Create Laravel Single-Page Apps Without Writing JavaScript 28/06/2024

LaraChat Articles - Use HTMX to Create Laravel Single-Page Apps Without Writing JavaScript Sometimes, the landscape of front-end development can seem overwhelming. Should I use React? Svelte? Livewire? Vue? And TypeScript? And a state manager, and maybe a meta-framework? Transpilers, bundlers, minifiers, and... hey, what is Bun?

LaraChat Articles - WeakMaps, a hidden gem in PHP 27/06/2024

LaraChat Articles - WeakMaps, a hidden gem in PHP We're working on a prominent new feature for Flare in the coming months. I hope to share more information about it in the coming weeks, but for now, we're going to keep it a secret. We're rewriting the internals of some of the Flare packages for this feature, which led to a problem.

LaraChat Articles - Mastering Programming 26/06/2024

LaraChat Articles - Mastering Programming This was one of those posts that I threw together, thought nothing of, & then it blew up. Until recently this was my most-read post ever. From years [decades] of watching master programmers, I have observed certain common patterns in their workflows.

LaraChat Articles - Lessons from Open Source Software 25/06/2024

LaraChat Articles - Lessons from Open Source Software This whole post is a response to From Contributor to Maintainer: Lessons from Open Source Software by . We already had a short chat on Twitter but I think that it's worth its own post.

LaraChat Articles - Marketing an ebook with the 4Ps 25/06/2024

LaraChat Articles - Marketing an ebook with the 4Ps This post is part of a series of posts about making and promoting an author website. I have seen a lot of threads from indie authors asking for advice with marketing their ebook.

LaraChat Articles - Leaving Twitter 25/06/2024

LaraChat Articles - Leaving Twitter That's the amount of times I instinctively wrote "twitter.com" in Chrome's URL bar today. Five times I saw the login screen instead of my home feed, and five times I was reminded about the decision I made last night.

LaraChat Articles - From Contributor to Maintainer: Lessons from Open Source Software 24/06/2024

LaraChat Articles - From Contributor to Maintainer: Lessons from Open Source Software Since I started focusing on contributions to open-source projects a few years ago, I’ve opened and had merged hundreds of Pull Requests. This article outlines some of the lessons I've learned from contributing to, authoring, and maintaining popular open-source projects.

LaraChat Articles - Elan Ullendorff: "Modularity is inversely correlated to expressiveness 24/06/2024

LaraChat Articles - Elan Ullendorff: "Modularity is inversely correlated to expressiveness From Escape the Algorithm. When we create a contract or a pattern, there are gains in familiarity, modularity, and composability, but it's a lossy translation.

LaraChat Articles - Be a content consumer for once 20/06/2024

LaraChat Articles - Be a content consumer for once I've been burning out for a long time.

LaraChat Articles - Building a landing page for your book 15/06/2024

LaraChat Articles - Building a landing page for your book This post is part of a series of posts about making and promoting an author website. This post follows on from my last post about using your website to promote your ebooks. The first step of the article explains that you need to make a website, but didn’t go into too much detail.

LaraChat Articles - Leveraging the Power of Macros in Ray 13/06/2024

LaraChat Articles - Leveraging the Power of Macros in Ray One of Ray's powerful features you might not have heard of is adding your own logic to it via macros. Macros in Ray allow you to define custom methods that can be reused throughout your application, making debugging more efficient and tailored to your needs.

LaraChat Articles - Debugging application state triggered by focus 13/06/2024

LaraChat Articles - Debugging application state triggered by focus In any modern browser's element inspector, you can force an element into a :hover or :focus state to debug styling issues. Sometimes, you want to debug an issue of an element in focus with a state controlled by JavaScript.

LaraChat Articles - Laravel Http Client Overview and Monitoring 13/06/2024

LaraChat Articles - Laravel Http Client Overview and Monitoring Laravel HTTP client was introduced starting from version 10 of the framework, and then also made available in all previous versions. It stands out as a powerful tool for making HTTP requests and handling responses from external services.

LaraChat Articles - The Art of Decision-Making 12/06/2024

LaraChat Articles - The Art of Decision-Making In a New Yorker article titled The Art of Decision-Making, Joshua Rothman explores the paradox of how we can spend a lot of energy fretting over small decisions, while the big life decisions seem to come naturally.

LaraChat Articles - spatie/pdf-to-image v3.0 12/06/2024

LaraChat Articles - spatie/pdf-to-image v3.0 This package provides an easy to work with class to convert PDF's to images. Spatie is a webdesign agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

LaraChat Articles - Using Models as Flags 11/06/2024

LaraChat Articles - Using Models as Flags One thing I've been experimenting with lately, with positive results, is using models as flags. When you need to flag one of your models somehow, you might add a boolean to your table to indicate a certain status. For example, let's say you add a feature to your application for deactivating users.

LaraChat Articles - Building Laravel Error Share 11/06/2024

LaraChat Articles - Building Laravel Error Share Last week, we released Laravel Error Share, a package to share local Laravel exceptions with a coworker or your debugging friend on the internet. We wrote all about the functionality of the package on the Flare blog.

LaraChat Articles - Introducing Laravel Error Share 10/06/2024

LaraChat Articles - Introducing Laravel Error Share Earlier this month, Laravel changed the default error page from Ignition to their home-baked basic version. Today, we are releasing a new package called spatie/laravel-error-share, which brings one of Ignition's core features to the new error page: the ability to share errors.

LaraChat Articles - Laravel One to One Relationship: A Beginner’s Guide 08/06/2024

LaraChat Articles - Laravel One to One Relationship: A Beginner’s Guide One-to-one relationships occur when one Entity in the database has an association with another record from another Entity. For example, in a company, each Staff member can have one staff ID code, and each ID Code belongs to one staff member.