Download the PHP package barth/simple-config-bundle without Composer

On this page you can find all versions of the php package barth/simple-config-bundle. 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 simple-config-bundle

SimpleConfigBundle

This bundle provide an UI to configure other bundles by override a configuration file.

This should be used to allow administrators of your Application to easily change some simple configuration. References this documentation example, they could can change the Twitter Client Id and Twitter Client secret.

The mechanism behind is to retrieve all available configuration for a bundle, display it in a form, and dump the submitted data in a new config file that will override the default configuration.

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute:

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the config/bundle.php file of your project:

Step 3: Import routes

In your config/routes.yaml, add the following route definition :

:warning: You should provide a prefix where only ROLE_ADMIN can access.

Optionnal Steps

You should add the config/packages/override path to your gitignore. If you deploy your app with awesome tools like Capistrano or Deployer, don't forget to make this path as shared to avoid lose custom override between each deployment.

Blacklist bundles

By default, all bundles that come with symfony/website-skeleton are blacklisted. You cannot override them so easily.

You can extend this list by adding the bundle alias in your configuration :

How use it

When installation is completed, you have two new routes :

Customization and Integration

Custom Backend

By default, pages don't look very pretty. To integrate it in your template, don't hesitate to override the base.html.twig template by creating a new one in templates/bundles/BarthSimpleConfigBundle/ and make it extend your base template.

Third-party bundles

SimpleConfigBundle can easily be integrated in EasyAdminBundle. Just require it.

Contribute

First of all, thank you for contributing :heart:

If you find any typo/misconfiguration/... please send me a PR or open an issue.

Also, while creating your PR, please write a description which gives the context and/or explains why you are creating it.

TODOs


All versions of simple-config-bundle with dependencies

PHP Build Version
Package Version
Requires symfony/config Version ^3.4|^4.0
symfony/dependency-injection Version ^3.4|^4.0
symfony/filesystem Version ^3.4|^4.0
symfony/finder Version ^3.4|^4.0
symfony/framework-bundle Version ^3.4|^4.0
symfony/form Version ^3.4|^4.0
symfony/yaml Version ^3.4|^4.0
symfony/http-kernel Version ^3.4|^4.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 barth/simple-config-bundle contains the following files

Loading the files please wait ....