Download the PHP package adnzaki/simple-tag-bootstrap without Composer

On this page you can find all versions of the php package adnzaki/simple-tag-bootstrap. 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 simple-tag-bootstrap

SimpleTagBootstrap

A Bootstrap v5 Components Adapter for PHP

What is SimpleTagBootstrap?

SimpleTagBootstrap is an object-oriented Bootstrap v5 components adapter written with SimpleTag library. Its goal is to simplify usage of Bootstrap components when working with a lot of PHP codes. Just like SimpleTag that aims to make HTML programmable, this library aims to make Bootstrap usage easier and of course; programmable via PHP.

Installation

Composer

We recommend you to install SimpleTagBootstrap via Composer, since it will ease you to update it. Other than that, if you have other libraries installed from composer, you will get advantages of autoloading that will not require you to include "wrapper.php" each time. Just type the command below to install:

Or if you have a composer.json file, simply add requirement pointed to the package name:

If you consider to get the latest source code, change "^0.1.0" into "dev-master", so it will download unreleased version of SimpleTagBootstrap.
Then simply run composer update to install it.

Manual Download

You can manually download SimpleTagBootstrap directly from this repository. Just point to "Code" menu and choose "Download ZIP" to download the latest source code or go to "Release" menu and find the latest stable version.

Ability

With SimpleTagBootstrap, we try to cover everything that Bootstrap components can do. For example in <input> element, Bootstrap has many options needed by developer to build an input form, so we have adopted those options to be used in SimpleTagBootstrap as well.

How it works?

SimpleTagBootstrap comes with a lot of classes contain most of Bootstrap components. It is SimpleTag-based library that simplifies Bootstrap components writing by converting them into SimpleTag format. So, you only have to call any component with the classes that has been provided.

Should I learn SimpleTag as well?

No, you have two options to pass your HTML elements into SimpleTagBootstrap class methods; with SimpleTag format or separate HTML file. But in certain cases, you need some basic usage of SimpleTag, it allows you to fully write your Bootstrap components without writing any HTML code.

Where is the example?

Just open up components directory in this repository, and dive into each component that has been provided. There you will see an example for each component.

The "Wrapper" file

The important thing to activate SimpleTagBootstrap is calling the wrapper file on top of your PHP codes. Check out index.php file to see the complete code sample to start using SimpleTagBootstrap. Check out our SimpleTagBootstrap directory structure below before diving into the source code:

Bootstrap Files

We have included necessary Bootstrap files to ease you when working with SimpleTagBootstrap. With this way, you have some advantages as follow:

Initiator Function

Every component in SimpleTagBootstrap defined in a class, but you do not have to initiate an object for each of them since we have "Initiator Function" that have done it for you. This function has the same name as its component class, for example Accordion class has initiator function called accordion(). So you can call the methods in that class directly without initiate an object first, like accordion()->open() to create accordion open tag. Those functions located on their class file and have been wrapped together in Wrapper file.

The BaseClass class

SimpleTagBootstrap has a class called BaseClass that shares commonly-used features on HTML element. It has the following methods to be used on all components:


All versions of simple-tag-bootstrap with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^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 adnzaki/simple-tag-bootstrap contains the following files

Loading the files please wait ....