Skip to content
This repository was archived by the owner on Mar 12, 2022. It is now read-only.
This repository was archived by the owner on Mar 12, 2022. It is now read-only.

Suggestion: Generate PHPDoc block properties for model classes based on respective database table columns #272

@eliseuborges

Description

@eliseuborges

I was wondering if would be possible generate PHPDoc block properties for model classes based on respective database table columns. Example:

/**
 * Class User
 *
 * @property integer $id
 * @property string $nome
 * @property string $email
 * @property Carbon $email_verified_at
 * @property string $password
 * @property string $remember_token
 * @property Carbon $created_at
 * @property Carbon $updated_at
 * @property Carbon $deleted_at
 * @package App\Models
 */
class User extends
...

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