public
Last active

An attempt at making a Composer-compatible repository in a gist

  • Download Gist
.gitignore
1 2 3
.DS_Store
composer.phar
/vendor/
Gist.php
PHP
1 2 3 4 5 6 7
<?php
 
namespace BarnabyWalters;
 
function gist() {
return "This does nothing useful";
}
composer.json
JSON
1 2 3 4 5 6 7 8 9
{
"name": "barnabywalters/gist-test",
"description": "A test to see if a gist can be used successfully as the repo for a composer package",
"license": "MIT",
"require": {},
"autoload": {
"files": ["Gist.php"]
}
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.