Skip to content

Create an App

Now that at least one user and one tenant have been set up, the first app can be created, which we can assign to a tenant.

Noerd Example App

bash
php artisan noerd:create-app

The command asks for:

  1. App Title - Display name (e.g., "Customer Management")
  2. App Name - Unique identifier, uppercase (e.g., "CRM")
  3. Icon - Heroicon name (searchable)
  4. Route - Main route name (e.g., "crm.index")

For non-interactive use (e.g. in install scripts), every prompt has an option:

bash
php artisan noerd:create-app --title="Customer Management" --name=CRM \
    --icon=users --route=crm.index --active=1

Within that command, you can assign that app to one or more tenants. You can also do that later with another Artisan command:

bash
php artisan noerd:assign-apps-to-tenant
# or non-interactive
php artisan noerd:assign-apps-to-tenant --tenant-id=1

If you visit /noerd-apps again, you should now see your created app in the sidebar.

Next Steps

Continue with Create Navigation to define your app's navigation structure.