Skip to content

Auto binding Artisan commands in packages #65

Closed
@onigoetz

Description

@onigoetz

Hi,

I created a composer package some time ago, with some symfony command line commands.

Now that i'm implementing L4 on a project that uses this package I wanted to be able to reuse these commands inside Artisan.

so I have two questions :

  • How to auto-bind commands to Artisan with packages ?, a specific file ?, an autoloading file in composer ?
  • Is it possible to use "pure" symfony commands inside Artisan or do I have to wrap my command in a Laravel compatible command ?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions