Windy — Turn any HTML to Tailwind CSS! Learn more

Expose

User Repository

The expose server tries to load users out of the built-in SQLite database by default.

If you want to change the default implementation and load your users from a different storage engine, you can implement the UserRepository interface and change it in your expose configuration file.

This is how the interface looks like:

use React\Promise\PromiseInterface;

interface UserRepository
{
    public function getUsers(): PromiseInterface;

    public function getUserById($id): PromiseInterface;

    public function getUserByToken(string $authToken): PromiseInterface;

    public function storeUser(array $data): PromiseInterface;

    public function deleteUser($id): PromiseInterface;
}

Invoker

The no-bull Laravel tool

Don’t waste time building admin panels for your Laravel applications. Let Invoker do the hard work for you. No coding. No setup. No stress.

Learn more
Invoker screenshot