The Administration Panel plugin for Grav is a web GUI (graphical user interface) that provides a convenient way to configure Grav and easily create and modify pages. This will remain a totally optional plugin, and is not in any way required or needed to use Grav effectively. In fact, the admin interface provides an intentionally limited view to ensure it remains easy to use and not overwhelming. Power users will still prefer to work with the configuration files directly.
The Adminstration Panel is quite an ambitious plugin with lots of functionality that will give you a lot of power and flexibility when building out your Grav sites. So if you have any questions, problems, suggestions or find one of those rare bugs in it, please use one of the following ways to get support from us.
For live chatting, please use the Slack Chat Room for discussions related to the admin plugin.
For bugs, features, improvements, please ensure you create issues in the admin plugin GitHub repository.
First ensure you are running the latest Grav version, 1.4.5 or later. This is required for the admin plugin to run properly. Check for and upgrade to new Grav versions like this (
-f forces a refresh of the GPM index):
$ bin/gpm version -f $ bin/gpm selfupgrade
The admin plugin actually requires the help of 3 other plugins, so to get the admin plugin to work you first need to install the login, forms, and email plugins. These are available via GPM, and because the plugin has dependencies you just need to proceed and install the admin plugin, and agree when prompted to install the others:
$ bin/gpm install admin
You can also install the plugin manually if you are unable to use GPM on your system.
With the latest version of the Admin, you will be prompted to create an admin user account when you point your browser to your site. You must complete this step to ensure straight away a valid admin user is under your control.
Simply fill out the form and click the
Create User button.
The user information is stored in the
user/accounts/ folder of your Grav installation. You can edit the values manually or via the Admin plugin itself. You can also create new users manually or via the
bin/plugin login newuser CLI command. More information is contained in the Admin FAQ.
Regex patterns for usernames and passwords are defined in
The default pattern for users (
system.username_regex) is only lowercase characters, digits, dashes, and underscores. Usernames must be between 3 - 16 characters in length.
The default pattern for passwords (
system.pwd_regex) is a minimum of eight (8) characters, with at least one number, one uppercase, and one lowercase letter.
By default, you can access the admin by pointing your browser to
http://yoursite.com/admin. You can simply log in with the
password set in the YAML file you configured earlier.
After logging in, your plaintext password will be removed and replaced by an encrypted one.
The standard free version is very powerful and has more functionality than most commercial flat-file CMS systems.
We also intend to release in the near future a more feature-rich pro version that will include enhanced functionality, as well as some additional nice-to-have capabilities. This pro version will be a paid plugin the price of which is not yet 100% finalized.