API reference

The classes your application may use, for netson-platform-php 1.1.1. Everything else in the library is internal and may change without notice. Load the library from /usr/local/share/netson-platform-php/v1/autoload.php; see Building on the platform.

  • Cache\Intents — What to clear from the page cache: specific URLs, the whole site, URLs to re-warm, or the sitemaps. Collect everything one change affects, then pass it to Cache\Site::flush().
  • Cache\Site — The site's page cache: ask for pages to be cleared (and re-warmed) after a change.
  • Laravel\PlatformServiceProvider — Binds NetsonCloud and feeds auth events to the security feed. register() does no filesystem access, so artisan event:cache works on a build host without a config.
  • NetsonCloud — Entry point for apps on the hosting platform. Every method fails open: trouble with the platform turns features off, it never throws.
  • Result — Outcome of a platform operation. Operations never throw on platform trouble; they return one of these.
  • Security\Feed — The site's security feed: report security events, such as failed logins, so the server can block an address that keeps failing.