2017 © Pedro Peláez
 

wordpress-plugin admin-page-framework

A PHP class based framework which facilitates WordPress plugin and theme development.

image

michaeluno/admin-page-framework

A PHP class based framework which facilitates WordPress plugin and theme development.

  • Monday, July 16, 2018
  • by michaeluno
  • Repository
  • 23 Watchers
  • 179 Stars
  • 87 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 51 Forks
  • 17 Open issues
  • 43 Versions
  • 10 % Grown

The README.md

Admin Page Framework

Welcome to Admin Page Framework GitHub Repository

Admin Page Framework is an OOP based open source WordPress library that facilitates theme and plugin development., (*1)

Scrutinizer Code Quality Build Status, (*2)

Admin Page Framework - Text, Password, and Textarea , (*3)

Admin Page Framework - Selectors   Admin Page Framework - Image, Media Library, and File Uploads   Admin Page Framework - Taxonomies and Post Types Checklist   Admin Page Framework - Misc   Admin Page Framework - Form Input Verification   Admin Page Framework - Export and Import Options   Admin Page Framework - Contextual Help Pane   Admin Page Framework - Custom Post Type and Meta Box   Admin Page Framework - Meta Boxes in Pages Added by the Framework   Admin Page Framework - Form Fields in Taxonomy Page   Admin Page Framework - Form Sections in Tabbed Boxes and Repeatable Option   Admin Page Framework - Auto-complete Custom Field Type   Admin Page Framework - Widget Form Fields

Installation

There are mainly two ways to include the framework., (*4)

  • Use the framework loader plugin., (*5)

    • The latest development version can be found here.
    • The latest stable version can be downloaded here.
  • Use the generated framework files which can be downloaded via Dashboard -> Admin Page Framework -> Tools -> Generator., (*6)

For more details, see the Getting Started (Dashboard -> Admin Page Framework -> Help -> Getting Started) of the admin pages of the loader plugin., (*7)

Examples

Create a Page

Admin Page Framework - Getting Started , (*8)

setRootMenuPage( 'Settings' );    // where to belong
        $this->addSubMenuItem(
            array(
                'title'        => 'My First Page',
                'page_slug'    => 'myfirstpage'
            )
        );
            
    }
    
    /**
     * @callback        action      do_{page slug}
     */
    public function do_myfirstpage() {
        ?>
        <h3>Say Something</h3>
        <p>This is my first admin page!</p>
        <?php   
    }

}
new APF;

Create a Form

Admin Page Framework - My First Form , (*9)

<?php
/* Plugin Name: Admin Page Framework - My First Form */ 

include( dirname( __FILE__ ) . '/library/apf/admin-page-framework.php' );

class APF_MyFirstFrom extends AdminPageFramework {

    public function setUp() {

        $this->setRootMenuPage( 'My Settings' );    // create a root page 
        $this->addSubMenuItem(
            array(
                'title'        => 'My First Form',
                'page_slug'    => 'my_first_form'
            )
        );

    }

    /**
     * The pre-defined callback method that is triggered when the page loads.
     * @callback        action      load_{page slug}
     */     
    public function load_my_first_form( $oAdminPage ) {

        $this->addSettingSections(    
            array(
                'section_id'    => 'my_first_text_section',    
                'page_slug'     => 'my_first_form',    
            )
        );

        $this->addSettingFields(
            array(    
                'field_id'      => 'text',
                'section_id'    => 'my_first_text_section',
                'title'         => 'Text',
                'type'          => 'text',
                'default'       => 123456,
            ),
            array(    
                'field_id'      => 'submit',
                'type'          => 'submit',
            )
        );

    }

}
new APF_MyFirstFrom;

See more code examples in Dashboard -> AdminPageFramework -> Help -> Examples., (*10)

Resources

Getting Helped

Contributions

Anyone is welcome to contribute to Admin Page Framework. There are various ways you can contribute:, (*11)

  • Report bugs.
  • Post ideas on enhancements.
  • Send us a Pull Request with your bug fixes and/or new features.
  • Write a custom field type.
  • Write test cases.
  • Improve the documentation.
  • Tweak the styling of the framework page elements.
  • Translate the language files in the language directory to your native language.
  • Possibly more.

Browser Compatibility

Internet Explorer 9 or below is not supported., (*12)

The framework uses - CSS flex., (*13)

Framework Core Development

See the contribution guideline., (*14)

Supporting Future Development

If you like the library, please rate and review it in the WordPress Plugin Directory. Also donation would be greatly appreciated. Thank you!, (*15)

Donate with PayPal, (*16)

Admin Page Framework (Framework Files)

MIT license, (*17)

Admin Page Framework - Loader (WordPress Plugin)

GPL v2, (*18)

The Versions

16/07 2018

dev-master

9999999-dev http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

16/07 2018

dev-dev

dev-dev http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

16/07 2018

3.8.18

3.8.18.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

09/07 2018

3.8.17

3.8.17.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

06/07 2018

3.8.16

3.8.16.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

22/01 2017

3.8.15

3.8.15.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

15/01 2017

3.8.14

3.8.14.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

21/12 2016

3.8.13

3.8.13.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

28/11 2016

3.8.12

3.8.12.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

24/11 2016

3.8.11

3.8.11.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

09/11 2016

3.8.10

3.8.10.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

05/11 2016

3.8.9

3.8.9.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

25/10 2016

3.8.8

3.8.8.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

09/10 2016

3.8.7

3.8.7.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

02/10 2016

3.8.6

3.8.6.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

25/09 2016

3.8.5

3.8.5.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

21/09 2016

3.8.4

3.8.4.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

08/09 2016

3.8.3

3.8.3.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

24/08 2016

3.8.2

3.8.2.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

02/08 2016

3.8.1

3.8.1.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

26/07 2016

3.8.0

3.8.0.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

30/05 2016

3.7.15

3.7.15.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

20/04 2016

3.7.14

3.7.14.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

04/03 2016

3.7.13

3.7.13.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

20/02 2016

3.7.12

3.7.12.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

15/01 2016

3.7.11

3.7.11.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

13/01 2016

3.7.10

3.7.10.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

06/01 2016

3.7.9

3.7.9.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

31/12 2015

3.7.8

3.7.8.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

30/12 2015

3.7.7

3.7.7.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

23/12 2015

3.7.6.1

3.7.6.1 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

16/12 2015

3.7.4

3.7.4.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

13/12 2015

3.7.3

3.7.3.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

10/12 2015

3.7.2

3.7.2.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

07/12 2015

3.7.1

3.7.1.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

04/12 2015

3.7.0

3.7.0.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

26/11 2015

3.6.6

3.6.6.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

21/11 2015

3.6.5

3.6.5.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

19/11 2015

3.6.4

3.6.4.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

06/11 2015

3.6.3

3.6.3.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

30/10 2015

3.6.2

3.6.2.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

26/10 2015

3.6.1

3.6.1.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page

22/10 2015

3.6.0

3.6.0.0 http://admin-page-framework.michaeluno.jp/

A PHP class based framework which facilitates WordPress plugin and theme development.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.2.4

 

plugin wordpress framework settings form options admin page