System Requirements
Before installing Larapen, ensure your server meets the following requirements:
- PHP 8.3 or higher
- MySQL 8.0 or higher
- Composer 2.x
- Node.js 18+ and npm
- Required PHP extensions: BCMath, Ctype, JSON, Mbstring, OpenSSL, PDO, Tokenizer, XML, GD or Imagick
Step 1: Clone the Repository
git clone https://github.com/larapen/larapen.git
cd larapen
Step 2: Install Dependencies
composer install
npm install
Step 3: Environment Configuration
cp .env.example .env
php artisan key:generate
Edit the .env file and configure your database credentials, mail settings, and app URL.
Step 4: Database Setup
php artisan migrate
php artisan db:seed
Step 5: Build Assets
npx vite build
Step 6: Storage Link
php artisan storage:link
Your Larapen installation is now ready. Visit your app URL to see the homepage.