Download the PHP package ferndev/phpprogrammingcontrols without Composer

On this page you can find all versions of the php package ferndev/phpprogrammingcontrols. 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 phpprogrammingcontrols

phpprogrammingcontrols (PHP 8.0+ Edition)

This project makes common html controls easily available from PHP, for you to use on any website. They provide a way to create php-based compact, re-usable and easier to maintain code for your web projects.
It also provides a simple mechanism to easily create new html controls in PHP.
These controls do not depend on any PHP Framework, or frontend library, but can be used with any of them, or standalone on a website or script created from scratch.

New in PHP 8.0+ Edition

License

PHPProgrammingControls is licensed under the MIT License.

Installation and usage

The controls require PHP 8.0 or higher. To get started, simply clone this folder and run composer install in your local environment, or use Composer to download and install the library. Then execute index.php in your local server/browser and take a look at the provided samples.

Adding the library to your own project

You can add the library to your own project with composer, by adding the following entries to your composer.json file:
"require": {
"php": ">=8.0",
"ferndev/phpprogrammingcontrols": "*"
},
If composer gives you an error or warning about stability, add the following as well:
"minimum-stability": "dev".
If you are not using composer then you will need to add the source folder: "src" to your own project, and "use" the controls you need (look at the code of the provided examples).
You can then start creating instances of the controls.

Migration from earlier versions

See UPGRADE_PHP8.md for detailed migration instructions and breaking changes.

Features

HtmlTabs quick guide

HtmlTabs renders a tab strip and associated panes using framework-agnostic APIs. Choose your frontend mode and the control will emit appropriate classes and behavior.

Key API:

Bootstrap example:

Tailwind example (no Bootstrap JS):

React example (server renders HtmlTabs, React binder wires toggling):

Vanilla example (no frameworks, your classes):

See examples:

Examples and assets

Try the demos locally

Run tests

All tests should pass (40 tests, 152 assertions).


All versions of phpprogrammingcontrols with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
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 ferndev/phpprogrammingcontrols contains the following files

Loading the files please wait ...