llaumgui Not sure I agree. The way I see it, Flarum's public API has several facets:
- The HTTPS REST API, for the frontend and external service integrations
- The extension API, for modifying flarum
- The
flarum
executable binary, used for console commands
In my view, unless you're building a Flarum extension, using the Flarum PHP directly is a violation of encapsulation, and a dangerous intrusion into private API. It's possible and will probably work, but IMO it's not very clean from a design perspective.