Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Composer support #35

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Add Composer support #35

wants to merge 4 commits into from

Conversation

RobLoach
Copy link

@RobLoach RobLoach commented Nov 3, 2014

Composer is a package manager for PHP.

"component": {
"scripts": [
"jquery.ajaxchimp.js",
"jquery.ajaxchimp.langs.js"
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