PHP code example of onisep / ibexa-custom-settings-bundle

1. Go to this page and download the library: Download onisep/ibexa-custom-settings-bundle library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

onisep / ibexa-custom-settings-bundle example snippets




return [
    // ...
    Onisep\IbexaCustomSettingsBundle\IbexaCustomSettingsBundle::class => ['all' => true],
    // ...
];

# migrations/Version20231004124944.php



namespace Onisep\migrations;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

final class Version20231004124944 extends AbstractMigration
{
    public function up(Schema $schema): void
    {
        $this->addSql('CREATE TABLE ibexa_custom_settings (id INT AUTO_INCREMENT NOT NULL, location_id INT NOT NULL, setting_key VARCHAR(300) NOT NULL, setting_value LONGTEXT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;');
    }
}