Download the PHP package magnafacta/mutil without Composer

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

MUtil

MUtil is a collection of PHP library classes that extend the Zend Framework for web developement.

The collection contains a number of simple utility classes as well as containing an alternative framework for creating Html using the MVC extentions described next.

Model

The Model classes implement not just storage models (reading and writing to files and databases) but also meta data about the data like labels, constraints and value options.

This meta information allows generic code to be used for standard views for browsing, viewing, editing and deleting.

Lazy / Late execution

The Lazy classes allow "late execution". Late execution means the code is not executed where it is specified in the code, but at a later moment, usually the moment when the output of the page is rendered.

This allows a programmer to state e.g. that the colspan attribute of a cell object in a table object should have the value of the highest number of columns of each of the table rows. If extra columns are added to the table at a later stage (but before rendering) then the colspan value will still be correct.

The most common use is in combination with repetition. Instead of looping through table data and adding a row each time, we just create a row and a repeater object. The row is the filled with objects that will read the data from the repeater object at rendering time. When rendering the table the row is rendered again and again, as long as the repeater object has row data. The output is the same as we would have had we looped through the data, but the code looks more elegant (in my opinion) and usually creates less objects (if the output contains more than two rows).

Html

The html classes allow you to create HTML using object oriented notation, using an array-like object. String elements are attributes (except when a different interpretation makes more sense), numeric items fill the content. You create sub-elements throug functions calls. If you have an html object and want to create a DIV element with the class attribute 'Hhllo' and World as the content you just call:

$html->div(array('class' => 'hello'), 'World');

The Html classes understand late execution.

Snippets

Snippets are html objects with routing added. E.g. a Form snippet usually displays an Html form, but if the form data is saved the snippet redirect the output e.g. to a detailed view.

Snippets combine the Model and the Html classes. There are standard snippets to create forms for editing, detail view pages and paginated browse pages; all using the meta data in the model. (Of course the browse pages use the Lazy classes for creation.)

Build Status


All versions of mutil with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
laminas/laminas-validator Version ^2.20
magnafacta/zalt-html Version ^1.0.1
magnafacta/zalt-model Version ^2.0.3
psr/http-message Version ^1.0.1
psr/cache Version ^3.0
shardj/zf1-future Version ^1.21
shardj/zf1-extras-future Version ^1.12
symfony/translation Version ^6.1
symfony/finder Version ^6.1
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 magnafacta/mutil contains the following files

Loading the files please wait ....