Installation
Follow these steps to install Laratic on your system.
1. Extract the Archive
Once you download the Laratic zip file, extract it and navigate into the folder, you can rename the folder to anything you want.
2. Install PHP Dependencies
Install all required PHP packages using Composer:
composer install
3. Install JavaScript Dependencies
Install all required Node.js packages:
npm install
4. Configure Environment
Copy the example environment file:
cp .env.example .env
Then edit the .env file and configure your database connection and other settings.
5. Generate Application Key
Generate a unique application key:
php artisan key:generate
6. Run Database Migrations
Create the necessary database tables:
php artisan migrate
7. Seed the Database (Optional)
If you want to populate your database with demo data:
php artisan db:seed
8. Create Storage Link
Create a symbolic link for public storage:
php artisan storage:link
9. Start Development Server
Start the development server:
composer run dev
This command will start both the Laravel development server and Vite for asset compilation.
Next Steps
Now that you have Laratic installed, you need to configure the following services by setting up accounts and adding their credentials to your .env file:
-
Setup Mailtrap + Mailgun
For email testing (Mailtrap) and sending transactional emails (Mailgun).
-
Setup Newsletter
For newsletter subscriptions and email marketing campaigns.
-
Setup Open AI
Required for AI-powered features like chat, post generation, and content translation.
-
Setup Cloudinary
Required for image and media upload, storage, and optimization.
-
Setup Socialite
Required for social authentication (OAuth login with providers like Google, GitHub, etc.).
-
Setup Lemon Squeezy
Required for billing and subscriptions.