Download the PHP package avexsoft/donkey without Composer

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

Donkey

Latest Version on Packagist Total Downloads Build Status StyleCI

Donkey is a Laravel package to modify your Laravel config() in code/any environment without giving access to the .env file.

Any key of the config can be modified like this

What problems does this solve?

  1. If you had to change a value in config() that is not exposed in .env, how do you do it? Does it have to go through the entire CI/CD pipeline before reaching production?

  2. If you had to enable Laravel's debug mode temporarily in production, how would you do it? Modify .env? Who will be editing it? Will they accidentally edit something else? And does that person have SSH access? Even if you trust them, do you really want the other API keys to show up on their screens?

  3. Perhaps our biggest pain point was coming up with the UI to expose configurable parts of our projects to the users, there just wasn't an elegant way to do it. Our companion Filament package lets you create a configuration page blazingly fast and in your own namespace

How does it work?

  1. Donkey::set('app.debug', true) stores the key-value pair into the database
  2. You can blacklist keys using regular expression, e.g. app.*, database.*
  3. Next, a whilelist will let through keys like app.debug, this way, you prevent really sensitive keys like app.key from being overwritten
  4. The package then inject these pairs from the database into the project after going through the black and whitelist
  5. This approach plays nicely with the Laravel config:cache and requires no changes in your project

Installation

Via Composer

Usage

Change log

Please see the changelog for more information on what has changed recently.

Testing

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.


All versions of donkey with dependencies

PHP Build Version
Package Version
Requires composer/installers Version ^2.3
doctrine/dbal Version ^4.4.1
illuminate/contracts Version ^11.0|^12.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 avexsoft/donkey contains the following files

Loading the files please wait ...