Download the PHP package akerbel/whmcs-easy-addons without Composer
On this page you can find all versions of the php package akerbel/whmcs-easy-addons. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download akerbel/whmcs-easy-addons
More information about akerbel/whmcs-easy-addons
Files in akerbel/whmcs-easy-addons
Download akerbel/whmcs-easy-addons
More information about akerbel/whmcs-easy-addons
Files in akerbel/whmcs-easy-addons
Vendor akerbel
Package whmcs-easy-addons
Short Description Whmcs Addon Admin Page Controller
License
Homepage https://github.com/akerbel/whmcs-easy-addons
Package whmcs-easy-addons
Short Description Whmcs Addon Admin Page Controller
License
Homepage https://github.com/akerbel/whmcs-easy-addons
Keywords Whmcs
Please rate this library. Is it a good library?
Informations about the package whmcs-easy-addons
WHMCS Easy Addons
WHMCS Easy Addons is a package for fast creating of addon admin pages.
Homepage: https://github.com/akerbel/whmcs-easy-addons
How to install:
The recommended way to install WHMCS Easy Addons is through Composer.
Next, run the Composer command to install the latest stable version of WHMCS Easy Addons:
How to use:
I. Admin tabs.
-
Install Composer
-
Create composer.json file inside your addon:
-
Your "_output" function should look like this:
- Create 'src' folder.
- Create output.php file in 'src' folder.
output.php:
- Create EasyAddonsSkeletonController.php in 'src' folder.
EasyAddonsSkeletonController.php:
- Create folder 'templates'.
- Create .tpl file for each your tab in 'templates' folder with names like 'firsttab.tpl' and 'secondtab.tpl'.
- You can assing your php variables in each 'Action' method:
==================== II. Fast item lists.
-
Example code:
- Now you can use this variables in your .tpl file:
- $filter - show a filter form.
- $paginator - show a page navigation.
- $tablehead - show a tablehead with sort buttons.
- $result - show an array of items.
New in v1.1:
- Now JOIN parameters can be arrays. It means, now you can use few similar JOINs in your query.
- ORDER and SORT parameters was added . If you use JOINs in your query, you must define you ORDER parameter, because 'ORDER BY' statement will use default 'id' and it will not work with JOINs.
Fixes in v1.1:
- The bug with namespaces of Exception class was fixed.
- Spacebars was added between pages in a paginator.
New in v1.2:
- Types of the paginator added. Enabled 'default' and 'short'. 'default' type is an old paginator with numbers. 'short' type is a new fast paginator. Use it if you work with a very big table. It includes only two buttons: previous page and next page. Stylized as a default WHMCS module logs` paginator.
All versions of whmcs-easy-addons with dependencies
PHP Build Version
Package Version
No informations.
The package akerbel/whmcs-easy-addons contains the following files
Loading the files please wait ....