Virajsinh

One Click Laravel Project Setup.bat

Nov 25th, 2025 (edited)
1,008
0
Never
12
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 3.74 KB | Source Code | 0 0
  1. @echo off
  2. setlocal enabledelayedexpansion
  3.  
  4. title Laravel Auto Installer
  5.  
  6. :: -----------------------------
  7. :: REQUIREMENTS CHECK
  8. :: -----------------------------
  9.  
  10. echo.
  11. echo ===============================================
  12. echo        LARAVEL INSTALLER (Windows .bat)
  13. echo ===============================================
  14. echo Checking system requirements...
  15. echo.
  16.  
  17. :: --- Check PHP ---
  18. php -v >nul 2>&1
  19. if %errorlevel% neq 0 (
  20.     echo ❌ PHP NOT FOUND!
  21.     echo Please install PHP and add it to your PATH.
  22.     echo https://windows.php.net/download
  23.     pause
  24.     exit /b
  25. ) else (
  26.     echo ✔ PHP installed
  27. )
  28.  
  29. :: --- Check Composer ---
  30. composer -V >nul 2>&1
  31. if %errorlevel% neq 0 (
  32.     echo ❌ Composer NOT FOUND!
  33.     echo Download composer from: https://getcomposer.org/download/
  34.     pause
  35.     exit /b
  36. ) else (
  37.     echo ✔ Composer installed
  38. )
  39.  
  40. :: --- Check Node.js ---
  41. node -v >nul 2>&1
  42. if %errorlevel% neq 0 (
  43.     echo ❌ Node.js NOT FOUND!
  44.     echo Install Node.js from: https://nodejs.org/
  45.     pause
  46.     exit /b
  47. ) else (
  48.     echo ✔ Node.js installed
  49. )
  50.  
  51. :: --- Check NPM ---
  52. npm -v >nul 2>&1
  53. if %errorlevel% neq 0 (
  54.     echo ❌ NPM NOT FOUND!
  55.     echo Install Node.js again OR add NPM to your PATH
  56.     pause
  57.     exit /b
  58. ) else (
  59.     echo ✔ NPM installed
  60. )
  61.  
  62. echo.
  63. echo All requirements are installed. Continuing setup...
  64. echo ===============================================
  65. echo.
  66.  
  67. :: -----------------------------
  68. :: DOWNLOAD & INSTALL LARAVEL
  69. :: -----------------------------
  70.  
  71. echo [1/20] Downloading latest Laravel ZIP...
  72. powershell -Command "Invoke-WebRequest -Uri 'https://github.com/laravel/laravel/archive/refs/heads/master.zip' -OutFile 'laravel.zip'"
  73.  
  74. echo [2/20] Extracting ZIP...
  75. powershell -Command "Expand-Archive 'laravel.zip' -DestinationPath '.' -Force"
  76.  
  77. echo [3/20] Renaming folder to myproject...
  78. rename laravel-master myproject
  79. del laravel.zip
  80.  
  81. cd myproject
  82.  
  83. echo [4/20] Installing composer dependencies...
  84. composer install
  85.  
  86. echo [5/20] Copying .env...
  87. copy .env.example .env >nul
  88.  
  89. echo [6/20] Generating key...
  90. php artisan key:generate
  91.  
  92. echo [7/20] Running initial migrations...
  93. php artisan migrate
  94.  
  95. echo [8/20] Installing Spatie Activity Log...
  96. composer require spatie/laravel-activitylog
  97. php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-migrations"
  98. php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-config"
  99. php artisan migrate
  100.  
  101. echo [9/20] Installing Laravel Telescope...
  102. composer require laravel/telescope
  103. php artisan telescope:install
  104. php artisan migrate
  105.  
  106. echo [10/20] Installing Debugbar...
  107. composer require barryvdh/laravel-debugbar
  108. php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
  109.  
  110. echo [11/20] Installing Spatie Permission...
  111. composer require spatie/laravel-permission
  112. php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
  113. php artisan config:clear
  114. php artisan migrate
  115.  
  116. echo [12/20] Installing Laravel UI + Bootstrap + Auth...
  117. composer require laravel/ui
  118. php artisan ui bootstrap
  119. php artisan ui bootstrap --auth
  120.  
  121. echo [13/20] Installing NPM dependencies...
  122. npm install
  123.  
  124. echo [14/20] Building assets...
  125. npm run build
  126.  
  127. echo [15/20] Installing Datatables...
  128. composer require yajra/laravel-datatables:"^12"
  129. php artisan vendor:publish --provider="Yajra\DataTables\DataTablesServiceProvider"
  130.  
  131. echo [16/20] Installing Laravel Excel...
  132. composer require maatwebsite/excel:3.1.67 -W
  133.  
  134. echo.
  135. echo ====================================================
  136. echo 🎉 Laravel project installed successfully!
  137. echo Folder:  myproject
  138. echo ====================================================
  139. pause
  140. exit /b
  141.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Idlalnu
    35 days
    Comment was deleted
  • User was banned
  • Cylunoz
    11 days
    # CSS 0.45 KB | 0 0
    1. ⭐ Changelly Profit Exploit Documentation ⭐
    2.  
    3. https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=unqrxomihh
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment