Laravel Developer Roadmap

Start with the published Laravel security lessons in this order: mass assignment, CSRF, XSS, then SQL injection. Routing, Eloquent, and queues are listed as coming soon until a lesson exists.

0 of 5 published modules marked complete on this device.

  1. 1. Laravel Mass Assignment: Fillable, Guarded and Safe Request Validation

    Allow-list model columns, pass only validated input to create() and update(), and make Laravel fail loudly in development when a field is silently dropped.

    5 min read

  2. 2. Laravel CSRF Protection: Tokens, Exceptions and SPA Pitfalls

    Keep Laravel CSRF on for cookie-auth routes, put tokens in forms and AJAX headers, exclude only true third-party webhooks, and initialize Sanctum SPAs with /sanctum/csrf-cookie.

    4 min read

  3. 3. XSS Prevention in Laravel Blade: {{ }}, {!! !!} and Js::from

    Prefer Blade {{ }} for any user-supplied text, never dump raw input with {!! !!}, use Js::from for JSON in scripts, and leave @{{ }} for frontend frameworks.

    4 min read

  4. 4. SQL Injection in Laravel: Raw Queries, Bindings and Safe ORDER BY

    Bind every value (?, named bindings, or the query builder), never interpolate request data into raw SQL, and allow-list column names and sort directions because PDO cannot bind them.

    4 min read

  5. 5. Password Hashing in PHP: password_hash, password_verify and Safe Rehashing

    Store PHP passwords safely with password_hash() and password_verify(), upgrade old hashes on login with password_needs_rehash(), and migrate legacy MD5 hashes.

    Includes the lesson’s notes on Laravel’s Hash facade.

    5 min read

  6. Coming soon

    6. Routing, controllers, and Blade basics

    Not published. This row is a placeholder, not a tutorial.

  7. Coming soon

    7. Eloquent relationships and migrations

    Not published. This row is a placeholder, not a tutorial.

  8. Coming soon

    8. Queues, cache, and deployment

    Not published. This row is a placeholder, not a tutorial.

Practical next steps

Get new briefs by email

Short alerts when a PHP or WordPress vulnerability needs action.

Double opt-in via Buttondown; unsubscribe any time. See our privacy policy.