Download the PHP package whilesmart/eloquent-admin without Composer
On this page you can find all versions of the php package whilesmart/eloquent-admin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download whilesmart/eloquent-admin
More information about whilesmart/eloquent-admin
Files in whilesmart/eloquent-admin
Package eloquent-admin
Short Description Shared measurements, user directory and automatic email templates for Laravel applications.
License MIT
Informations about the package eloquent-admin
whilesmart/eloquent-admin
Shared administration APIs for Laravel applications. It provides measurements, a user directory, and a registry-backed automatic email template system while leaving authorization, user fields, and product-specific sections to the host.
Host configuration
The host binds OwnerAuthorizer to protect the configured admin owner. Product-specific user fields belong in a custom API resource or user provider.
Measurements are registered through whilesmart/eloquent-engagement. Every registered metric provider is returned by the admin metrics endpoint and can be rendered by the companion Nuxt layer.
Each provider implements Whilesmart\Engagement\Contracts\MetricProvider and returns count, sum, ratio, series, or ranking metrics. Adding a provider automatically adds its measurements to the shared admin page.
Offers
A discount is stored differently in every product, so the console asks a provider rather than a table. Register one and the discounts page lists what it holds and renders a form from the fields it declares.
Offer::$value is already formatted, because only the provider knows whether
20 means a percentage, pennies or seats. Revoking stops an offer being redeemed
again and leaves redemptions already made standing.
Registering no provider is a supported state: the endpoint answers with an empty list and the page says so.
All versions of eloquent-admin with dependencies
laravel/framework Version ^11.0|^12.0
whilesmart/eloquent-engagement Version ^1.0
whilesmart/eloquent-owner-access Version ^1.0
whilesmart/laravel-user-authentication Version ^1.0