Download the PHP package dotkernel/light without Composer

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

light

Minimal project to generate a simple website.

OSS Lifecycle PHP from Packagist (specify version)

GitHub issues GitHub forks GitHub stars GitHub license

Continuous Integration codecov Qodana

SymfonyInsight

Installing Dotkernel light

Tools

Dotkernel light interface has been tested with npm v10.0.4 and Node.js v20.11.0.

Composer

Installation instructions:

If you have never used composer before make sure you read the Composer Basic Usage section in Composer's documentation

Choosing an installation path for Dotkernel light

Example:

Installing Dotkernel light

After you choose the path for Dotkernel light (dk will be used for the remainder of this example), let's move onto installation.

Installing Dotkernel light using git clone

This method ensures that the default branch is installed, even if it is not released. Run the following command:

The dependencies have to be installed separately, by running this command:

The setup script prompts for some configuration settings, for example the lines below:

Simply select [0] Do not inject, because Dotkernel includes its own configProvider which already contains the prompted configurations.

If you choose [1] config/config.php Laminas's ConfigProvider will be injected.

The next question is:

Remember this option for other packages of the same type? (Y/n)

You should enter y and press Enter.

Configuration - First Run

Development mode

Run this command to enable dev mode by turning debug flag to true and turning configuration caching to off. It will also make sure that any existing config cache is cleared.

NPM Commands

To install dependencies into the node_modules directory run this command.

The watch command compiles the components then watches the files and recompiles when one of them changes.

After all updates are done, this command compiles the assets locally, minifies them and makes them ready for production.

Running the application

We recommend running your applications in WSL:

You should see the Dotkernel light welcome page.

NOTE:

If config-cache.php is present that config will be loaded regardless of the ConfigAggregator::ENABLE_CACHE in config/autoload/mezzio.global.php


All versions of light with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2.0 || ~8.3.0
dotkernel/dot-controller Version ^3.4.3
dotkernel/dot-errorhandler Version ^4.0.0
dotkernel/dot-twigrenderer Version ^3.4.3
friendsofphp/proxy-manager-lts Version ^1.0.16
laminas/laminas-component-installer Version ^3.4.0
laminas/laminas-config-aggregator Version ^1.14.0
mezzio/mezzio Version ^3.18.0
mezzio/mezzio-fastroute Version ^3.11.0
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/light contains the following files

Loading the files please wait ....