A gopher stream wrapper for PHP 5.3+. I'm sure this'll be useful.
License
LawnGnome/php-gopher
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
php-gopher 0.1 http://github.com/LawnGnome/php-gopher I. WHAT IS THIS? It's a stream wrapper implementing Gopher support in PHP. II. UH, WHY? Why not? I like Gopher. III. NO, SERIOUSLY, WHY? Well, I wrote a Gopher interface for Wordpress a while back and thought it'd be nice if I could interact with it. IV. OH, THAT MAKES COMPLETE... WAIT, A GOPHER INTERFACE TO WORDPRESS?! Yep! You can get it at http://github.com/LawnGnome/wp-gopher. V. OK THEN. WHAT DOES THIS REQUIRE? PHP 5.3, since I've stopped caring about versions of PHP where I can't use anonymous functions. VI. HOW DO I USE IT? There's a demo file called demo.php, but the short version is: include GopherStream.php and open something with a Gopher URL. There's even opendir() support, although it's kind of useless. There's also quite a bit of inline documentation. You can run phpDocumentor over GopherStream.php to extract it, if you like, although you probably don't need to. VII. SHOULDN'T THERE BE TESTS OR SOMETHING? Probably, but I didn't feel like writing a mock Gopher server. VIII. I HAVE A BUG REPORT/FEATURE SUGGESTION/SOME CRACK, SINCE YOU'RE CLEARLY ON DRUGS ANYWAY. Lodge a report on GitHub and it will be dealt with appropriately.
About
A gopher stream wrapper for PHP 5.3+. I'm sure this'll be useful.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published