Download the PHP
package anekdotes/formwrapper without Composer
On this page you can find all versions of the php package
anekdotes/formwrapper. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
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.
Allows instantiation of standardized custom form wrappers. Eases extandability of new wrappers.
Installation
Install via composer into your project:
composer require anekdotes/formwrapper
Please note that using composer allows easy namespacing for using classes later on.
Following examples use a composer based namespace autoloading.
Basic Usage
will output
All built-in Controls and Wrappers can be found in the folder . To have the required namespaces autoloaded, you will need to run
Extending Controls and Wrappers
It is possible to write your own controls and wrappers and use them.
Contributing
Pull requests are welcome. Note that if you want to develop the scss files, you will need to install npm dependencies using npm install. You will then need to use gulp to compile the CSS.
Pull requests must have tests included (excepted for the scss). If no tests are to be found, if the pull request does not pass the current test suite or if the tests do not cover enough cases, the pull requests may not be merged.
Examples
The folder /examples contains PHP examples of a lot of wrappers in use. (pre-built + customs).
To see them in browser, you'll need to bootup a php server pointing on the examples folder and running at the root of this project.
Note
Most of the pre-built wrappers use css classes from Bootstrap.
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 anekdotes/formwrapper contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.