Skip to content

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.


Start a completely new Laravel application with the Loom Starter Kit:

Terminal window
composer create-project loomkit/starter my-loom-app
cd my-loom-app
bun install
php artisan migrate --seed
composer dev
  • 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.

Add Loom to an existing Laravel project:

Terminal window
composer require loomkit/loom -W
php artisan loom:install
composer dev
  • loom:install will configure your project, publish Core assets, and optionally install default modules.
  • After installation, verify your .env and run migrations if needed.

Before running your app, make sure your .env file is correctly configured:

APP_NAME="My Loom App"
APP_ENV=local
APP_KEY=base64:GENERATED_KEY
APP_DEBUG=true
APP_URL=http://localhost:5173
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=loom_db
DB_USERNAME=root
DB_PASSWORD=
BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_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.

Run the database setup:

Terminal window
php artisan migrate
php artisan db:seed
  • Seeds include default users, roles, permissions, and sample modules.
  • To reset the database during development:
Terminal window
php artisan migrate:fresh --seed

Start your development server:

Terminal window
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.

  • 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