Skip to content

Reference ​

Every building block of Fusion Stack, with its options and defaults. To learn how they fit together, start with the tutorial; to understand why they work as they do, read the concepts.

PageWhat it covers
Requests and responsesResources, ApiRequest and ApiResponse.
QueriesApiQuery: includes, sparse fieldsets, filters, sorts and pagination.
Attributes#[Endpoint], #[RequiresScope], #[Describe] and the others, and the middleware.
Version changesVersionChange's properties and transform helpers.
ErrorsThe error format, every error code, and defining your own.
HTTP headersThe headers the API reads and sends, and webhook headers.
ConfigurationEvery key of config/api.php.
Artisan commandsEvery api: command and its options.
Testing helpersInteractsWithApi, the response assertions and version change tests.

Every page has a Laravel for Rust counterpart in the Laravel for Rust reference, with the same sections.

CI checks that these pages cover every command, error code, attribute, config key, helper and header in the packages.

Released under the MIT License.