Skip to content

u/evilmaus

In this archive from Mar 2011 to Nov 2026

17
posts
972
comments
4
media
3.5k
score

Documenting APIs

I'm working on a REST API that I intend to eventually release for other developers to use and would like to see how other people handle this problem. How do you document your APIs for other developers? Any best practices? I want to see if we can get a discussion going over this. Update: Thanks, ever...

11 points15 comments
Open on Reddit

Support Functions RFC?

Laravel has a number of very useful functions defined directly into the main namespace that would benefit PHP as a whole if there were simply a part of PHP. Things like array_first, starts_with, ends_width, array_pluck, and array_where would be extremely useful to have, e.g. in libraries, without ha...

0 points5 comments
Open on Reddit

Building a Library to Consume an API

Lately, I find that I keep having to consume various third-party APIs. Some of them offer libraries to abstract the low-level interaction with the API away. Many, however, don't. Every API is (unfortunately) unique in how it behaves. So, I find myself writing my own set of classes to interact with e...

8 points3 comments
Open on Reddit

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.