Skip to content

Instantly share code, notes, and snippets.

View leek's full-sized avatar
🔌
Plugged in

Chris Jones leek

🔌
Plugged in
View GitHub Profile

Povilas Korop — Laravel / PHP / Filament Tips Index

A curated index of coding tips posted by @PovilasKorop (Laravel Daily) on X, with the code from each tip's screenshot transcribed into copy-pasteable text.

  • Tips collected: 83
  • Date range: 2026-03-20 → 2026-06-30
  • Categories (tips can span more than one): Laravel (69) · Eloquent (9) · Filament (13) · Livewire (3) · PHP (6) · Testing (4)
  • Source: pulled from his X timeline via the X API v2 (/2/users/:id/tweets); code transcribed from the attached images.

⚠️ Coverage note: This covers ~3.5 months (2026-03-20 → 2026-06-30), not the full 6 months requested. The X user-timeline API caps at a user's ~3,200 most recent posts; because he posts/replies very frequently, that window only reaches back to mid-March 2026. Reaching the full 6 months would require Pro-tier full-archive search (/2/tweets/search/all), which is not enabled on this API plan.

@leek
leek / CLAUDE.md
Created June 24, 2026 19:39
config/CLAUDE.md

Configuration

Rules

  • MUST NOT call env() outside config/*.php. Application code reads via config('foo.bar').
  • SHOULD keep custom application settings in a dedicated config file (e.g. config/project.php).
  • MUST store third-party service credentials / API keys in config/services.php.

Naming

@leek
leek / chrome-deadlink-purge.sh
Created May 14, 2026 16:20
Remove dead bookmarks (404 / DNS fail / timeout) from a Chrome profile
@leek
leek / ai-commit-review.yml
Created April 3, 2026 14:49
Multi-model AI commit review — GitHub Actions workflow that reviews every commit with Claude, GPT, and Gemini
name: AI Commit Review
on:
push:
branches: [main]
permissions:
contents: write
issues: write
pull-requests: write
@leek
leek / filament-ui-plus.md
Last active July 1, 2026 16:25
Filament UI Plus — Enhanced UI components for Filament panels

Filament UI Plus — Enhanced UI components for Filament panels

Filament UI Plus

Enhanced UI components for Filament panels. Adds features that Filament doesn't ship out of the box, designed to be minimally invasive and upgrade-safe.

Features

Dual Sub-Navigation

@leek
leek / SKILL.md
Created February 4, 2026 16:08
Takes a PRD (markdown file or text) and creates a Linear project with properly structured issues.
name ralph-linear
description Convert PRDs into Linear tasks for Ralph autonomous agent system. Use when you have an existing PRD and need to convert it to Linear tasks. Triggers on: turn this into linear tasks, create linear tasks from this, convert to linear, linear issues

PRD to Linear Converter

Takes a PRD (markdown file or text) and creates a Linear project with properly structured issues.


@leek
leek / filament-workflows.md
Last active February 25, 2026 21:57

Workflow Engine / Automations

A Filament plugin for building and managing automated workflows. Create powerful workflow automations with a visual builder, extensible triggers and actions, async execution, and comprehensive audit logging.

Video

screenshot

Screenshots

@leek
leek / AGENT.md
Last active January 15, 2026 22:59
My Ralph Setup for Claude Code, Codex, Gemini, or Amp using Laravel + Filament

Project Learnings

Project Setup

Quick Setup (Recommended)

composer setup

This single command runs the complete setup: installs dependencies, copies .env, generates app key, runs migrations, installs npm packages, and builds assets.

#!/usr/bin/env bash
set -euo pipefail
APP_DIRS=(
"/Applications"
"$HOME/Applications"
)
if ! command -v brew >/dev/null 2>&1; then
echo "Error: Homebrew not found in PATH" >&2
@leek
leek / filament-decision-tables.md
Last active November 19, 2025 17:58

Decision Tables / Rules Engine

A Filament plugin for creating and managing decision tables (rules engine). Empower business users to create, update, and review complex decision logic through an intuitive visual interface - no code required.

Video

image

Screenshots