Skip to content

Create make:model command #5

@ibourgeois

Description

@ibourgeois

Context

As a Laravel developer building packages in Nebula, I want to use php architect make:model to generate models with proper package namespacing and paths.

Acceptance Criteria

  • Create MakeModelCommand class extending ArchitectCommand
  • Support --package parameter to specify target package
  • Override model path resolution to target package src/Models
  • Override model namespace to use package namespace
  • Ensure generated model inherits from Model correctly
  • Add validation for package existence
  • Add unit tests for model generation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions