Download the PHP package tatter/frontend without Composer

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

Tatter\Frontend

Opinionated suite of frontend tech for CodeIgniter 4

Coverage Status

Description

This library leverages Tatter\Assets alongside the framework's Publisher Library to automate asset discovery and HTML tag injection for an opinionated selection of frontend solutions.

Installation

Install easily via Composer to take advantage of CodeIgniter 4's autoloading capabilities and always be up-to-date:

Or, install manually by downloading the source files and adding the directory to app/Config/Autoload.php.

Once the files are downloaded and included in the autoload run the framework's publish command to inject all assets into your front controller path:

Included Solutions

Asset Libraries

Support Libraries

*Note: jQuery is included because some other libraries depend on it; should those libraries remove it as a dependency or be removed themselve then jQuery will no longer be included.

Versioning

The intent is to maintain two major versions of this library for an indefinite amount of time until AdminLTE 4 is fully released and stable for production use. The core differences will be around the dependency stack for AdminLTE, Bootstrap, and jQuery.

Library version Bootstrap version AdminLTE version jQuery
1.x 4.x 3.x Yes
2.x 5.x 4.x No

Configuration

For full configuration details see the Assets docs.

Enable the AssetsFilters on any "after" routes where you want tags applied. To apply them everywhere simply add to $globals. app/Config/Filters.php:

Then create or edit your Assets config file and add each bundle for the routes where you want them to be applied. app/Config/Assets.php:

Note that each Bundle includes its dependency (e.g. AdminLTE includes Bootstrap, Bootstrap includes jQuery), so while there is no harm in repeating assets it is also unnecessary. This does not extend to optional plugins, e.g. if you want to use FontAwesome in AdminLTE you will need to include both.

Testing

This library includes a PHPUnit extension classes in src/Test/ to assist with testing vendor-sourced Publishers. Tatter\Assets has a similar test case for Bundles. These two classes are used to test the files from this library but are also available for other projects that use Tatter\Frontend. To test your own classes simply extend the appropriate test case and add a data provider method with your class name and criteria to meet. See the test files in tests/ for examples.


All versions of frontend with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
almasaeed2010/adminlte Version ^3.0
components/jquery Version ^3.3
datatables.net/datatables.net-bs4 Version dev-master
fortawesome/font-awesome Version ^5.15 || ^6.0
league/commonmark Version ^2.0
tatter/alerts Version ^3.0
tatter/assets Version ^3.0
tatter/layouts Version ^1.0
tatter/menus Version ^1.0
tatter/themes Version ^2.0
twbs/bootstrap Version ^4.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 tatter/frontend contains the following files

Loading the files please wait ....