Getting Started
Enable the plugin by adding the following code to your PanelProvider. Provide your GitHub repo and a personal access token via ->github()
method. You can find more info on how to create an access token via the GitHub Docs.
php
$panel->plugins([
ChangelogPlugin::make()
->github('REPO', 'TOKEN');
])
You should add php artisan changelog:get
to your deployment script to fetch the latest releases from GitHub.
You can track the user's last viewed release tag by using the ->trackUserVersion()
method.
php
$panel->plugins([
ChangelogPlugin::make()
->github('REPO', 'TOKEN')
->trackUserVersion('user_column');
])