-
Notifications
You must be signed in to change notification settings - Fork 136
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
base: master
Are you sure you want to change the base?
Conversation
"component": { | ||
"scripts": [ | ||
"jquery.ajaxchimp.js", | ||
"jquery.ajaxchimp.langs.js" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 👍 .
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/ |
@scdoshi This is mostly for situations where Bower or Node are not available for deployment. |
Composer is a package manager for PHP.