You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Werner
wsydney76
Retired. No further 'professional' activity, but supporting some young folks every now and then.
A useful way to understand these Laravel concepts is by the role they
play in the application, because several belong to MVC, several belong
to Laravel's infrastructure, and others are architectural patterns that
Laravel does not prescribe.
Version scope: This revision targets Laravel 13.x and
Livewire 4.x conventions as of August 2026. Ecosystem packages
such as Filament, Flux, and Blaze evolve independently, so check their
Livewire search component for Craft, handcrafted, explained by AI...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Short evaluation: Using Blade/Livewire/Flux in Craft 6
Using Blade and Livewire/FLux in Craft 6 alpha
Task
In the context of a long-term project, considering moving a complex Laravel application to Craft 6, benefitting from stuff like multi-site, draft workflows for parts of content (the public facing website), while other content will continue to live in custom database tables.
The project has a significant amount of existing blade templates and relies heavily on Livewire/FLux for interactivity. The goal is to evaluate the feasibility of this migration and identify any potential challenges or benefits.
This is just a first look, just evaluating whether this path is still valid. Based on alpha 2 release, not yet stable.
Inspect element database records (for education purpose only. Mostly AI generated, so there may be errors)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Craft CMS 5 Content Storage Database Model (draft)
Craft CMS 5 Content Storage Database Model
The central elements table
In Craft CMS 5, the elements table serves as the foundational registry for every piece of content and content-like object in the system. Rather than storing the actual content itself, it provides a unified identity layer that all element types—such as entries, assets, categories, users, and nested entries—inherit from.
Each row in the elements table represents a single element instance and contains core, globally relevant metadata that is independent of site, field layout, or element-specific attributes. This includes the element’s unique ID, its fully qualified class type (which determines behavior and capabilities), and system-level state flags such as whether the element is enabled, archived, or soft-deleted. It also tracks lifecycle timestamps like creation and last update dates.
The key architectural role of this table is to decouple identity and lifecycle management from both localization and content storage. Site-specific da
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTIONS: Library functions for calling Craft CMS controllers from JavaScript
How to Use the Craft CMS Actions Twig Component
This documentation explains how to use the @extras/_actions.twig component in Craft CMS to call web controller actions via JavaScript and display success or error notices.
Component Overview
The Actions component allows you to make asynchronous requests to Craft CMS web controller actions and handle responses within your JavaScript code. Additionally, the component can display success or error notifications to users based on the outcome of the requests.
Create an image from video asset, that can be used for <video poster="..."> or for index pages.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters