PHP Configurator

PHP Configurator

[ad_1]

To get this product on 50 p.c contact me on this link

 

LIVE PREVIEWBUY FOR $13

Hi there!

My title is PHP Configurator and I might help you to handle your configuration recordsdata into your PHP tasks.

All your tasks have some configurations settings which it can save you on database or save below recordsdata in format PHP, ini, yaml, xml, and so on.

You know, essentially the most quick method is utilizing PHP array, however give your prospects a PHP array file may be onerous to edit.

They want FTP program, an editor and know what to alter. Without contemplating that they will mistaken edit that recordsdata.

No worries!

Thanks to me, you possibly can simply create your PHP array organized into recordsdata, and I’ll create a pleasant consumer interface the place your prospects can simple edit your settings.

I work with any PHP array, however I’ve two primary modes: easy PHP associative array like array(‘key1’ => ‘value1’, ‘key2’ => ‘value2’) and a complicated mode, the place you possibly can outline attributes like discipline sort, validation, and so on.

How does it work?

It’s fairly easy. Find beneath instance of utilization, then you can even test instance demos right here, right here and right here.

// 1. Include primary class
embody '../courses/Configurator.php';

// 2. Prepare Settings
$settings = [
  'base_dir' => '/path/to/www/envato/configurator' // base path to your project
  ,'config_dir' => '/config/' // config directory where you put your config files
  ,'form_field_prefix' => '<div class="form-group">' // Each form field will have this prefix
  ,'form_field_suffix' => '</div>' // Each form field will have this suffix
  ,'form_field_class' => 'form-control' // Form field class name
];

// 3. Create new occasion passing $settings array
$configurator = new Configurator($settings);
// 4. Set configuration file (non-obligatory, if omitted, config.php shall be used)
// The path of file is construct utilizing $settings['base_dir'] + $settings['config_dir'] + 'config' + '.php'
// 'config' is beneath paramter which you go to set
$configurator->setFile('my_config_filename');
// 5. Set language file (non-obligatory if you need translate label and outline)
// The language file ought to be an associative array
$configurator->setLanguage(embody '../config/language_en.php');
// 6. Load knowledge from file
$configData = $configurator->loadFile();
// 7. Set present config so we are able to add/edit config
$configurator->setConfig($configData);
// 8. Check if submit is submitted
if($_POST)
{
  // 9. Save
  $configurator->saveData($_POST);
} 
else 
{
   // show kind with knowledge of configuration file
   $configurator->showForm();
}

Support discussion board:

https://socialveo.com/community
I’ve use this product in numerous PHP tasks in final years, so it may well take into account steady model. However all software program has bugs, and in the event you uncover one, please let me know. I’ll do my finest to repair them in later releases.

NOTE:

[ad_2]

To get this product on 50 p.c contact me on this link

 

Source

Pomento
Logo
Register New Account
Compare items
  • Total (0)
Compare
0
Shopping cart