Download the PHP package lagdo/jaxon-dbadmin without Composer

On this page you can find all versions of the php package lagdo/jaxon-dbadmin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package jaxon-dbadmin

Scrutinizer Code Quality StyleCI

Latest Stable Version Total Downloads License

A database admin dashboard based on Jaxon and Adminer

This package inserts a database admin dashboard into an existing PHP application. Thanks to the Jaxon library, it installs and runs in a page of the application. All its operations are performed with Ajax requests, so the user never leaves the page.

The database access code (and thus the provided features) originates from Adminer. The original code was refactored to take advantage of the latest PHP features (namespaces, interfaces, DI, and so on), and separated into multiple Composer packages.

Howtos

This blog post on the Jaxon website explains how to install Jaxon DbAdmin on Backpack, an admin panel based on the Laravel framework: https://www.jaxon-php.org/blog/2025/07/install-jaxon-dbadmin-on-backpack.html.

The Jaxon DbAdmin application

The https://github.com/lagdo/dbadmin-app repo provides a ready-to-use Jaxon DbAdmin application built with Laravel.

The driver packages for PostgreSQL, MySQL and SQLite are included, so the user just need to add its databases in the config file.

A Docker image is also provided to get started easily.

Documentation

Install the Jaxon library so it bootstraps from a config file and handles ajax requests. Here's the documentation.

Install this package with Composer. If a framework extension is available for your framework, you must also install it. It will automate the previous step.

The database drivers

Install the drivers packages for the database servers you need to manage. The following drivers are available:

Declare the package and the database servers in the app.packages section of the Jaxon configuration file.

See the corresponding database driver package for specific database server options.

The CSS and javascript codes

Insert the CSS and javascript codes in the HTML page of your application, as described in the Jaxon documentation.

The UI builder

This package uses the HTML UI builder to build UI components for various frontend frameworks.

The packages for the UI framework in use must also be installed. The following builders are available:

In the above example, the UI will be built with Bootstrap3 components.

Additional config options

There are other config options that can be used to customize the Jaxon DbAdmin operation.

The default option sets a database server Jaxon DbAdmin must connect to when it starts, instead of displaying a blank page.

Access restriction

The access section provides a few options to restrict access to databases on any server.

If the access.server option is set to false at package level, then the access to all servers information will be forbidden, and the user will have access only to database contents. The access.server option can also be set at a server level, and in this case it applies only to that specific server.

In this configuration, the user will get access to server information only on the server with id server_id.

The access.databases and access.schemas options define the set of databases and schemas the user can access. This options can only be defined at server level, and will apply to that specific server. The access.schemas option will apply only on servers which provide that feature.

In this configuration, the user will be able to get access only to three databases on the server with id server_id.

Customizing the package config

The app admin may need to customize the access parameters, depending for example on the connected user account or role.

In this case, the provider option can be used to define a callable that returns the access options as an array, which will then be used to configure the package.

The defined options are passed to the callable, so it can be used as a basis to build the customized config.

Logging queries

Starting from version 0.17, the queries executed by the users can be saved in a provided database.

The required options are provided under the logging key.

The logging.database options identify the database where the queries are saved. Depending on the database server, one of the scripts in the migrations/pgsql, migrations/mysql or migrations/sqlite directories in this repository must be used to create the logging database.

The logging.options.enduser.enabled option enables the logging on all the user queries, while the logging.options.history.enabled option enables the logging only for the queries executed in the query editor.

The logging.options.history.limit option is the number of queries in the history, which defaults to 15, and when the logging.options.history.distinct option is set to true, the history displays only distinct queries.

Data import (currently disabled)

SQL files can be uploaded and executed on a server. This feature is implemented using the Jaxon ajax upload feature, which then needs to be configured in the lib section of the Jaxon config file.

As stated in the Jaxon ajax upload documentation, sql_files is the name attribute of the file upload field, and of course /path/to/the/upload/dir needs to be writable. Other parameters can also be defined to limit the size of the uploaded files or retrict their extensions or mime types.

Data export (currently disabled)

Databases can also be exported to various types of files: SQL, CSV, and more. A directory where the exported files are going to be saved must then be defined in the configuration, as well as an url where they can be downloaded.

The web server needs to be setup to serve the files in the directory dir from url url.

Contribute

License

The project is licensed under the Apache license.


All versions of jaxon-dbadmin with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0.0
ext-json Version *
ext-iconv Version *
jaxon-php/jaxon-core Version ^5.0
jaxon-php/jaxon-annotations Version ^3.0
jaxon-php/jaxon-dialogs Version ^5.0
lagdo/dbadmin-driver Version ^0.13
lagdo/facades Version ^1.0
lagdo/ui-builder Version ^0.2
lagdo/jaxon-ui-builder Version ^0.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lagdo/jaxon-dbadmin contains the following files

Loading the files please wait ....