CodeCanyon PHP Configurator 9216964

CodeCanyon PHP Configurator 9216964

CodeCanyon PHP Configurator 9216964
PHP Script \ Help and Support Tools
Settings \ Array \ Options \ User \ Interface \ Config \ Manage \ Configuration



PHP Script - PHP Configurator 9216964 by macagoraga @ CodeCanyon

PHP Script \ Help and Support Tools

Last Update: 20 October 14; Software Version: PHP 5.x; High Resolution: No; Files Included: PHP.

Hi there!

My name is PHP Configurator and I can help you to manage your configuration files into your PHP projects.

All your projects have some configurations settings which you can save on database or save under files in format PHP, ini, yaml, xml, etc.

You know, the most fast way is using PHP array, but give your customers a PHP array file can be hard to edit.

They need FTP program, an editor and know what to change. Without considering that they can wrong edit that files.

No worries!

Thanks to me, you can just create your PHP array organized into files, and I will create a nice user interface where your customers can easy edit your settings.

I work with any PHP array, but I have two basic modes: simple PHP associative array like array(‘key1’ => ‘value1’, ‘key2’ => ‘value2’) and an advanced mode, where you can define attributes like field type, validation, etc.

How does it work?

It’s pretty simple. Find below example of usage, then you can also check example demos here, here and here.

// 1. Include main class
include './classes/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 instance passing $settings array
$configurator = new Configurator($settings);
// 4. Set configuration file (optional, if omitted, config.php will be used)
// The path of file is build using $settings['base_dir'] + $settings['config_dir'] + 'config' + '.php'
// 'config' is below paramter which you go to set
$configurator->setFile('my_config_filename');
// 5. Set language file (optional if you want translate label and description)
// The language file should be an associative array
$configurator->setLanguage(include './config/language_en.php');
// 6. Load data from file
$configData = http://codecanyon.net/item/php-configurator/$configurator->loadFile();
// 7. Set current config so we can add/edit config
$configurator->setConfig($configData);
// 8. Check if post is submitted
if($_POST)
{
// 9. Save
$configurator->saveData($_POST);
}

Support forum.

http://macagoraga.com/forum/forum/37-php-scripts/
NOTE.
I have use this product in different PHP projects in last years, so it can consider stable version. However all software has bugs, and if you discover one, please let me know. I will do my best to fix them in later releases.

Keywords: admin, array, configuration, configurator, customization, forms, manage settings, options, php, php array, php config, settings, user interface.



Tags: Settings, Array, Configurator, Options, Config

Premium CodeCanyon PHP Configurator 9216964 WordPress Themes, Website Templates, Mobile Themes, Flash Templates & Scripts from creative professional designers. Full details of CodeCanyon PHP Configurator 9216964 for digital design and education. CodeCanyon PHP Configurator 9216964 desigen style information or anything related.

Comments:

Name:*
E-Mail:*
Add Comments:
Enter Code: *