Download the PHP package grey-dev-0/laravel-config without Composer

On this page you can find all versions of the php package grey-dev-0/laravel-config. 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 laravel-config

Laravel Configuration Extension

An extension for the standard Laravel's Config class that enables developers to create and manipulate configuration files at runtime, so that configuration values are persistent across multiple requests instead of calling Config::set() on every request.

General Purpose

The standard Config class has no method to create nor to save new configuration files so, I made this simple package just to do these do things.

Support

This package is supported in Laravel versions 5.0, 5.1, 5.2 and hopefully 5.3. And of course the package is meant to be used with the file driver of Config.

Installation

  1. Use composer to install it as follows:

  2. Modify the config/app.php file. For Laravel 5.0
    Add this entry to the providers array.

Modify the Config value in the aliases array to this:

For Laravel 5.1+
Add this entry to the providers array.

Modify the Config value in the aliases array to this:

That's it you're good to go.

Usage

Along with other default Config methods like get and set, this package adds two extra methods create for creating new configuration file with the data you enable the users to set and, save which saves an existing or a new configuration value to an existing configuration file.

After running the code above you'll find a file in your config folder with the name myConfigFile.php containing the following data:

Notes

This package does not clear opcache if it's used so new configuration values might not be applied on the next requests until you clear it manually. In case if opcache is used make sure to call clear_opcache() before using create or save methods.

License: MIT.


All versions of laravel-config with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version ^5.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 grey-dev-0/laravel-config contains the following files

Loading the files please wait ...