NewPluginSystem PHPNewPluginSystem PHP
Ajax based plugin systemNewPluginSystem PHP
Ajax based plugin systemOverview
A plugin system like wordpress and other cms, called New plugin system
Project includes:
• Configuration files,
• Example, demo plugins,
• Enabling/Disabling Plugins,
• Load existing plugins from directory,
• Uploading Plugins,
• Search for plugins,
• Database based plugins loading,
• Each module has information such as (description, author, version, name) that gets from file,
• AJAX based, fast loading,
• Auto remove plugins from database if they are not found in the folder,
• And more...
In this project have been used frameworks:
Font-awesome
Bootstrap
Jquery
Features
Plugin class
Simple database class
Database config
General config file
Ajax upload
Ajax enable/disable
Ajax Search
Requirements
Apache or Nginx
PHP >= 5.5
Mysql
PHP default extensions
Instructions
1.Create the database, for example in phpmyadmin, with {your desired name}
2.Import file plugin_system.sql into your created database
3.Setup your database configuration settings in configs -> db.php file
You can create your own plugin with an example of one of the default created plugins, then you can easily add code into the plugin file inside your created plugin folder.
Or make a simple file named {your plugin name} .php
The plugin folder must have a file inside with its name, for example: {plugin_name} / {plugin_name.php}, or just a file without folder, {plugin_name.php}, through that file can be included the plugin and the information / code from it.
this file should have a brief header like:
/ *
Plugin Name: {Your plugin name}
Description: {Your plugin description}
Version: {Your plugin version}
Author: {Your plugin author}
* /
for getting the plugin information to be listed in the plugins table.
Category | Scripts & Code / PHP Scripts / Miscellaneous |
First release | 3 April 2020 |
Last update | 3 April 2020 |
Software version | PHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4, PHP 5.5, PHP 5.6 |
Files included | .php, .css, .sql, Javascript .js |
Database | MySQL 4.x, MySQL 5.x |
Tags | ajax, style, plugin, upload, search, System, class, library, enable, disable, advanced |