Optional authentication

auth.optional signs the user in when the request has a valid token, and lets guests through. Use it for routes which return more data to signed in users, like the bootstrap request.
routes/api.php
List several guards to accept users of more models. The first guard with a signed in user is used for the request:

Phone number format

AdminHelpers\Auth\Middleware\FixPhoneNumber formats the phone parameter of the request to E.164, e.g. 0900 123 456 to +421900123456. It needs propaganistas/laravel-phone and the phoneValidatorSupportedCountries() function.

Bootstrap request

AdminHelpers\Utilities\BootstrapRequest extends the bootstrap request of crudadmin/framework. It adds the signed in client, the auth token and its response. See Bootstrap request.

SMS

AdminHelpers\Sms\SmartSms sends SMS messages, and the package registers the sms notification channel. See SMS codes.

Sessions

The package prunes expired sessions with session:prune every day at 01:00, and turns off the random session cleanup of Laravel (session.lottery). Run the command manually with a number of minutes to delete older sessions:

Helper functions

Logs button

AdminHelpers\Shared\Buttons\LogsButton shows the rows of the logs relation of any admin model, with the number of entries in its name.
app/Models/Export.php