Skip to content

Light version/profile (combined with Laravel IDEA or vsCode)Β #1722

@barryvdh

Description

@barryvdh

So currently there are 2 options available for free for Laravel in the most popular editor:

And larastan does a lot of magic itself already.

They do a lot of similar stuff, so what functions of IDE helper can we use to support these extensions, and perhaps make it easier for phpstan/larastan to understand our code.

Models

  • We probably only need to add the attributes from the database, not the relations itself
  • relationship/scopes can be inferred from static analysis, so not needed?
  • magic methods can also be inferred, so not needed?
  • The meta and _ide_helper file are probably also not needed?

So do we just need a php artisan ide-helper:models --minimal of --properties-only option?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions