Download the PHP package thoughtful-web/settings-page-wp without Composer

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

Create Settings Pages for WordPress

This PHP library provides a quick, easy way to add a settings page to your plugin or theme. One configuration file defines both your settings and the page that manages them.

Table of Contents

  1. Features
  2. Requirements
  3. Quick Start
  4. Documentation
  5. Contributing

Features

  1. Settings page generation from a configuration file (.php or .json).
  2. Validation on the server by default.
  3. No external libraries beyond WordPress's Iris library for color fields.
  4. Supports these form field types:
    1. Checkboxes
    2. Color
    3. Email
    4. Number
    5. Phone
    6. Radio
    7. Select
    8. Text
    9. Textarea
    10. URL
    11. WP Editor

Requirements

System Requirements

  1. WordPress 5.4 and above.
  2. PHP 7.3.5 and above.

Installation Requirements

If you are familiar with the command line, you may install it using Composer or Git. Otherwise, you may download a release from Github.

In any case, this library must exist two directory levels below the plugin or theme's root directory. Example: ./vendor/thoughtful-web/settings-page-wp/.

Quick Start

Note: For full specification details on the configuration file values and other possible locations for a configuration file, see here: docs/config-file.md

Step 1

Download the composer module.

Step 2
Include the library in your plugin or theme using the Composer autoloader:

Step 3
Copy the example configuration file to your plugin or theme's directory at ./config/thoughtful-web/settings.php.

Step 4
Visit your new settings page at https://your-domain.com/wp-admin/admin.php?page=thoughtful-settings and fill it in as you wish.

Step 5
Retrieve an option from the database using WordPress's get_option() function:

Documentation

  1. Configuration File Reference
  2. Field Configuration Reference
  3. Action and Filter Reference
  4. Roadmap
  5. WordPress Developer Reference: Options API

Contributing

I welcome questions and discussion and have opened up Github's features to create a space for this: https://github.com/thoughtful-web/settings-page-wp/discussions. If you find an issue, please report it here: https://github.com/thoughtful-web/settings-page-wp/issues. I am currently only accepting pull requests for security improvements. Please see the contribution guidelines for details.

Back to top


Free open source software under the GNU GPL-2.0+ License.
Copyright Zachary Kendall Watkins 2021-2022.


All versions of settings-page-wp with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3.5
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 thoughtful-web/settings-page-wp contains the following files

Loading the files please wait ...