Skip to content

Model list is incomplete #716

@OlinB

Description

@OlinB

Boost Version

2.4.0

Laravel Version

12.55.1

Agent/IDE Name & Version

copilot CLI 1.0.11, jetbrains AI assistant 253.32098.66 and cursor 2.6.18

PHP Version

8.4.19

System Info

Windows 11 with laravel Herd

Description

The model list returned by laravel-boost-application-info is incomplete.
Only the User model is returned

Steps To Reproduce

ask any AI agent to list models returned by the tool.

The root cause seems to be the class_exists(..., false) in

if (class_exists($className, false)) {

Patching the autoload argument to true make the agent see all models.

I haven't opened a PR for this because I want to know if I'm doing something wrong, or if this is intentional

Metadata

Metadata

Assignees

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