Getting Started & Installation

Server Requirements and Standard Installation Guide

Published 2026-12-04 03:20:21

Minimum Server Requirements

  • PHP 8.3+ (PHP 8.5 recommended) with extensions: BCMath, Ctype, Fileinfo, JSON, Mbstring, OpenSSL, PDO, Tokenizer, XML, and Zip.
  • Composer (latest stable) — note that stripe/stripe-php, paddlehq/paddle-php-sdk, phpoffice/phpspreadsheet, laravel/socialite, and openai-php/client are already bundled in composer.json.
  • Node.js (LTS) & npm for compiling Tailwind CSS and Vite assets.
  • Database: MySQL 8.0+ or MariaDB 10.6+ recommended for production (SQLite supported for local development).
  • Redis 6.0+ (optional, recommended for high-traffic sessions, cache, and queues).

Step-by-Step Installation

  1. Clone the repository and install dependencies:
    git clone https://github.com/Site-Store-Pro/laravel-ecommerce my-store
    cd my-store
    composer install
    npm install
  2. Configure your environment file:
    cp .env.example .env
    php artisan key:generate
    Update APP_URL, ASSET_URL (both should match your site URL), and your DB_* database credentials in .env.
  3. Run migrations, seed defaults, link storage, and build assets:
    php artisan migrate --seed
    php artisan storage:link
    npm run build
  4. Sign in and change the default admin password: Log in at /login using [email protected] / SampleUser12345#, then immediately click the profile menu in the top-right corner → My Profile to set a strong password.
Important: Point your web server document root to the /public directory and ensure storage/ and bootstrap/cache/ are writable by the web server user (e.g., www-data).

Was this article helpful?

Let us know how we can improve our documentation.