Download the PHP package delatbabel/keylists without Composer

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

keylists

Yeah yeah, you know the drill. Your application needs to have all of these key/value tables. A list of states of the USA. A list of currencies. A table for timezones. A table for staff rotation types. A table for the names of the seven dwarfs (NAME THEM! NOW! QUICK!) (*). A key/value list for each of the 101 dropdowns that you have on the far-too-many forms on your site.

Keylists is a set of database tables and model classes to handle key/value lists in an application in a standard way

So you can now store all of these key/value lists into a single set of tables and cache the whole lot and never have to panic about where to store these things ever again.

Installation

Add these lines to your composer.json file:

Once that is done, run the composer update command:

Alternatively just run this:

Register Service Provider

After composer update completes, add this line to your config/app.php file in the 'providers' array:

Incorporate and Run the Migrations

Finally, incorporate and run the migration scripts to create the database tables as follows:

Sample Data

To load some of the sample data, try adding this line to the $commands array in your app/Console/Kernel.php file:

Then run this command:

This should create entries in the keylists / keyvalues table for the ISO 3166 country codes and names.

Example

I'll get to that. Quit bugging me, K? Just go read the code.

Notes

(*) Happy, Dumpy, Sleepy, Gropey ... umm, hang on, was Gropey one of them?? ... Flopsy, Mopsy and Cottontail.


All versions of keylists with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
delatbabel/fluents Version ~1.0
guzzlehttp/guzzle Version 5.*
laravel/framework Version 5.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 delatbabel/keylists contains the following files

Loading the files please wait ....