Download the PHP package nirjharlo/wp-plugin-framework without Composer

On this page you can find all versions of the php package nirjharlo/wp-plugin-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wp-plugin-framework

WP Plugin Framework

Build Status Scrutinizer Quality Score

A WordPress plugin framework is a simple and light-weight base to build any standard WP plugin on top of it. Easily achieve high productivity. It contains various items, such as Settings pages, Data tables, Widgets, Metaboxes, Custom Post Types, Shortcodes along with infrastructure for DB operations.

There are extra classes for API integration, AJAX, File upload and Cron jobs.

NOTE: Requires PHP 5.4 and up. Uses cURL for API integration class.

Installation

  1. For production environment:

  2. For development environment:

Usage

  1. Change the class namespaces, file namespaces, declarations in wp-plugin-framework.php and install.php before you start coding. Also, change the /asset file paths in plugin file wp-plugin-framework.php to your chosen folder path name. It's a precaution to avoid conflict.

  2. In plugin/PluginLoader.php the PluginLoader class includes all the files in instance and declares the classes inside them. You can remove existing files or add more files. It's recomended to put all the plugin features instances inside PluginLoader. This will help in organising the code.

  3. In plugin/PluginLoader.php the installation and uninstallation classes contain possible situations, including DB installation and uninstallation features.

Features

Go through the files in /lib/class- and /src/class-. First one contains classes for extra features, while the latter is using essential features.

/plugin/lib Files

/plugin/lib/Cron.php :: Cron to schedule operations.

/plugin/lib/Api.php :: Api to integrate 3rd party APIs.

/plugin/lib/Table.php :: Table to display data tables.

/plugin/lib/Ajax.php :: Ajax to make AJAX requests.

/plugin/lib/Upload.php :: Upload to upload a file.

/plugin/lib/Script.php :: Script to add required CSS and JS.

/plugin/src Files

/plugin/src/Install.php :: Install to handle activation process.

/plugin/src/Db.php :: Db to install database tables.

/plugin/src/Settings.php :: Settings to create admin settings pages.

/plugin/src/Cpt.php :: Cpt to create custom post type.

/plugin/src/Widget.php :: Widget to add custom widget.

/plugin/src/Metabox.php :: Metabox to add custom metabox in editor screen.

/plugin/src/Shortcode.php:: Shortcode to add and display shortcodes.

/plugin/src/Query.php:: Query to use post and user query. It uses wp_pagenavi() for breadceumbs

/plugin/src/RestApi.php:: RestApi to extend REST API.


All versions of wp-plugin-framework with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nirjharlo/wp-plugin-framework contains the following files

Loading the files please wait ....