Download the PHP package typisttech/wp-better-settings without Composer

On this page you can find all versions of the php package typisttech/wp-better-settings. 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-better-settings

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/.

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.

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

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:

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 Local by Flywheel configuration examples.

Actually run the tests:

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 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.


All versions of wp-better-settings with dependencies

PHP Build Version
Package Version
Requires php Version >7.0
bupy7/php-html-form Version ^1.0
typisttech/wp-kses-view Version ^0.4.0
typisttech/wp-option-store Version ^0.1.1
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 typisttech/wp-better-settings contains the following files

Loading the files please wait ....