Minimum Server Requirements
- PHP 8.3+ (PHP 8.5 recommended) with extensions:
BCMath,Ctype,Fileinfo,JSON,Mbstring,OpenSSL,PDO,Tokenizer,XML, andZip. - Composer (latest stable) — note that
stripe/stripe-php,paddlehq/paddle-php-sdk,phpoffice/phpspreadsheet,laravel/socialite, andopenai-php/clientare already bundled incomposer.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
- 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 - Configure your environment file:
Updatecp .env.example .env php artisan key:generateAPP_URL,ASSET_URL(both should match your site URL), and yourDB_*database credentials in.env. - Run migrations, seed defaults, link storage, and build assets:
php artisan migrate --seed php artisan storage:link npm run build - Sign in and change the default admin password: Log in at
/loginusing[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/publicdirectory and ensurestorage/andbootstrap/cache/are writable by the web server user (e.g.,www-data).