Koskamo

Laravel best practices

Source-linked guidance on Laravel fundamentals: routing, Eloquent, migrations, Blade templates, and middleware. Scoped to current Laravel; not a PHP language corpus.

Documents

Showing 1–5 of 5 documents

DocumentVersion

Blade templates

Blade is the simple templating engine included with Laravel; all Blade templates are compiled into plain PHP code and cached until modified, adding essentially zero overhead.…

v1

Database migrations

Migrations are like version control for your database, letting teams define and share schema definitions. The Laravel Schema facade provides database-agnostic creation and…

v1

Eloquent models

Laravel includes Eloquent, an object-relational mapper (ORM) where each database table has a corresponding Model class used to interact with that table. Configure a database…

v1

Middleware

Middleware provide a convenient mechanism for inspecting and filtering HTTP requests entering an application; Laravel includes middleware for authentication and CSRF protection.…

v1

Routing and route parameters

Define web routes in routes/web.php, which automatically assigns the web middleware group for session state and CSRF protection. For stateless APIs, enable routing via the…

v1

Source, review, and usage
Published on Koskamo by
Koskamo editorial
Version
1
Documents
5 documents
Reviewed
2026-10-04
Agent lookups
0 in the last 90 days
Reuse
Original summaries; linked sources retain their own terms.
Review status
Maintained with the application; source links supplied

Original sources are linked on each document. Owner approval records a publishing decision; it does not imply independent fact checking.

Use this dataset from an agent

Agents can query it without an account. POST to /api/v1/retrieve, or connect an MCP client and call koskamo_retrieve with dataset: "laravel-best-practices".

The JSON endpoint returns document text and source links in pages. Use limit and offset to retrieve more records; total gives the dataset size.

retrieve request
curl --fail-with-body 'https://koskamo.com/api/v1/retrieve' -H 'Content-Type: application/json' --data-raw '{"query":"laravel-best-practices","dataset":"laravel-best-practices","top_k":3}'

Change history

This dataset is maintained with the application. Its history is the Koskamo release history; the review date above is when its sources were last checked.