# Plugin Builder

{% hint style="danger" %}
**Please note:** This page is under construction and has not been finished yet.
{% endhint %}

## Introduction

By far, the quickest and easiest way to develop a plugin for e107 is to use the [Plugin Builder](https://devguide.e107.org/plugin-development/plugin-builder), because:

* It allows you to select the database file ([plugin\_sql.php](https://devguide.e107.org/installation-and-configuration#plugin_sql-php)) file from the plugin folder, or directly from the database table list, and it will generate most of the new code for the [Admin-UI](https://devguide.e107.org/plugin-development/admin-ui) of your plugin.<br>
* It will generate the new [plugin.xml](https://devguide.e107.org/installation-and-configuration#plugin-xml) meta-file, which is used during installation of your plugin and also when sharing plugins via this site.&#x20;

{% hint style="success" %}
The Plugin Builder can be found in Admin Area > Manage > Plugin Manager > Plugin Builder.&#x20;
{% endhint %}

## How to use the Plugin Builder

1. Create an empty plugin folder in e107\_plugins (eg. "*myplugin*")
2. Create a new text file with the \*\_sql.php extension. (eg. "*myplugin\_sql.php*")
3. Using a tool such as phpMyAdmin, create your database table structure, and then export it in SQL format.
4. Copy and paste the database structure *("CREATE TABLE")* to your your *\*\_sql.php* file. (see other plugins for examples)
5. Go to Admin Area > Manage > [Plugin Manager](https://userguide.e107.org/administration/manage/plugin-manager) > Plugin Builder and choose "*myplugin*" from the dropdown menu and then follow the prompts.
6. Thoroughly check the details of each Table Tab (and Preferences Tab if you need them) before proceeding with the creation process.

## Basic info

{% hint style="info" %}
This section has not been finished yet!
{% endhint %}

## Database tables

{% hint style="info" %}
This section has not been finished yet!
{% endhint %}

field

caption

type

data

width

batch

filter

inline

validate

display

R/O

Helptip

ReadParms

WriteParms

## Preferences

{% hint style="info" %}
This section has not been finished yet!
{% endhint %}

## Addons

{% hint style="info" %}
This section has not been finished yet!
{% endhint %}
