Download the PHP package deep-web-solutions/wp-framework-bootstrapper without Composer

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

DWS WordPress Framework - Bootstrapper

GPLv3 License PHP Syntax Errors PHP Quality Assurance Codeception Tests

Description

A set of related functions that help bootstrap and version the other DWS WordPress Framework components.

The bootstrap.php file is designed to be one of the very first things that will autoload when calling require vendor/autoload.php because it is mentioned specifically as a file to autoload in composer.json.

Upon loading, the file will define the necessary functions and validate its own minimum requirements. The end-plugin can now make use of the same functions to check for minimum WP and PHP requirements, and also use the same functions for outputting an error message.

Documentation

Documentation for this module and the rest of the DWS WP Framework can be found here.

Installation

The package is designed to be installed via Composer. It may work as a stand-alone but that is not officially supported. The package's name is deep-web-solutions/wp-framework-bootstrapper.

If the package will be used outside a composer-based installation, e.g. inside a regular WP plugin, you should install using the --ignore-platform-reqs option. If you don't do that, the package will only be able to perform checks for the WordPress version because composer will throw an error in case of an incompatible PHP version.

Contributing

Contributions both in the form of bug-reports and pull requests are more than welcome!

Frequently Asked Questions

It is a good idea for every WordPress plugin to first check the PHP and WP versions present before running, and, if minimum requirements are not fulfilled, to stop execution and display an error message. This package provides an easy way of doing just that!

While this package was built to be used by the DWS WordPress Framework, it does come with a whitelabel functionality. If you define the constants checked for in includes/whitelabel.php before calling require vendor/autoload.php you can customize quite a lot of things.

The bootstrapper module itself will run on any PHP version back to 5.3 -- however, it will do so only to let the user know that they should update to at least PHP 8.4. As of writing this (December 2024), more than half the WordPress installations use version 6.7 so we won't be supporting anything below that.

Hopefully yes, probably not. If you found any problems, please raise an issue on GitHub!

Changelog

2.0.0 (TBD)


All versions of wp-framework-bootstrapper 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 deep-web-solutions/wp-framework-bootstrapper contains the following files

Loading the files please wait ....