مشاهده همه دوره‌ها
Frameworksتازه‌کار43 قسمت

Laravel از صفر (نسخه ۲۰۲۶)

Laravel From Scratch (2026 Edition)

Welcome to the latest iteration of the longest running Laravel introductory video series in the world. Like clockwork, we refresh this series every two years. This latest 2026 iteration covers Laravel 12 and beyond.

You'll learn not only the basic fundamentals of Laravel, but also how to leverage more advanced features like authentication, authorization, queues, testing, and more. We'll even review the full deployment process from scratch.

قسمت‌های دوره

The Fundamentals (13)

خوش آمدید

34s

Join Jeffrey Way for Laravel From Scratch 2026 — a friendly, hands-on intro to modern Laravel fundamentals, tools, and best practices.

محیط توسعه خود را راه‌اندازی کنید

7m 27s

Set up your Laravel dev environment with Laravel Herd: install PHP, Composer, Node, scaffold a project, and explore routes/web.php and welcome view.

مسیریابی ۱۰۱

5m 26s

Learn Laravel routing: use Route::get and view(), add /about and /contact pages, and link between routes with ease.

فایل‌های چیدمان

16m 10s

DRY up views with Blade layouts: extract shared markup, use $slot, pass title props, Route::view, and merge $attributes for flexible components.

انتقال داده به ویوها

5m 36s

Pass data to Blade views in Laravel: use Route::view's third param or view(...), read query with request(), and rely on Blade escaping.

دستورات Blade

7m 39s

Master Blade directives: use @dump/@dd for debugging and clean control flow with @if, @foreach, and @forelse. Quick tips.

19m 43s

Build a tiny Laravel notebook: handle POST forms with @csrf, use request() to capture input, store ideas in session, and redirect home.

دیتابیس‌ها، مهاجرت‌ها و Eloquent

23m 59s

Master Laravel migrations, Eloquent models, and queries: create an ideas table, run artisan migrate, use Idea::create() and where() to filter ideas.

درخواست‌های HTTP و REST

24m 49s

Build a RESTful CRUD flow for ideas: list, show, edit, update, delete, confidently using Laravel route model binding and method spoofing.

8m 51s

Organize Laravel routes with an IdeaController: move the form to ideas/create, implement seven resourceful actions, and centralize route logic.

اعتبارسنجی درخواست

12m 47s

Add request validation in Laravel: use request->validate, display errors with @error, and extract a reusable x-error component for cleaner forms.

کلاس‌های درخواست فرم

8m 39s

Move validation into a Form Request: scaffold StoreIdeaRequest, use authorize() and rules(), customize messages, and simplify controller validation.

یک انحراف کوتاه به DaisyUI

12m 48s

Polish UI quickly with Tailwind and DaisyUI: build nav, cards, and form controls; extract a nav component and reusable idea-card.

Final Project: Build and Deploy an App (21)

راه‌اندازی نهایی پروژه

14m 29s

Build and deploy a feature-rich Idea app: init repo, push to GitHub, deploy with Forge, and add Pint, Rector, Code Rabbit, and Laravel Boost.

لایه مدل خود را طراحی کنید

18m 40s

Scaffold Idea and Step models with migrations, factories, an IdeaStatus enum, relationships, defaults, and tests for a solid data foundation.

راه‌اندازی تم Tailwind و رابط کاربری اولیه

34m 14s

Set up a Tailwind theme and reusable UI: create layouts, nav, form/field components, and wire register/login routes for faster page building.

تست مرورگر فرم‌های ثبت‌نام با Pest

9m 55s

Write Pest browser tests for Laravel registration, login, and logout: use user factories, data-test selectors, and debug to verify happy/error paths.

پیام‌های فلش و تعامل با AlpineJS

6m 57s

Make Laravel flash messages come alive with Alpine.js: add a tiny x-data component using x-show, transition, and a timeout to auto-fade alerts.

کارت‌های ایده

