Skip to content

Publication

The Publication class represents your Steady Publication as requested via the Steady REST API.

Attribute names are transformed from hyphen to underscore and can be accessed via method calls.

Examples

php
$publication = steady()->publication();

$title = $publication->title();
$editor = $publication->editor_name();
$members = $publication->members_count();
$monthlyRevenue = $publication->monthly_amount() / 100;

☝️ Tip

For all available methods, look into the source file or use the type hints on the Publication object.