Getting Started with Loom 🚀
This guide will help you install Loom, configure your environment, run migrations and seeders, and start your first Laravel + Loom project.
1️⃣ New Project
Section titled “1️⃣ New Project”Start a completely new Laravel application with the Loom Starter Kit:
composer create-project loomkit/starter my-loom-appcd my-loom-appbun installphp artisan migrate --seedcomposer dev
Notes:
Section titled “Notes:”bun install
→ installs frontend dependencies (Tailwind, Alpine, Livewire).php artisan migrate --seed
→ runs database migrations and seeders. Seeds will create a default admin user and sample data.composer dev
→ starts the development environment with hot-reloading.
2️⃣ Existing Project
Section titled “2️⃣ Existing Project”Add Loom to an existing Laravel project:
composer require loomkit/loom -Wphp artisan loom:installcomposer dev
Notes:
Section titled “Notes:”loom:install
will configure your project, publish Core assets, and optionally install default modules.- After installation, verify your
.env
and run migrations if needed.
3️⃣ Configuration
Section titled “3️⃣ Configuration”Before running your app, make sure your .env
file is correctly configured:
APP_NAME="My Loom App"APP_ENV=localAPP_KEY=base64:GENERATED_KEYAPP_DEBUG=trueAPP_URL=http://localhost:5173
DB_CONNECTION=mysqlDB_HOST=127.0.0.1DB_PORT=3306DB_DATABASE=loom_dbDB_USERNAME=rootDB_PASSWORD=
BROADCAST_DRIVER=logCACHE_DRIVER=fileQUEUE_CONNECTION=syncSESSION_DRIVER=file
- APP_URL must match your frontend dev server if you are using Vite / Bun.
- Ensure database credentials are correct before running migrations.
- You can customize additional modules in
config/loom.php
.
4️⃣ Migrations & Seeders
Section titled “4️⃣ Migrations & Seeders”Run the database setup:
php artisan migratephp artisan db:seed
- Seeds include default users, roles, permissions, and sample modules.
- To reset the database during development:
php artisan migrate:fresh --seed
5️⃣ Launching the App
Section titled “5️⃣ Launching the App”Start your development server:
php artisan serve
Then visit:
http://localhost:8000
- Login with the default admin credentials (from seeds).
- Explore the Filament admin panel and activate modules as needed.
6️⃣ Next Steps
Section titled “6️⃣ Next Steps”- Explore the Starter Kit features →
/guides/starter-kit/
- Learn about Loom Core →
/guides/core/
- Check CLI commands →
/reference/commands/
- Configure additional modules in
config/loom.php