1. Go to this page and download the library: Download rainlab/builder-plugin 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/ */
namespace Acme\Blog\Classes;
use RainLab\Builder\Widgets\DefaultControlDesignTimeProvider;
class ControlDesignTimeProvider extends DefaultControlDesignTimeProvider
{
public function __construct()
{
$this->defaultControlsTypes[] = 'yourwidgetname';
}
}
bash
php artisan plugin:install RainLab.Builder
bash
php artisan plugin:remove RainLab.Builder
authornamespace
pluginnamespace
classes
lang
en
lang.php
updates
version.yaml
Plugin.php
plugin.yaml
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.