Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal enabledelayedexpansion
- title Laravel Auto Installer
- :: -----------------------------
- :: REQUIREMENTS CHECK
- :: -----------------------------
- echo.
- echo ===============================================
- echo LARAVEL INSTALLER (Windows .bat)
- echo ===============================================
- echo Checking system requirements...
- echo.
- :: --- Check PHP ---
- php -v >nul 2>&1
- if %errorlevel% neq 0 (
- echo ❌ PHP NOT FOUND!
- echo Please install PHP and add it to your PATH.
- echo https://windows.php.net/download
- pause
- exit /b
- ) else (
- echo ✔ PHP installed
- )
- :: --- Check Composer ---
- composer -V >nul 2>&1
- if %errorlevel% neq 0 (
- echo ❌ Composer NOT FOUND!
- echo Download composer from: https://getcomposer.org/download/
- pause
- exit /b
- ) else (
- echo ✔ Composer installed
- )
- :: --- Check Node.js ---
- node -v >nul 2>&1
- if %errorlevel% neq 0 (
- echo ❌ Node.js NOT FOUND!
- echo Install Node.js from: https://nodejs.org/
- pause
- exit /b
- ) else (
- echo ✔ Node.js installed
- )
- :: --- Check NPM ---
- npm -v >nul 2>&1
- if %errorlevel% neq 0 (
- echo ❌ NPM NOT FOUND!
- echo Install Node.js again OR add NPM to your PATH
- pause
- exit /b
- ) else (
- echo ✔ NPM installed
- )
- echo.
- echo All requirements are installed. Continuing setup...
- echo ===============================================
- echo.
- :: -----------------------------
- :: DOWNLOAD & INSTALL LARAVEL
- :: -----------------------------
- echo [1/20] Downloading latest Laravel ZIP...
- powershell -Command "Invoke-WebRequest -Uri 'https://github.com/laravel/laravel/archive/refs/heads/master.zip' -OutFile 'laravel.zip'"
- echo [2/20] Extracting ZIP...
- powershell -Command "Expand-Archive 'laravel.zip' -DestinationPath '.' -Force"
- echo [3/20] Renaming folder to myproject...
- rename laravel-master myproject
- del laravel.zip
- cd myproject
- echo [4/20] Installing composer dependencies...
- composer install
- echo [5/20] Copying .env...
- copy .env.example .env >nul
- echo [6/20] Generating key...
- php artisan key:generate
- echo [7/20] Running initial migrations...
- php artisan migrate
- echo [8/20] Installing Spatie Activity Log...
- composer require spatie/laravel-activitylog
- php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-migrations"
- php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-config"
- php artisan migrate
- echo [9/20] Installing Laravel Telescope...
- composer require laravel/telescope
- php artisan telescope:install
- php artisan migrate
- echo [10/20] Installing Debugbar...
- composer require barryvdh/laravel-debugbar
- php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
- echo [11/20] Installing Spatie Permission...
- composer require spatie/laravel-permission
- php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
- php artisan config:clear
- php artisan migrate
- echo [12/20] Installing Laravel UI + Bootstrap + Auth...
- composer require laravel/ui
- php artisan ui bootstrap
- php artisan ui bootstrap --auth
- echo [13/20] Installing NPM dependencies...
- npm install
- echo [14/20] Building assets...
- npm run build
- echo [15/20] Installing Datatables...
- composer require yajra/laravel-datatables:"^12"
- php artisan vendor:publish --provider="Yajra\DataTables\DataTablesServiceProvider"
- echo [16/20] Installing Laravel Excel...
- composer require maatwebsite/excel:3.1.67 -W
- echo.
- echo ====================================================
- echo 🎉 Laravel project installed successfully!
- echo Folder: myproject
- echo ====================================================
- pause
- exit /b
Advertisement
Comments
-
- ⭐ Changelly Profit Exploit Documentation ⭐
- https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=unqrxomihh
- 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.
- The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
- Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment