Download the PHP package dotkernel/admin without Composer

On this page you can find all versions of the php package dotkernel/admin. 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 admin

Dotkernel Admin

Dotkernel Admin is an application (skeleton) intended for quickly setting up an administration site for your platform. It's a fast and reliable way to manage records in your database with a simple table-based approach, and also to build reports and graphs to monitor your platform. The many graphical components at your disposal ensure an intuitive user experience.

Check out our demo.

Submit user admin and password dotadmin to authenticate yourself.

Documentation

Documentation is available at: https://docs.dotkernel.org/admin-documentation/

Badges

OSS Lifecycle PHP from Packagist (specify version)

GitHub issues GitHub forks GitHub stars GitHub license

Build Static codecov Qodana PHPStan

Getting Started

Clone the project

Using your terminal, navigate inside the directory you want to download the project files into. Make sure that the directory is empty before proceeding to the download process. Once there, run the following command:

Install the project dependencies

You will be prompted with the below message to choose whether you want to inject ConfigProviders:

Type 0 to select [0] Do not inject and hit Enter.

We choose not to inject any ConfigProvider because Dotkernel Admin comes with all the required ConfigProviders already injected in config/config.php. Choosing to inject any extra ConfigProvider would cause having duplicates which are not allowed and would crash the application.

Development mode

Do not enable development mode in production!

If you're installing the project for development, you should enable development mode by running:

You can disable development mode by running:

You can check the development status by running:

Prepare config files

Setup database

Use an existing empty one or create a new MariaDB/MySQL database.

Recommended collation: utf8mb4_general_ci.

Running migrations

This command will prompt you to confirm that you want to run it:

WARNING! You are about to execute a migration in database "<database>" that could result in schema changes and data loss. Are you sure you wish to continue? (yes/no) [yes]:

Hit Enter to confirm the operation.

Executing fixtures

Fixtures are used to seed the database with initial values and must be executed after migrating the database.

To list all the fixtures, run:

This will output all the fixtures in the order of execution.

To execute all fixtures, run:

To execute a specific fixture, run:

More details on how fixtures work can be found in dotkernel/dot-data-fixtures documentation.

Mail configuration

If your application sends emails, you must configure an outgoing mail server under config/autoload/mail.global.php.

Sync GeoLite2 databases

Full sync

You can download/update all GeoLite2 databases at once by running the following command:

The output should be similar to the below:

Selective sync

You can download/update a specific GeoLite2 database by running the following command:

Where <database> takes one of the following values: asn, city, country.

Get help for this command by running:

If you set up the synchronizer command as a cronjob, you can add the -q|--quiet option, and it will output data only if an error has occurred.

NPM Commands

To install dependencies into the node_modules directory run this command:

If the above command fails, it could be caused by user permissions of npm. Recommendation is to install npm through Node Version Manager.

The watch command looks for JavaScript/CSS file changes and recompiles the assets under the public assets:

Once finished working on the JavaScript/CSS files, run the below command to minify the public assets and prepare them for production:

Test the installation

If you are using virtual hosts as described in the [Dotkernel documentation] (https://docs.dotkernel.org/development/), you need to modify the permissions of the data, public/uploads and log folders:

Run the following command in your project's directory to start PHPs built-in server:

Running command composer serve will do the same thing, but the server will time out after a couple of minutes.

If you are still getting exceptions or errors regarding some missing services, try running the following command:

Open a web browser and visit http://localhost:8080/.

You should see the Dotkernel Admin login page. If you ran the migrations you will have an admin user in the database with the following credentials:


[!WARNING] Production only

Make sure you modify the default admin credentials.


[!WARNING] Development only

session.cookie_secure does not work locally so make sure you modify your local.php, as per the following:

Do not change this in local.php.dist as well because this value must remain true on production.


All versions of admin with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2.0 || ~8.3.0
dotkernel/dot-cache Version ^4.3.0
dotkernel/dot-cli Version ^3.9.0
dotkernel/dot-data-fixtures Version ^1.4.0
dotkernel/dot-dependency-injection Version ^1.2.0
dotkernel/dot-errorhandler Version ^4.0.0
dotkernel/dot-flashmessenger Version ^3.6.1
dotkernel/dot-geoip Version ^3.9.0
dotkernel/dot-helpers Version ^3.8.0
dotkernel/dot-mail Version ^5.1.5
dotkernel/dot-navigation Version ^3.5.1
dotkernel/dot-rbac-guard Version ^3.6.0
dotkernel/dot-router Version ^1.0.5
dotkernel/dot-session Version ^5.7.0
dotkernel/dot-twigrenderer Version ^3.6.0
friendsofphp/proxy-manager-lts Version ^1.0.18
laminas/laminas-component-installer Version ^3.5.0
laminas/laminas-config-aggregator Version ^1.18.0
mezzio/mezzio Version ^3.21.0
mezzio/mezzio-authentication-oauth2 Version ^2.11.0
mezzio/mezzio-authorization-rbac Version ^1.9.0
mezzio/mezzio-cors Version ^1.14.0
mezzio/mezzio-fastroute Version ^3.13.0
ramsey/uuid Version ^4.5.0
ramsey/uuid-doctrine Version ^2.1.0
roave/psr-container-doctrine Version ^5.2.2
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 dotkernel/admin contains the following files

Loading the files please wait ....