Skip to content

Add Composer support#35

Open
RobLoach wants to merge 4 commits intoscdoshi:masterfrom
RobLoach:master
Open

Add Composer support#35
RobLoach wants to merge 4 commits intoscdoshi:masterfrom
RobLoach:master

Conversation

@RobLoach
Copy link

@RobLoach RobLoach commented Nov 3, 2014

Composer is a package manager for PHP.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RobLoach, thanks for this. Not very familiar with the composer, but do you want to include the minified files instead or both?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The aim is to use the full source, and push compression/aggregation off to the application level. The minified versions will still be shipped, it will just use jquery.ajaxchimp.js for development, and then the .min for production.

Thanks for bringing this up 👍 .

@scdoshi
Copy link
Owner

scdoshi commented Nov 23, 2014

Also, thinking more about this, should js packages be managed by a PHP package manager. Seems like your worlflow should involve bower for js and composer for PHP.

Something like this: http://techportal.inviqa.com/2014/01/29/manage-project-dependencies-with-bower-and-composer/

@RobLoach
Copy link
Author

@scdoshi This is mostly for situations where Bower or Node are not available for deployment. npm, or bower are fantastic for managing JavaScript dependencies, but not quite available everywhere. This is where Composer can help out.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants