AdminNeo and EditorNeo functions can be extended by plugins. The information about plugins usage is below.
IpLoginPlugin | Restricts login to given IP address. | |
---|---|---|
OtpLoginPlugin | Adds time-based one-time password authentication to the login form. How to set up OTP. | |
ExternalLoginPlugin |
Authenticates a user by a custom method. This plugin allows integrating AdminNeo with environments that use a single sign-on user authentication. It requires the servers configuration parameter to be set together with the database username and password. If only one server is configured, the user will be automatically logged in. |
|
TableLoginPlugin |
Authenticates a user from the users table. This plugin can be used to manage users access in EditorNeo and/or if connecting to a password-less SQL database. |
|
FrameSupportPlugin |
Allows using AdminNeo or EditorNeo inside a frame by modifying X-Frame-Options and
Content-Security-Policy HTTP headers.
|
JsonPreviewPlugin | Displays JSON previews in selection table and/or in edit form. Previews will be displayed for columns with native JSON data type and for values that are automatically detected as JSON objects or arrays if jsonValuesDetection configuration parameter is enabled. | |
---|---|---|
FileUploadPlugin |
Replaces fields ending with "_path" by <input type="file"> in edit form
and displays links to the uploaded files in table select.
|
|
ForeignEditPlugin | Displays selection for fields with a foreign key in edit form. | |
SlugifyEditPlugin | Prefills field starting with "slug_" or ending with "_slug" with slugified value of a previous field. | |
TinyMcePlugin | Use TinyMCE 7 editor for all edit fields containing "_html" in their name. | |
SystemForeignKeysPlugin | Links tables by foreign keys in system 'information_schema' and 'mysql' databases. |
TranslationPlugin | Translates all table and field comments, enum and set values in Editor from the translation table. | |
---|---|---|
SqlLogPlugin | Logs all queries to SQL file. |
File structure will be:
- adminneo-plugins
- JsonPreviewPlugin.php
- XmlDumpPlugin.php
- FileUploadPlugin.php
- ...
- adminneo.php
- adminneo-plugins.php
You can freely rename adminneo.php to index.php.
The file adminneo-plugins.php will return the array with plugin instances:
<?php
// Enable plugins.
// Files in `adminneo-plugins` are autoloaded, so it is not necessary to include the source files.
return [
new \AdminNeo\JsonPreviewPlugin(),
new \AdminNeo\XmlDumpPlugin(),
new \AdminNeo\FileUploadPlugin("data/"),
// ...
];
ℹ️ Note: More information about usage of each plugin can be found directly in the source file.
Plugins can be downloaded directly from URL:
https://www.adminneo.org/files/[version]/plugins/[plugin].php
Parameters:
version |
Version number (e.g., 5.0.0 ) or latest value for the latest stable version.
|
---|---|
plugin |
Plugin name (e.g., JsonPreviewPlugin ).
|