Voyager
HomeGithubIssues
1.3
1.3
  • Introduction
  • Getting started
    • What is Voyager
    • Prerequisites
    • Installation
    • Upgrading
    • Configurations
  • BREAD
    • Introduction
    • Relationships
    • Formfields
      • Checkbox/Multiple Checkbox/Radio
      • Coordinates
      • Date & Time
      • Dropdown
      • Images
      • Media Picker
      • Number
  • Core concepts
    • Routing
    • Media Manager
    • Menus and Menu Builder
    • Database Manager
    • Settings
    • Compass
    • Roles and Permissions
    • Helper methods
    • Multilanguage
  • Customization
    • Overriding files
    • Overriding Routes
    • Additional CSS and JS
    • Enabling Soft-Delete
    • Custom relationship attributes
    • TinyMCE
    • Adding custom Formfields
    • Coordinates
    • BREAD accessors
    • Custom guard
    • Action buttons
  • Troubleshooting
    • Using HTTPS on yours site
    • Missing required parameter
Powered by GitBook
On this page
  • Upgrading 1.2 to 1.3
  • Update your Composer.json
  • Changes to VoyagerAuth
  • Update Configuration
  • Troubleshooting
Export as PDF
  1. Getting started

Upgrading

PreviousInstallationNextConfigurations

Last updated 5 years ago

Upgrading 1.2 to 1.3

Please take a look at our before upgrading!

Update your Composer.json

To update to the latest version inside of your composer.json file make sure to update the version of Voyager inside the require declaration inside of your composer.json to:

tcg/voyager": "1.3.*

And then run composer update

Changes to VoyagerAuth

The VoyagerAuth singleton was introduced in Voyager 1.2 and returned an instance of the guard. In Voyager 1.3 this singleton was renamed to VoyagerGuard and now returns the name of the guard as a string. Read more on custom guards

Update Configuration

The voyager.php configuration file had a few changes.

'user' => [
    'namespace' => null,
],

was removed. The user-model which will be used in the voyager:admin command is now determined based on the .

Troubleshooting

Be sure to ask us on our slack channel if you are experiencing any issues and we will try and assist. Thanks.

prerequisites
here
guard