Topic: Packagist/Composer support
author: Jerry S
created: 31-07-2012 05:33:51 PM
|
Hey team,
I definitely like this library and we use it in our projects here with an Oracle database.
I think that you should DEFINITELY consider making the library Composer/Packagist friendly so it can be installed very easily into new projects through these tools.
Is there already support for this or do users still have to manually download the library from your site? |
|
Topic: Re:Packagist/Composer support
author: Jerry
created: 31-07-2012 06:02:38 PM
|
I've put together the composer.json for you. You can edit it if you want to make it more correct.
Go here for help on other options
http ://getcomposer.org/doc/04-schema.md#autoload
//composer.json
{
"name" : "adodb/adodb-php",
"version" : "5.17",
"license" : [ "LGPL-2.1", " BSD-2-Clause" ],
"authors" : [
{
"name": "Nils Adermann",
"email": "naderman@naderman.de",
"homepage": "http ://www.naderman.de",
"role": "Developer"
},
{
"name": "Jordi Boggiano",
"email": "j.boggiano@seld.be",
"homepage": "http ://seld.be",
"role": "Developer"
}
],
"support" : { "forum" : "http ://phplens.com/lens/lensforum/topics.php?id=4" }
"require" : {
"php" : ">=5.3.2"
},
"autoload" : {
"files" : ["adodb.inc.php"]
}
} |
|
|