Getting started

Install Waypoint

Waypoint requires PHP 8.2 or later and Laravel 11, 12 or 13. It works with MySQL, MariaDB, PostgreSQL, SQLite and SQL Server.

Note

Upgrading from Waypoint 1.x? Read the changelog first, version 2 renamed the properties column.

Require the package

bash
composer require waypoint/laravel

Laravel discovers the service provider automatically, so you don't have to register anything.

Set up the database

  1. Step 1

    Publish the files

    Run php artisan waypoint:install. It copies config/waypoint.php and the migration into your app.

  2. Step 2

    Run the migration

    Run php artisan migrate to create the activities table.

  3. Step 3

    Log your first changes

    Continue with the Quickstart to make your models auditable.

bash
php artisan waypoint:install
php artisan migrate

Tip

Store activities in a separate database by setting WAYPOINT_CONNECTION. Your audit log then survives a migrate:fresh in development.

Last updated: