Download the PHP package xiidea/easy-config without Composer

On this page you can find all versions of the php package xiidea/easy-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 easy-config

Easy Configuration

Coverage Status Scrutinizer Code Quality Latest Stable Version Total Downloads License

A Symfony Bundle for easy configuration management.

Features Include

Install

  1. Download and Enable EasyConfigBundle
  2. Create Config entity class
  3. Configure yaml file
  4. Update database schema
  5. Create your first form
  6. Register the bundle’s routes
  7. Overriding default EasyConfigBundle templates (optional)

1. Download and Enable EasyConfigBundle :

Download through composer :

Open a command console, enter project directory and execute the following command to download the latest stable version of this bundle:

Enable Bundle (No need when Flex is available):

The bundle should be automatically enabled by Symfony Flex. If you don't use Flex, you will need to enable the bundle manually by adding the following line in the config/bundles.php file of your project:

2. Create Config entity class:

By default EasyConfigBundle supports Doctrine ORM. However, you must provide an Entity class and the class has to extend the class \Xiidea\EasyConfigBundle\Model\BaseConfig. To configure the Entity class properly please follow the detailed instructions.

3. Configure yaml file:

Create a file in the following directory config/packages with the exact name xiidea_easy_config.yaml A sample config file is available in this path Resources/config/config-sample.yml. Copy this sample file's content and paste to just created file. Do not forget to change your Entity class name which has been mentioned in Step 3.

4. Update database schema:

It’s time to set up the database schema, open your command console, go to your project root path and execute the following command.

5. Create form group and type:

Create a form group class and form type with your necessary fields. Please follow the instructions to create the form group and type.

6. Register the bundle’s routes:

Now it's time to access the form you have just created, for that you have to include bundle's routes to your application by the following way.

Note: You may change the prefix as your wish

Following routes are available in this bundle:

7. Overriding default EasyConfigBundle templates (optional)

Template overriding is not important to use EasyConfigBundle bundle but if you want to keep UI as similar as your application you can override the template, to do so follow the instructions

Congratulations !

Your application is ready to store configurations, just browse the routes.

License

The Easy Config Bundle is licensed under the MIT license. See the LICENSE file for more details.


All versions of easy-config with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
symfony/framework-bundle Version >=5.0 <7.0.0
symfony/security-bundle Version >=5.0 <7.0.0
symfony/security-core Version >=5.0 <7.0.0
symfony/twig-bundle Version >=5.0 <7.0.0
symfony/form Version >=5.0 <7.0.0
symfony/http-foundation Version >=5.0 <7.0.0
doctrine/orm Version ^2.4|^3.0
doctrine/dbal Version ^3.2|^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 xiidea/easy-config contains the following files

Loading the files please wait ....