Skip to content

Artisan Commands

The Noerd Framework provides several Artisan commands.

Overview

Core Commands

CommandDescription
noerd:installInstall framework
noerd:demoInstall demo data (model, migration, YAML config, navigation)
noerd:updateUpdate noerd content files without running installation setup
noerd:create-adminCreate admin user
noerd:make-adminMake user admin
noerd:create-tenantCreate new tenant
noerd:create-appCreate new TenantApp
noerd:assign-apps-to-tenantAssign apps to tenant
noerd:moduleCreate new module with complete structure
noerd:make-collectionCreate setup collection

noerd:install

Installs the Noerd Framework and performs basic configuration.

bash
php artisan noerd:install

noerd:demo

Installs demo data into your project. This publishes a fully working Demo Customers app with model, migration, Blade components, YAML configuration, navigation, and routes. The demo app is automatically registered as a TenantApp and assigned to all tenants.

bash
php artisan noerd:demo

This command is also offered during noerd:install. It can be run independently at any time.

noerd:update

Updates noerd content files without running the full installation setup.

bash
php artisan noerd:update

noerd:create-admin

Creates a new administrator user.

bash
php artisan noerd:create-admin

noerd:make-admin

Makes an existing user an administrator.

bash
php artisan noerd:make-admin {userId}

noerd:create-tenant

Creates a new tenant.

bash
php artisan noerd:create-tenant

noerd:create-app

Creates a new TenantApp.

bash
php artisan noerd:create-app

noerd:assign-apps-to-tenant

Assigns apps to a tenant.

bash
php artisan noerd:assign-apps-to-tenant

noerd:module

Creates a new module with complete directory structure, including model, migration, Livewire components, YAML configurations, and translations.

bash
php artisan noerd:module
# or with module name
php artisan noerd:module inventory

noerd:make-collection

Creates a new setup collection.

bash
php artisan noerd:make-collection