Skip to content

Move to Cilex #9

@kpacha

Description

@kpacha

As they say, Cilex is "a lightweight framework for creating PHP CLI scripts inspired by Silex". I've been reading the code and it's smart, clean and I think it could do the job.

The Cilex app is a Pimple container with other several containers for configuration loaders (YAML, JSON, XML, PHP), Doctrine, Monolog, etc. We could make a simple refactor and encapsulate the command loading logic in a CommandProvider. Also, a TaskHelperProvider could inject the required helper, as mysql, into tasks.

Another 'win' could be the 'compilation' feature. Once the project is close (so all the recipes have been tested and veified), you can compile the code into a single phar and use it with any set of configuration files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions