tantek / cassis

CASSIS is universal javascript/PHP that works on the client and the server for scalable application logic.
http://cassisjs.org/
128 stars 10 forks source link

Composer Compatibility #6

Closed barnabywalters closed 9 years ago

barnabywalters commented 12 years ago

It should be extremely easy to add composer compliance so PHP applications can install cassis and keep up with updates without bothering with git submodules.

Adding the following as composer.json then registering the package at packagist (which I can do if you don't want to make a new account) should work:

{
    "name": "tantek/cassis", // or alternatively cassis/cassis
    "autoload": {
        "files": ["cassis.js"]
    }
}
barnabywalters commented 12 years ago

Note that there's plenty more info that can be provided if you want e.g. author info, version, dependencies (no classes in this case, but you could specify php version). I have no experience with node.js and npm, but you might be able to get cassis installable through that package management system too.

aaronpk commented 9 years ago

This is available on packagist.org now https://packagist.org/packages/tantek/cassis