PHP برای مبتدیان
PHP For Beginners
We all start somewhere. For programming, this series is that first step. I've designed it specifically for newcomers to, not just PHP, but programming in general. Here, you'll learn the fundamentals of PHP - all the way down to defining basic variables and arrays.
Think of this series as a key stepping stone for your programming journey.
قسمتهای دوره
The Fundamentals (11)
چگونه یک زبان برنامهنویسی انتخاب کنیم
1m 21sWondering which programming language to learn first? Discover why PHP stands out and how to make the best choice for your coding journey in this friendly Laracasts guide!
ابزارهای حرفه
8m 37sGet set up for success! Learn which essential tools to install and how to prepare your environment in this friendly, step-by-step Laracasts episode.
اولین برچسب PHP شما
8m 9sStart your PHP journey! Learn how to set up basic HTML, launch a PHP server, and view your first PHP tag in the browser with this friendly Laracasts lesson.
Discover the power of variables and basic concatenation! Learn why variables matter and how to use them effectively in this friendly Laracasts lesson.
شرطها و مقادیر بولی
11m 6sBuild a dynamic webpage using conditionals and booleans! Learn how to display messages based on user actions in this friendly, hands-on Laracasts lesson.
Learn how to use arrays to store and manage lists like usernames or book titles. This friendly Laracasts lesson helps you organize data with ease!
آرایههای انجمنی
7m 19sMaster associative arrays in PHP! Learn how to access items by key and organize data efficiently in this friendly, hands-on Laracasts lesson.
توابع و فیلترها
12m 20sCongrats on your progress! Dive into functions—the verbs of programming—and learn how to use them effectively in this engaging Laracasts lesson.
توابع لامبدا
12m 8sDive into lambda functions in this Laracasts episode! Learn what they are, when to use them, and how they can simplify your PHP code with smart refactors.
جداسازی منطق از قالب
8m 35sLearn why separating PHP logic from HTML boosts code clarity and maintainability. Join this Laracasts lesson to organize your projects like a pro!
بررسی فنی شماره ۱ (همراه با آزمون)
4m 53sTest your PHP skills with this quick Laracasts check-in and quiz. Reinforce what you've learned before moving on to the next exciting section!
Dynamic Web Applications (9)
لینکهای صفحه
11m 1sLearn to build a real PHP app with MySQL in this friendly Laracasts tutorial. Move beyond basics and create dynamic, database-driven projects with ease!
پارشالهای PHP
9m 10sStop duplicating HTML, use PHP partials to build reusable view components for cleaner, faster, and more maintainable templates.
ابرسراسریها و استایلدهی صفحه فعلی
12m 57sUse PHP's $_SERVER superglobal to detect the current page and apply dynamic styles or logic-simple, practical examples for real projects.
یک مسیریاب PHP بسازید
18m 2sBuild a custom PHP router from scratch, learn routing, response codes, and clean code organization to power your lightweight apps.
یک دیتابیس MySQL بسازید
6m 10sConnect to MySQL and create a database and table—step-by-step setup to prepare your project for PHP database interaction.
مراحل اولیه PDO
14m 24sLearn how to connect PHP to MySQL and run secure SELECT queries with PDO, step-by-step basics for safe database access.
استخراج یک کلاس دیتابیس PHP
10m 34sExtract a PHP Database class to encapsulate PDO initialization and prepared queries, improving clarity, reuse, and testability.
محیطها و انعطافپذیری پیکربندی
12m 59sMake your app configurable: replace hard-coded database settings with flexible environment-based configuration for safe production deployments.
آسیبپذیریهای تزریق SQL توضیح داده شده
10m 56sLearn SQL injection through real examples, discover why web input must be treated as untrusted, and how to prevent vulnerable queries.
Notes Mini-Project (8)
جداول و ایندکسهای دیتابیس
7m 52sStart a mini notes app: design initial database and learn MySQL indexes with clear, practical steps to power fast queries.
رندر یادداشتها و صفحه یادداشت
14m 27sBuild a notes index and individual note pages from your initial database—learn step-by-step rendering to display John Doe's notes cleanly.
آشنایی با مجوزدهی
14m 27sLearn how to secure your app with proper authorization, handle status codes, and avoid magic numbers in this clear, practical Laracasts lesson.
برنامهنویسی بازنویسی است
12m 17sRefactor your code and learn best practices for wrapping external APIs before building forms to save notes in this practical, friendly Laracasts lesson.
آشنایی با فرمها و متدهای درخواست
18m 6sLearn how to submit forms using different request methods and detect POST submissions in your controller in this clear, practical Laracasts lesson.
همیشه ورودی غیرقابل اعتماد را escape کنید
8m 21sLearn how to securely save user input by always escaping untrusted data to protect your app from vulnerabilities in this practical Laracasts lesson.
آشنایی با اعتبارسنجی فرم
12m 50sLearn how to master form validation with browser and server-side techniques to ensure accurate, secure user data submission in this friendly Laracasts lesson.
استخراج یک کلاس اعتبارسنج ساده
11m 43sExtract a simple Validator class to centralize validation rules, boost readability, and make form checks reusable and flexible.
Project Organization (8)
قراردادهای نامگذاری منبعدار
6m 36sAdopt resourceful naming conventions to organize code, improve clarity, and streamline development with practical, consistent patterns.
بارگذاری خودکار و استخراج در PHP
19m 36sMaster PHP project organization: document roots, helpers, constants, autoloading and extraction techniques to structure maintainable apps.
فضای نام: چیست، چرا، چگونه؟
12m 8sMaster PHP namespacing: what it is, why it matters, and how to use it—explained clearly with a simple music-collection analogy.
مدیریت چندین متد درخواست از یک اکشن کنترلر؟
12m 11sTackle messy controller actions that handle multiple request methods, see a real example and prepare for refactors to simplify and clean up code.
یک مسیریاب بهتر بسازید
20m 45sBuild a smarter router that handles all form request types using hidden inputs to spoof methods. Enhance your app’s flexibility and control with this guide!
یک درخواست، یک کنترلر
7m 7sLearn how to refactor controllers for focused actions using improved routing. Keep your code clean and simple while handling multiple form request types efficiently.
اولین کانتینر سرویس خود را بسازید
19m 22sLearn how to create your first service container to organize code and automate dependency management, making your Laravel apps cleaner and more efficient.
بهروزرسانی با درخواستهای PATCH
21m 14sLearn how to update resources using PATCH requests—create forms, routes, and controllers to efficiently edit notes in your Laravel application!
Sessions and Authentication (5)
جلسات PHP ۱۰۱
13m 56sDive into PHP sessions and learn how to persist data across requests—master session basics to build dynamic, stateful web applications with ease!
ثبت نام یک کاربر جدید
18m 59sCreate a PHP registration form, add new users to the database, and update sessions to mark them signed in—practical, secure walkthrough.
آشنایی با میانافزار
22m 4sLearn middleware in Laravel: bridge requests and app core, build guest and auth middleware classes to control route access step-by-step.
تا آخر عمر رمزهای عبور را اینگونه مدیریت کنید
4m 49sLearn why password hashing is vital and how to secure user data with Bcrypt. Protect passwords effectively and boost your app’s security in this essential episode!
ورود و خروج
25m 45sBuild a complete login and logout system with clear, step-by-step guidance. Master user authentication and handle tricky logout steps with confidence in this episode!
Refactoring Techniques (5)
استخراج یک شیء اعتبارسنجی فرم
13m 28sRefactor your login form by extracting a validation object to keep controllers clean, clear, and reusable. Learn this essential Laravel technique now!
استخراج یک کلاس احراز هویت
13m 21sExtract an Authenticator class to clean up your controller, centralize authentication logic, and improve clarity and testability.
الگوی PRG (و فلش جلسه)
21m 17sLearn the PRG (Post-Redirect-Get) pattern and session flashing to prevent duplicate form submissions, improve UX, and simplify error handling.
فلش دادههای فرم قدیمی به جلسه
5m 57sFlash old form data to session and display previous input to users - preserve input after redirects for smoother form UX.
تغییر مسیر خودکار به عقب در صورت شکست اعتبارسنجی
26m 7sAutomatically redirect users back after failed form validation to reduce controller duplication, preserve input, and simplify error handling.
Meet Composer (2)
Composer و بارگذاری خودکار رایگان
13m 12sLearn Composer's dependency management and powerful autoloader to install libraries, manage packages, and streamline PHP project setup.
نصب دو پکیج Composer: Collections و PestPHP
15m 35sInstall Collections and PestPHP with Composer: step-by-step guide to add two packages and boost testing and utilities.