20m 31s

Build polished idea cards for /ideas: create route/controller, extract reusable Blade components (x-card, x-idea-status), and prep for filtering.

فیلتر کردن ایده‌ها

21m 44s

Add status filtering to ideas via the query string and an Eloquent scope; display filter pills with counts handled in the Idea model.

نمایش یک ایده

11m 13s

Build a functional single-idea page: create show.blade.php, wire IdeaController@show, render title, links, nav, and a delete form.

ایجاد یک مودال کاربردی با AlpineJS

16m 12s

Build an accessible AlpineJS modal: open via events, use x-data/x-show with transitions, add escape/click-away handlers, extract reusable x-modal.

ساخت فرم ایده

19m 12s

Build an idea form: wire to POST /ideas, make a textarea-aware field, add an Alpine status selector, add client-side validation and persist ideas.

تست فرم ایجاد ایده

6m 30s

Automate testing of your idea form with browser tests: add data-test attributes, simulate clicks/fills as a user, and assert persistence.

اجازه دادن به یک یا چند لینک

17m 40s

Easily add one-or-many link inputs to ideas: use Alpine x-model and an add button, submit links[] array, and validate server-side.

مراحل عملی

16m 24s

Add actionable steps to ideas: reuse modal, bind Alpine inputs to a steps array, validate and persist them, render and toggle completion.

آپلود تصاویر ویژه در فضای ذخیره‌سازی

9m 33s

Add featured image uploads to ideas: use a file input, store files with Laravel storage, expose via storage:link and show in views.

کلاس‌های اکشن

11m 7s

Refactor idea creation into a reusable CreateIdea action: remove logic from controllers, use handle(), constructor injection and CurrentUser.

مجوزدهی یک الزام است

12m 24s

Secure your app with Laravel authorization: implement gates and an IdeaPolicy, use authorize/can middleware, and add tests to lock access.

مودال ویرایش ایده

23m 33s

Edit ideas with a reusable Alpine modal: extract modal into a component, test the edit flow, and make open-modal dispatch work on show page.

اکشن به‌روزرسانی ایده

16m 24s

Implement an UpdateIdea action: handle image uploads, update attributes, sync object-based steps, and secure the flow with browser and unit tests.

پروفایل خود را ویرایش کنید

18m 17s

Add profile edit flow: build /profile/edit with populated form, validate updates, handle password and email changes, notify and test.

استقرار و سپس پیاده‌سازی درخواست ویژگی

11m 27s

Deploy to Forge, run tests, format code, then add a formatted_description accessor with Str::markdown and Tailwind typography for polished markdown.

از اینجا به کجا برویم

2m 20s

Improve your finished Laravel app: add team collaboration and advanced authorization, or explore Livewire or Vue/React with Inertia for richer SPAs.

یادگیری را ادامه دهید

تصویر بندانگشتی React - فراتر از مبانی
React - فراتر از مبانی

با Andre Madarang

  • 13 قسمت
  • متوسط
  • Frameworks
تصویر بندانگشتی اپ‌های مدرن Laravel را با Inertia.js بسازید
اپ‌های مدرن Laravel را با Inertia.js بسازید

با Jeffrey Way

  • 24 قسمت
  • متوسط
  • Frameworks
تصویر بندانگشتی ساخت AlpineJS
ساخت AlpineJS

با Caleb Porzio

  • 6 قسمت
  • حرفه‌ای
  • Frameworks
تصویر بندانگشتی توسعه‌دهنده TALL
توسعه‌دهنده TALL

با Shruti Balasa

  • 16 قسمت
  • تازه‌کار
  • Frameworks
تصویر بندانگشتی اپ‌های بومی را با PHP بسازید
اپ‌های بومی را با PHP بسازید

با Simon Hamp

  • 17 قسمت
  • متوسط
  • Frameworks

دوست دارید گاهی خبرهای Laracasts را ایمیل کنیم؟