Requirements
- PHP >= 8.2
 - Laravel 11, 12
 - MySQL 8.0+ / PostgreSQL 9.4+
 - exif PHP extension (on most systems it will be installed by default)
 - intl PHP extension (on most systems it will be installed by default)
 - bcmath PHP extension (on most systems it will be installed by default)
 - GD PHP extension (used for image manipulation)
 
Install Lunar
Composer Require Package
Add the LunarUser Trait
Some parts of the core rely on the User model having certain relationships set up. We have bundled these into a trait and an interface, which you must add to any models that represent users in your database.Publish Configuration
Before you run the Lunar installer command, you may wish to customise some of the set-up.Register the admin panel
The admin panel needs registering in your app service provider before you can use it.Run the Artisan Installer
- Creating a default admin user (if required)
 - Seeding initial data
 - Inviting you to star our repo on GitHub ⭐
 
https://<yoursite>/lunar.
Telemetry insights
Lunar will phone home to send anonymous usage insights, the data we capture does not identify your store in any way, it exists to help us gain an understanding of how Lunar is used. You can easily opt out of this by adding the following to your service provider’s boot method:Advanced Installation Options
Table Prefix
Lunar uses table prefixes to avoid conflicts with your app’s tables. You can change this in the configuration.User ID Field Type
Lunar assumes your User ID field is a “BIGINT”. If you are using an “INT” or “UUID”, you will want to update the configuration inconfig/lunar/database.php to set the correct field type before running the migrations.