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
propertiescolumn.
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
-
Step 1
Publish the files
Run
php artisan waypoint:install. It copiesconfig/waypoint.phpand the migration into your app. -
Step 2
Run the migration
Run
php artisan migrateto create theactivitiestable. -
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 amigrate:freshin development.
Last updated: