Download the PHP package whaze/path-of-settings without Composer

On this page you can find all versions of the php package whaze/path-of-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 path-of-settings

PathOfSettings

A modern, developer-friendly WordPress options page builder with React UI and object-oriented architecture.

License: GPL v2+ PHP Version WordPress Packagist

Overview

PathOfSettings is a comprehensive package for creating custom settings pages in WordPress applications. It provides a clean, object-oriented API for registering pages and fields, with a modern React-based admin interface that integrates seamlessly with WordPress core components.

Key Features


Installation

Via Composer (Recommended)

That's it! Built assets are included in the package, no additional build step required.

Manual Installation

  1. Download the latest release from GitHub
  2. Extract to your plugin or theme directory
  3. Include the autoloader in your code

Quick Start

🚀 Ultra-Simple Integration

That's it! 🎉 Your settings page is ready with a modern React interface.

🔌 Plugin Integration

🎨 Theme Integration


API Reference

Core Functions

pos_register_page($id, $args)

Register a new settings page.

Parameters:

Returns: PageInterface object

Example:

pos_add_field($pageId, $type, $id, $args)

Add a field to a settings page.

Parameters:

Returns: FieldInterface object

pos_get_setting($pageId, $fieldId, $default)

Retrieve a setting value.

Parameters:

Returns: Mixed setting value

Example:

pos_get_settings($pageId)

Retrieve all settings for a page.

Parameters:

Returns: Array of all page settings

Field Types

Text Field

Textarea Field

Select Field

Checkbox Field


Advanced Usage

Custom Field Types

Extend the package by creating custom field types:

Advanced Initialization

For advanced use cases, you can pass configuration options:

Hooks and Filters

Actions

Filters

REST API

PathOfSettings automatically creates REST endpoints:

Example API usage:


Examples

Complete working examples are available in the /examples directory:

Real-World Example: Contact Form Plugin


Requirements


Installation Troubleshooting

Common Issues

Assets Not Loading

If the React interface doesn't appear:

  1. Check browser console for JavaScript errors
  2. Verify build/ directory exists in the package
  3. Enable WP_DEBUG to see detailed error messages

Permission Issues

If you can't access settings pages:

  1. Verify user has required capability (manage_options by default)
  2. Check if pages are registered correctly
  3. Ensure pos_register_pages action is firing

Composer Issues

If Composer installation fails:

  1. Update Composer: composer self-update
  2. Clear cache: composer clear-cache
  3. Try without cache: composer install --no-cache

Development

For Contributors

Code Standards

Testing


Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Guidelines


Changelog

[1.0.1] - 2025-05-27

[1.0.0] - 2025-05-27


License

This project is licensed under the GPL-2.0-or-later License. See the LICENSE file for details.


Support


Credits

Developed by Jerome Buquet (Whaze)

Built with ❤️ for the WordPress community.

Special Thanks


Roadmap

Planned Features

Performance Improvements

Want to contribute to any of these features? Check out our contributing guide!


All versions of path-of-settings with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 whaze/path-of-settings contains the following files

Loading the files please wait ....