class PostSource
How a post reached the forum when it was not written in the forum's own interface: through the API, an MCP client, or a channel an extension adds.
Put it on the request with {[\Flarum\Http\RequestUtil::withPostSource()}
and](../../Flarum/Http/RequestUtil.html) posts created during that request record it. The forum shows it next to
the author as "via
Constants
| API |
Posts made through the REST API with an API key or access token. |
| MAX_KEY_LENGTH |
|
| MAX_NAME_LENGTH |
|
Methods
string|null
storedName()
The name as stored: trimmed, null when blank, and cut to the column's length.