کارگاه Laravel
The Laravel Workshop
Buckle up, this is the workshop you've been waiting for! In fact, this course is such a massive undertaking to the point that it required three Laracasts instructors. Join Jeffrey Way, Simon Vrachliotis, and Jeremy McPeak as we build a fictional X-like platform, called Pixl, entirely from scratch!
Each instructor is responsible for one piece of the puzzle. Simon will tackle the static HTML and CSS build. Then Jeremy will convert it into a traditional and dynamic Laravel application. Finally, Jeffrey will demonstrate how to transform a server-side app into a full SPA. Let's go!
قسمتهای دوره
HTML and CSS (16)
مرور طراحی Figma
4m 45sExplore the Figma design to learn spacing, layout and key UI elements—align visual goals before rebuilding your app's interface.
سرور توسعه Vite
3m 31sStart a Vite dev server, scaffold a Tailwind-ready project, and set up a local playground to speed frontend development and gain confidence.
سفارشیسازی تم Tailwind
8m 29sCustomize Tailwind config to match your design system, tweak colors, spacing, fonts, and shadows to turn Figma into production-ready code.
صفحه ورود: چیدمان کلی
14m 28sBuild a responsive two-column login screen layout using Tailwind flex utilities to match the original UI's proportions and structure.
صفحه ورود: دکمههای اکشن
17m 56sImplement primary and secondary login buttons with hover and disabled states, consistent spacing, and accessible interactive styling.
صفحه ورود: پشته کلمات
14m 24sRecreate the login screen's vertical word stack using a flex-column trick, custom tracking, and sizing. Follow a clear, hands-on walkthrough.
صفحه ورود: بازخوانی واکنشگرا و تنظیمات نهایی
22m 55sMake your login screen fully responsive across breakpoints with stacking behavior, refined spacing, and final cleanup for a clean, consistent UI.
صفحه اپ: چیدمان ۳ ستونی
12m 4sLearn to build a responsive 3-column app layout with CSS Grid—scaffold sidebar, feed, and profile panels fast with clear, practical steps.
صفحه اپ: نوار کناری
20m 45sBuild a polished left sidebar with navigation links and refined styling, creating a balanced, connected UI for your app screen.
صفحه اپ: ناوبری
9m 13sBuild a top app navigation bar: position it, manage z-index stacking, and ensure a consistent, responsive UI across pages.
فید: درخواست پست جدید
18m 49sBuild an inviting new-post prompt with placeholder text, avatar placement, and refined spacing and borders—practical UI/CSS tips for your feed.
فید: رابط کاربری پست
21m 13sCreate a polished post UI with avatar, author info, timestamp, and responsive spacing—step-by-step CSS/HTML guidance to match your design.
فید: پست با پاسخها
24m 6sExtend your post UI with nested replies—learn indentation, visual separation, and scalable thread structure for clean, maintainable discussions.
فید: فرم پاسخ
7m 35sAdd a responsive reply form beneath posts - ensure smooth layout flow, clear visual hierarchy, and practical CSS/UX tips.
صفحه اپ: بازخوانی واکنشگرا و تنظیمات نهایی
17m 36sPolish your app layout for all screens—tighten spacing, refine mobile styles, and apply final responsive tweaks so the UI snaps into place.
پروفایل: بخش هدر
26m 26sDesign a distinctive profile header with avatar, user info, and subtle background treatments—polished UI tips to give profiles unique identity.
Laravel and Blade (30)
نصب Laravel
8m 17sInstall Laravel into an existing repo - set up the app, configure the dev server, and serve feed and profile views step-by-step.
استخراج ناوبری، کناری و چیدمان
7m 41sExtract navigation and aside into reusable partials and layouts, learn how to componentize your app markup for cleaner, maintainable views.
ایجاد کامپوننت هنرمندان برای دنبال کردن
5m 34sBuild an 'Artists to Follow' reusable Blade component to display curated artist suggestions, simplify sidebar UI, and boost engagement.
استخراج فرم پست
7m 21sRefactor duplicate post/reply markup into a reusable Blade partial to simplify views, cut duplication, and speed up Laravel maintenance.
ایجاد ویو جزیی آیتم فید
11m 14sExtract and build a reusable feed-item Blade partial to display PIXL feed items, supply mock data, and prepare your app for real content.
تولید پاسخهای فید
9m 4sExtract reply markup and update your data structure to generate feed replies, treating them like posts to streamline your Laravel feed.
ایجاد مدل پروفایل
9m 39sBuild a Profile model in Laravel: split User/Profile, add one-to-one relation, migration, factory, fillable fields, and Faker avatars for tests.
ساخت مدل پست
9m 37sBuild a Post model that handles posts and replies using nullable parent_id, add Eloquent relations, migration indexes, and a reply-ready factory.
آمادهسازی لایکها و دنبالها
8m 18sCreate Like and Follow models with migrations, constrained FKs, unique indexes and Eloquent relations to prevent duplicates and power social features.
مدلسازی بازپستها
5m 5sModel reposts as posts in Laravel: add repost_of_id, nullable content, self-relationship, tweak factories and tests to support quote/plain reposts.
انتشار پستها
10m 6sLearn to publish posts in Laravel: add a Post::publish method, scaffold Pest tests, run migrations, fix factories, and pass them.
پاسخ به پستها
5m 14sImplement a reply method so profiles can reply to posts, link replies to originals, and verify single/multiple replies with tests.
بازپستهای پایه
7m 48sLearn how to implement reposts in Laravel: create a repost factory/method, handle plain and quote reposts, wire relationships, and pass tests.
جلوگیری از بازپستهای تکراری
7m 28sPrevent duplicate reposts in Laravel by adding a DB unique constraint (profile_id+repost_of_id), using firstOrCreate, adding removeRepost and tests.
لایک کردن پستها
10m 45sImplement likes in Laravel: add Like::create/remove, enforce DB uniqueness, and test counts to prevent duplicate likes.
دنبال کردن پروفایلها
11m 33sAdd profile following in Laravel: enforce unique follows, prevent self-follow, implement createFollow/removeFollow with tests for toggle behavior.
تولید دادههای دیتابیس
7m 43sSeed the database with about 20 profiles, posts, likes, follows, reposts and replies for realistic test data, then run php artisan db:seed.
نمایش پستهای سطح بالا
20m 3sBuild a ProfileController and profiles.show route, eager-load counts and top-level posts, add cover image support and view partials.
پیادهسازی صفحه پاسخها
15m 40sBuild a 'Replies' profile page: fetch posts with a user's replies, eager-load profiles/counts, add route/view, and convert to Post/Reply components.
ایجاد کامپوننت هدر
10m 13sExtract a Profile Header component, gate engagement buttons with a showEngagement prop, and prevent replies appearing on posts pages.
نمایش یک رشته (Thread)
11m 46sShow threaded posts in Laravel: add PostController/posts.show with route model scopes, eager-load relations and counts, and support nested replies.
نهاییسازی کامپوننت هنرمندان برای دنبال کردن
8mFinalize the Artists-to-Follow component: implement real profile suggestions for both signed-in and anonymous users to boost engagement.
نمایش تایملاین
18m 46sLearn to build a timeline query that aggregates posts from followed profiles—reposts, replies, and likes—so signed-in users see relevant activity.
ایجاد پستها
6m 34sLearn to build Laravel Request objects, controller methods, and Blade components to create posts—practical, step-by-step guidance for developers.
پاسخ به پستها
12m 40sAdd reply functionality to posts in Laravel: build components, routes, and handlers so profiles can reply - hands-on, step-by-step guidance.
بازپست، لایک و دنبال کردن
7m 7sImplement repost, like, and follow UI in PIXL—learn practical, step-by-step wiring to activate social interactions quickly and confidently.
حذف پستها، لغو لایک و لغو دنبال
10m 38sDelete posts, unlike content, and unfollow users in PIXL—follow a friendly, step-by-step guide to wire UI and backend actions fast.
ایجاد کامپوننتهای دکمه اجتماعی
7m 54sBuild reusable Blade social buttons for like, repost, and follow—learn component structure, props, and markup for clean, maintainable UI.
پاکسازی
4m 47sRefactor partial views into Blade components—clean up your Laravel project for clearer, reusable UI and easier maintenance, step by step.
بازنویسی کوئریها
14m 15sRefactor controller queries into query classes to simplify logic, improve testability, and keep your Laravel code clean and maintainable.
From Blade to SPA (18)
به بخش ۳ خوش آمدید
16m 16sJoin Jeffrey Way in Section 3: clone Simon and Jeremy's work, install dependencies, and add a composer format task to run Pint and Rector.
پشته VILT
19m 44sBuild the VILT stack—Vue, Inertia, Laravel, and Tailwind CSS. Follow step-by-step setup and configuration to get a modern full-stack app running.
صفحه فید
23m 21sMigrate Blade feed views into Vue single-file components with a friendly, step-by-step workflow for converting each file.
مسیرهای نامدار و Ziggy
5m 9sUse Laravel's route() for hrefs and learn Ziggy to access named routes in JavaScript—keep URLs consistent and maintainable across your app.
SVGها میتوانند کامپوننت Vue باشند
5m 22sTurn SVGs into Vue components to hide markup, enable reusability, accept props, and simplify your UI with clean icon components.
کلاسهای منبع API
10m 54sLearn how to use Laravel API Resource classes to shape and secure data for SPAs—send only what clients need with clear, testable responses.
فرم ایجاد پست
7m 56sBuild a dynamic 'create post' form with Inertia 2's Form component—streamline validation, state, and submissions for faster development.
کامپوننت آیتم پست
17m 53sCreate a reliable Post item component: render likes, reposts, and replies with accurate counts, clear labels, and responsive UI patterns.
کامنتگذاری روی پست
10m 35sBuild post replies and interactive reply forms: toggle reply UI on button click, add threaded commenting with a hands-on demo.
نمایش یک پست
14m 12sCreate a single-post page that shows a post and its replies — hands-on guide to routing, views, and loading them.
منوهای کشویی و Headless UI
16m 53sAdd accessible dropdown menus for post actions using Headless UI — implement view, delete, and other links quickly with minimal code.
صفحه پروفایل
14m 15sBuild user profile pages: clicking avatars navigates to a profile showing bio, replies, and activity - a hands-on guide to routing and views.
قابلیت دنبال کردن
9m 32sWire up the follow/unfollow form to the backend—learn to submit requests, update the UI, and enable profile follows instantly.
پیامهای فلش
7m 46sShow instant user feedback with FlashMessages—display temporary alerts after actions like posting, following, or updating a profile.
صفحه بازاریابی
7m 23sAdd a polished splash marketing page by cloning Simon's repo—create a welcoming, conversion-focused landing page for guest users.
کارگاه تست مرورگر
25m 31sJump-start your browser testing: follow hands-on examples and ready-made test files to structure a scalable test suite and speed up real-world QA.
استقرار Pixl با استفاده از Laravel Forge
7m 14sDeploy Pixl to production with Laravel Forge - step-by-step, easy setup so you can push your app live confidently and quickly.
بخش ۴: شما
1m 53sYou've finished the series — now take control: get recommended feature projects and practical guidance to build, learn, and ship.




