Download the PHP package 3ev/typo3-utils without Composer

On this page you can find all versions of the php package 3ev/typo3-utils. 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 typo3-utils

TYPO3 Utils

Latest Stable Version License

Utility classes to provide simpler APIs to common TYPO3 tasks.

Installation

You can include this library in any of your TYPO3 extensions via Composer:

Usage

TYPO3 Utils provides the following utility classes to help ease building TYPO3 extensions:

Tev\Typo3Utils\Domain\Model

This namespace provides a few useful traits for re-usable model functionality, such as adding getters and setters for crdate, tstamp and hidden.

Tev\Typo3Utils\Generators

This namespace contains 'generators', which are wrappers around TYPO3's DataHandler API.

Generators can be used to create page, content and template and records from the backend or CLI scripts (a BE_USER is required).

Tev\Typo3Utils\Hook\EntityHook & Tev\Typo3Utils\Hook\EntityRegistrar

The EntityHook and EntityRegistrar classes make it easy to listen to backend TYPO3 lifecycle events on database entities.

Just extend EntityHook, and specify the table you want to listen to in the parent constructor. You'll then be able to implement creating, created, updating, updated, saving, saved and deleted methods as you wish, which will be called when the relevant action happens from the TYPO3 backend.

You can register your hook class by simply adding:

to your extension's ext_tables.php file. This saves you writing a complex TYPO3 hook definition.

Tev\Typo3Utils\Log\Writer\FileWriter

The default TYPO3 log file writer doesn't let you write to log files outside of the publicly served directory.

This can be insecure, so this simple writer class allows you to write log files anywhere on the filesystem.

Tev\Typo3Utils\Plugin\WizIcon

This class makes it trivial to register wizicons for plugins in your extension.

Just extend the base wizicon class and configure the icon details in the parent constructor:

then, just register the icon class as normal in ext_tables.php:

Tev\Typo3Utils\Services\GeocodingService

This class provides an Extbase-compatible wrapper around the Geocoder PHP library.

Tev\Typo3Utils\TCA\Label

This utility class provides a TCA userfunc to allow you to set labels consisting of multiple fields, with a custom separator.

For example:

Tev\Typo3Utils\Utility\Dump

This class provides a few utilities for dumping out data. Currently, the only available method allows you to dump a an Extbase query object so that you can examine the query being generated and run.

Tev\Typo3Utils\Utility\ExtConf

This class provides a simple API for accessing extconf variables:

Tev\Typo3Utils\Utility\Page

This class provides a few methods for retrieving data on TYPO3 pages.

See the class for more information.

Tev\Typo3Utils\Utility\Tsfe

This class provides a simple API for initialising the TSFE on the CLI or TYPO3 backend. You just need to set the root page ID an optionally provide a host name:

License

MIT © 3ev


All versions of typo3-utils with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.0
willdurand/geocoder Version ~3.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 3ev/typo3-utils contains the following files

Loading the files please wait ....