Earmark
You found them all! 🎉

Add your name to the leaderboard. Your time is counted from your first page view.

Your name, country and time will be shown publicly. See our privacy notice.

Name or nickname
Country
Earmark
Toggle sidebar

Installation

Earmark is in private development. Installation will open up with the first public release.

Install the package

composer require pixelworxio/earmark

Wrap your page content

In your main layout, wrap the part of the page that changes from page to page:

<body>
    <x-header />

    <x-earmark>
        {{ $slot }}
    </x-earmark>
</body>

That is it. Earmark ships its own compiled script and styles and adds them to the page itself, so there is nothing to add to Vite, Tailwind or your JavaScript bundle.

Use wire:navigate

Earmark swaps pages without reloading, so your pages should be navigated with Livewire's wire:navigate. Earmark routes ordinary same-origin links through it automatically, so most apps work without changing a single link.

Publish the config (optional)

php artisan vendor:publish --tag="earmark-config"

This creates config/earmark.php, where you set the defaults for every visitor. See the configuration reference.

Database store (optional)

To have saved views follow signed-in users across devices, publish and run the migration, then set store to database:

php artisan vendor:publish --tag="earmark-migrations"
php artisan migrate

See Where views are stored for the details.

Demo
You are looking at a demo

This site shows Earmark, a Livewire package that keeps the pages you save alive and one click away. Every app here runs on simulated data, and nothing you do is stored on the server.

Earmark is still in development and not yet ready for production use.

Get in touch