Skip to content

[Proposal] Route Model Bindings #2

@ghost

Description

I am currently working on adding support for Route Model Bindings which at the moment looks like this.

php artisan api:generate --routePrefix=v1 --router=dingo --bindings="company,1|language,1|taxrate,1"

This would get transformed into an array with [company => 1, language => 1, taxrate => 1].

Would this syntax for adding the bindings fine or would another way be preferred?

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