All Projects → TypistTech → wp-better-settings

TypistTech / wp-better-settings

Licence: GPL-2.0 License
A simplified OOP implementation of the WP Settings API

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to wp-better-settings

wp-admin-notices
A simplified OOP implementation of the WordPress admin notices.
Stars: ✭ 16 (+14.29%)
Mutual labels:  wordpress-development, wordpress-php-library
wp-optimize
The WP Optimize class provides a wrapper to optimize WordPress and remove unnecessary or unwanted functions and scripts.
Stars: ✭ 37 (+164.29%)
Mutual labels:  wordpress-development, wordpress-php-library
gin
Foundation of the Tonik WordPress Starter Theme. Provides all custom functionalities which it offers.
Stars: ✭ 29 (+107.14%)
Mutual labels:  wordpress-development, wordpress-php-library
wp-router
Enables developers to easily create custom routes with matching templates accordingly.
Stars: ✭ 22 (+57.14%)
Mutual labels:  wordpress-development, wordpress-php-library
eightshift-docs
A documentation website for Eightshift open source projects
Stars: ✭ 44 (+214.29%)
Mutual labels:  wordpress-development
starter-kit-theme
WordPress starter theme with a modern development stack for launching projects faster and easily
Stars: ✭ 25 (+78.57%)
Mutual labels:  wordpress-development
Inactive-Logout
Development copy from the WordPress repository. Will release here first.
Stars: ✭ 19 (+35.71%)
Mutual labels:  wordpress-development
dudestack
A toolkit for creating a new professional WordPress project with deployments. Originally based on Roots/bedrock.
Stars: ✭ 82 (+485.71%)
Mutual labels:  wordpress-development
tutty-meta-box
Create custom fields with simple and easy to use WordPress meta box framework.
Stars: ✭ 16 (+14.29%)
Mutual labels:  wordpress-development
simple-custom-post-order
Order posts(posts, any custom post types) using a Drag and Drop Sortable JavaScript. Configuration is unnecessary.
Stars: ✭ 18 (+28.57%)
Mutual labels:  wordpress-development
wpaudit.site
An easy to use checklist to optimize your WordPress website.
Stars: ✭ 24 (+71.43%)
Mutual labels:  wordpress-development
untheme
A blank WordPress theme for developers.
Stars: ✭ 82 (+485.71%)
Mutual labels:  wordpress-development
simple-autoloader-for-wordpress
An autoloader that aims to be as simple as dropping it into your WordPress project. All you need is a well-organized project.
Stars: ✭ 88 (+528.57%)
Mutual labels:  wordpress-development
wpacked
📦 WPacked is a WordPress development starter kit with portability and immediate local development in mind.
Stars: ✭ 73 (+421.43%)
Mutual labels:  wordpress-development
local-wordpress-development
WordPress Local Web Development Guide for Mac OS X
Stars: ✭ 17 (+21.43%)
Mutual labels:  wordpress-development
rest-api-endpoints
🌾 WordPress REST API endpoints
Stars: ✭ 31 (+121.43%)
Mutual labels:  wordpress-development
WordPress-UIkit-Starter-Theme
A WordPress starter theme for developers using the frontend framework UIkit
Stars: ✭ 55 (+292.86%)
Mutual labels:  wordpress-development
wp-boilerplate-plugin-with-vuejs
This is an example plugin for Wp plugin developer.
Stars: ✭ 26 (+85.71%)
Mutual labels:  wordpress-development
WpGet-Private-wordpress-plugin-repository
Wordpress private repository for plugins
Stars: ✭ 24 (+71.43%)
Mutual labels:  wordpress-development
learn-wp-cli
Getting started with Command Line, WP-CLI and Custom WP-CLI Commands.
Stars: ✭ 38 (+171.43%)
Mutual labels:  wordpress-development

WP Better Settings

Latest Stable Version Total Downloads Build Status codecov Scrutinizer Code Quality PHP Versions Tested StyleCI License Donate via PayPal Hire Typist Tech

A simplified OOP implementation of the WP Settings API.

Install

Installation should be done via composer, details of how to install composer can be found at https://getcomposer.org/.

$ composer require typisttech/wp-better-settings

You should put all WP Better Settings classes under your own namespace to avoid class name conflicts.

Usage

Example

Coming soon... Use the source...

Frequently Asked Questions

Is this a plugin?

No, this is a package that should be part of your plugin.

What to do when wp.org plugin team tell me to clean up the vendor folder?

Re-install packages via the following command. This package exports only necessary files to dist.

$ composer install --no-dev --prefer-dist --optimize-autoloader

Can two different plugins use this package at the same time?

Yes, if put all WP Better Settings classes under your own namespace to avoid class name conflicts.

Do you have a demo plugin that use this package?

You can install this demo plugin by

$ wp plugin install https://github.com/TypistTech/wp-better-settings/archive/nightly.zip --activate

Check out wp-better-settings.php. We use it for acceptance tests.

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?

Support

Love wp-better-settings? 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 [email protected]

Want to help in other way? Want to be a sponsor?

Contact: Tang Rufus

Developing

To setup a developer workable version you should run these commands:

$ composer create-project --keep-vcs --no-install typisttech/wp-better-settings:dev-master
$ cd wp-better-settings
$ composer install

Running the Tests

WP Better Settings 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 [email protected] instead of using the issue tracker.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Credits

WP Better Settings is a Typist Tech project and maintained by Tang Rufus, freelance developer for hire.

Full list of contributors can be found here.

Special thanks to Alain Schlesser whose Using A Config To Write Reusable Code Series makes the first versions of this package.

License

WP Better Settings is licensed under the GPLv2 (or later) from the Free Software Foundation. Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].