Download the PHP
package lum/lum-compat without Composer
On this page you can find all versions of the php package
lum/lum-compat. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor lum Package lum-compat Short Description Lum library compatibility level meta-package License
MIT
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 lum-compat
lum.compat.php
Summary
A meta-package to be used by my other Lum libraries to determine their
PHP compatibility level, and if any polyfills are required.
All libraries that update to the next lum-compat version must bump their
major version at the same time. Even if there are no changes to the library
at all, changing the target lum-compat version is breaking compatibility.
Versions
Each version is stored in its own branch, and there will be tags made
for each branch as updates are made.
v2.x
Requires PHP 8.1 as minimum version.
Requires the mbstring extension.
May provide polyfills for some PHP 9 features in the future.
v1.x
Requires PHP 7.4 as minimum version.
Requires the json extension (which is core in PHP 8.)
Will provide polyfills for some PHP 8 features in PHP 7 runtimes.
Usage
This meta-package isn't really useful outside the other Lum PHP libraries.
The production composer.json will use a caret version range operator
in the requires property, e.g. ^2.0 to specify the v2.x branch.
Internal composer-dev* files will use a dev branch specifier instead,
so for example, 2.x-dev would point to the v2.x branch.
Requiresphp Version
^8.1 ext-json Version
* ext-mbstring Version
*
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 lum/lum-compat contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.