Skip to content

Instantly share code, notes, and snippets.

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

looking for the same thing - did your tryout here work?

Copy link

ha ha this is from so long ago I have no idea. I assume it would work due to being a git repo behind the scenes, but without gh actions you’d miss out on useful features like packagist auto-updating on changes

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