typisttech / wp-tabbed-admin-pages
Create WordPress admin pages with tabbed navigations, the OOP way
Fund package maintenance!
tangrufus
typist.tech/donation
www.paypal.me/iAmTangRufus/30usd
Requires
- php: >7.0
- typisttech/wp-admin-tabs: ^0.3.1
- typisttech/wp-kses-view: ^0.4.1
Requires (Dev)
- codeception/aspect-mock: ^2.0
- lucatume/wp-browser: ^1.21
- neronmoon/scriptsdev: ^0.1.1
- wp-coding-standards/wpcs: ^0.13.1
Suggests
- typisttech/imposter-plugin: Wrap all composer vendor packages inside your own namespace, to prevent collisions when multiple plugins use this library
- typisttech/wp-better-settings: A simplified OOP implementation of the WP Settings API
- typisttech/wp-contained-hook: Lazily instantiate objects from dependency injection container to WordPress hooks (actions and filters)
This package is auto-updated.
Last update: 2024-11-05 07:11:09 UTC
README
Create WordPress admin pages with tabbed navigations, the OOP way.
- Install
- Usage
- Frequently Asked Questions
- Support
- Developing
- Running the Tests
- Feedback
- Change log
- Security
- Contributing
- Credits
- License
Install
Installation should be done via composer, details of how to install composer can be found at https://getcomposer.org/.
$ composer require typisttech/wp-tabbed-admin-pages
You should put all WP Tabbed Admin Pages
classes under your own namespace to avoid class name conflicts.
Usage
Example
// TODO
Frequently Asked Questions
Can two different plugins use this package at the same time?
Yes, if put all WP Tabbed Admin Pages
classes under your own namespace to avoid class name conflicts.
Do you have real life examples that use this package?
Here you go:
Add your own plugin here
It looks awesome. Where can I find some more goodies like this?
- Articles on Typist Tech's blog
- Tang Rufus' WordPress plugins on wp.org
- More projects on Typist Tech's GitHub profile
- Stay tuned on Typist Tech's newsletter
- Follow Tang Rufus' Twitter account
- Hire Tang Rufus to build your next awesome site
Support
Love wp-tabbed-admin-pages
? Help me maintain it, a donation here can help with it.
Why don't you hire me?
Ready to take freelance WordPress jobs. Contact me via the contact form here or, via email info@typist.tech
Developing
To setup a developer workable version you should run these commands:
$ composer create-project --keep-vcs --no-install typisttech/wp-tabbed-admin-pages:dev-master
$ cd wp-tabbed-admin-pages
$ composer install
Running the Tests
WP Tabbed Admin Pages run tests on Codeception and relies wp-browser to provide WordPress integration. Before testing, you have to install WordPress locally and add a codeception.yml file. See *.suite.example.yml for Local by Flywheel configuration examples.
Actually run the tests:
$ composer test
We also test all PHP files against PSR-2: Coding Style Guide and part of the WordPress coding standard.
Check the code style with $ composer check-style
.
Feedback
Please provide feedback! We want to make this package useful in as many projects as possible. Please submit an issue and point out what you do and don't like, or fork the project and make suggestions. No issue is too small.
Change log
Please see CHANGELOG for more information on what has changed recently.
Security
If you discover any security related issues, please email wp-tabbed-admin-pages@typist.tech instead of using the issue tracker.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Credits
WP Tabbed Admin Pages is a Typist Tech project and maintained by Tang Rufus, freelance developer for hire.
Full list of contributors can be found here.
License
WP Tabbed Admin Pages is licensed under the GPLv2 (or later) from the Free Software Foundation. Please see License File for more information.