Skip to content

Instantly share code, notes, and snippets.

@barnabywalters
Last active July 12, 2022 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barnabywalters/8824041 to your computer and use it in GitHub Desktop.
Save barnabywalters/8824041 to your computer and use it in GitHub Desktop.
An attempt at making a Composer-compatible repository in a gist
.DS_Store
composer.phar
/vendor/
{
"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"]
}
}
<?php
namespace BarnabyWalters;
function gist() {
return "This does nothing useful";
}
@Bugfighter
Copy link

packagist - good point :-) Thanks for your reply!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment