sparrow
sparrow copied to clipboard
Making Sparrow and Package on Packagist
Hi @mikecao , just wondering if you had the intention to package up Sparrow for inclusion into Packagist. There is already someone with a fork of your class so not sure if you plan on making this available. :+1: for a great Database Layer. Simple yet elegant.
I'm planning on a rewrite to make it more object oriented, so I may wait until then.
Some workaround. How to require this library from composer.
composer.json
{
"autoload": {
"files": [
"vendor/mikecao/sparrow/sparrow.php"
]
},
"require": {
"mikecao/sparrow": "0.1"
},
"repositories": [
{
"type": "package",
"package": {
"name": "mikecao/sparrow",
"version": "0.1",
"dist": {
"url": "https://github.com/mikecao/sparrow/archive/v0.1.zip",
"type": "zip"
}
}
}
]
}