Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб ✅ Install Laravel 12 on Windows from scratch | Laravel 12 Installation Steps | Install via Composer в хорошем качестве

✅ Install Laravel 12 on Windows from scratch | Laravel 12 Installation Steps | Install via Composer 4 месяца назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



✅ Install Laravel 12 on Windows from scratch | Laravel 12 Installation Steps | Install via Composer

🚀 Laravel 12 has been released! In this video, we will guide you step by step on how to install Laravel 12 on Windows from scratch. Whether you're a beginner or an experienced developer, this tutorial will help you set up Laravel 12 properly on your system. 🔹 Step-by-Step Laravel 12 Installation Guide 1️⃣ Install XAMPP or WAMP (Server Setup) To run Laravel, we need a local server. You can use either XAMPP or WAMP, but make sure your PHP version is 8.2 or higher. 👉 Download XAMPP: https://www.apachefriends.org/downloa... 👉 Download WAMP: http://www.wampserver.com/en/ 🔹 How to Install XAMPP: ✔️ Download and install the latest XAMPP version. ✔️ Start Apache and MySQL from the XAMPP Control Panel. ✔️ Check your PHP version using the following command: 🖥️ php -v (It must be 8.2 or higher) 2️⃣ Install Composer (Dependency Manager for PHP) Composer is required to install Laravel and manage PHP dependencies. 👉 Download Composer: https://getcomposer.org/download/ 👉 Direct Windows Setup: https://getcomposer.org/Composer-Setu... 🔹 How to Install Composer: ✔️ Download and install Composer. ✔️ Select the PHP path inside XAMPP (C:\xampp\php\php.exe). ✔️ Verify the installation using: 🖥️ composer (It should display Composer-related commands) 3️⃣ Install Laravel 12 (Two Methods) Once XAMPP and Composer are installed, we can install Laravel 12 using two different methods: Method 1: Using Composer Create-Project 🖥️ composer create-project --prefer-dist laravel/laravel my-laravel-app (Replace my-laravel-app with your project name.) Method 2: Using Laravel Installer ✔️ Install Laravel globally: 🖥️ composer global require laravel/installer ✔️ Create a new Laravel 12 project: 🖥️ laravel new my-laravel-app 👉 Official Laravel Documentation: https://laravel.com/docs/12.x#install... 4️⃣ Install Laravel 12 Using a Specific Version Command If you want to install Laravel 12 explicitly (which is useful when Laravel 13 and later versions are released), use the following command: 🖥️ composer create-project --prefer-dist laravel/laravel project_name "12.*" 🔹 Explanation: • project_name → Replace this with your desired project name. • "12.*" → Ensures Laravel 12 is installed, even if a newer version is available. ✅ This command helps ensure your project stays on Laravel 12, even when future versions are released. 5️⃣ Run Laravel 12 Application Navigate to your Laravel project folder and run: 🖥️ cd my-laravel-app 🖥️ php artisan serve Then open your browser and visit: 👉 http://127.0.0.1:8000/ 6️⃣ Check Laravel Version Verify Laravel 12 installation with: 🖥️ php artisan --version ✅ It should display: Laravel Framework 12.0.0 🔹 Troubleshooting Common Issues 1️⃣ Laravel PHP Command Not Found (Fix Environment Variables) If you get a "Laravel PHP Command Not Found" error when running laravel new project_name, follow these steps: ✔️ Click the Windows button and search for System. ✔️ Click on Advanced System Settings. ✔️ Go to the Advanced tab and click Environment Variables. ✔️ Under System Variables, find Path, select it, and click Edit. ✔️ Add the following paths (adjust according to your drive where XAMPP is installed): 🖥️ C:\xampp\php 🖥️ C:\xampp\mysql\bin ✔️ Click OK, restart your terminal, and try installing Laravel again. 2️⃣ Laravel Shows Older Version Instead of Laravel 12 If running php artisan --version shows Laravel 11 or an older version instead of Laravel 12, update it: ✔️ Step 1: Update composer.json file at the root of your project: 🖥️ "laravel/framework": "12.0.*" ✔️ Step 2: Run the Composer update command: 🖥️ composer update ✔️ Step 3: Verify Laravel version again: 🖥️ php artisan --version ✅ Now it should display Laravel 12.0.0. 3️⃣ Fix Encryption Key Issue If Laravel shows an encryption key error, generate a new key: 🖥️ php artisan key:generate Then restart the Laravel server: 🖥️ php artisan serve Now your Laravel application should run smoothly. 🎯 💡 If this video helped you, don’t forget to: 👍 LIKE 🔔 SUBSCRIBE ✍️ COMMENT 👉 Follow for more Laravel tutorials! 🚀    / stackdevelopers   Popular Stack Developers Series that can help you:- ►Laravel 11 Tutorial (with MongoDB):    • Laravel 11 Tutorial (with MongoDB)   ►Laravel 11 PostgreSQL Tutorial:    • Laravel PostgreSQL Tutorial   ►Laravel Multi-Vendor E-commerce Series -    • Laravel Multi Vendor Tutorial   ►Laravel API Tutorial -    • Laravel API Tutorial | Create API from Scr...   ►Laravel Interview Questions -    • Laravel Interview Questions & Answers | 20...   ►Join this channel to get the complete source code of all series:    / @stackdevelopers   #laravel12 #installlaravel #laravel12install

Comments