Skip to content

Composer-izing #97

Open
Open

Description

@szepeviktor

Hello @antecedent !

Would you welcome a PR introducing class autoloading?

Composer requires PHP 5.3.2+ to run.

https://getcomposer.org/doc/00-intro.md#system-requirements

Activity

  1. szepeviktor commented on Nov 23, 2019

    @szepeviktor
    Author

    It would not introduce starting Patchwork.php as in #44

  2. antecedent commented on Nov 23, 2019

    @antecedent
    Owner

    That would be great! We do, however, need to keep some backward compatibility for now, so including Patchwork.php should still be a valid way to start Patchwork. Aside from that, it's fine and very much welcome :)

  3. niconoe- commented on Mar 30, 2022

    @niconoe-

    I just discovered this library today so I wanted to try it, but the lack of composer autoloading is making me impossible to use it in my current project architecture (I can't use require_once ... on my code).

    I found how to bypass this by adding myself Patchwork.php in my own composer.json "autoload-dev" section, but if this could be done automagically by Patchwork itself, that would be definitly better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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