projects
/
m6w6
/
seekat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
update to PHP-8.1
[m6w6/seekat]
/
examples
/
readme.php
diff --git
a/examples/readme.php
b/examples/readme.php
index 93cc464dae889dc50942a9e3473386cfecd8b59b..0aea554e279dcae130949d27f4b520d9eff1ca38 100755
(executable)
--- a/
examples/readme.php
+++ b/
examples/readme.php
@@
-1,8
+1,7
@@
#!/usr/bin/env php
<?php
-require_once __DIR__."/../vendor/autoload.php";
-
-(new seekat\API)(function($api) {
+$api = include "examples.inc";
+$api(function($api) {
echo yield $api->repos->m6w6->seekat->readme->as("raw")->get();
});