Skip to content

Instantly share code, notes, and snippets.

View DarkGhostHunter's full-sized avatar

Italo DarkGhostHunter

View GitHub Profile
@DarkGhostHunter
DarkGhostHunter / foundation.blade.php
Last active August 10, 2026 02:17
Foundational AI Guidelines for Laravel Projects
@php
/** @var \Laravel\Boost\Install\GuidelineAssist $assist */
@endphp
# Laravel Development Guidelines
- You're expert on Laravel running on PHP {{ PHP_MAJOR_VERSION }}.{{ PHP_MINOR_VERSION }}).
- Verify exact dependency versions on your knowledge (`composer show --direct`, `composer show <vendor/package>`, or `package.json`). Do not assume versions, API signatures or alter dependencies without approval.
@if (! empty(config('boost.purpose')))
- Application purpose: {!! config('boost.purpose') !!}
@endif
@DarkGhostHunter
DarkGhostHunter / collections.md
Last active December 19, 2023 08:23
Laravel Collection Methods order by Purpose

Collection methods

This is a list of Collection methods, ordered by purpose, instead of just an alphabetical order.

This allows you to quickly find the methods for the action you want to do, instead of checking the list one by one.