PHPackages                             lochmueller/autoloader - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lochmueller/autoloader

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

lochmueller/autoloader
======================

Automatic components loading of ExtBase extensions to get more time for coffee in the company ;) This ext is not a PHP SPL autoloader or class loader - it is better! Loads CommandController, Xclass, Hooks, FlexForms, Slots, TypoScript, TypeConverter, BackendLayouts and take care of createing needed templates, TCA configuration or translations at the right location.

7.4.6(3y ago)19364.9k↓16.2%31[1 issues](https://github.com/lochmueller/autoloader/issues)5GPL-2.0-or-laterPHPPHP ^7.4||^8.0

Since Apr 4Pushed 3y ago5 watchersCompare

[ Source](https://github.com/lochmueller/autoloader)[ Packagist](https://packagist.org/packages/lochmueller/autoloader)[ Docs](https://github.com/lochmueller/autoloader)[ Fund](https://paypal.me/lochmueller)[ GitHub Sponsors](https://github.com/lochmueller)[ RSS](/packages/lochmueller-autoloader/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (6)Versions (67)Used By (5)

EXT:autoloader
==============

[](#extautoloader)

[![Latest Stable Version](https://camo.githubusercontent.com/3b56c6c830e94748006fd2e124e860e8db4ef384a5d6b31f4e1b09e6230369ec/68747470733a2f2f706f7365722e707567782e6f72672f6c6f63686d75656c6c65722f6175746f6c6f616465722f762f737461626c65)](https://packagist.org/packages/lochmueller/autoloader)[![Total Downloads](https://camo.githubusercontent.com/bfbc7d63e0d7bd6137d3e2749304e390bd244455e2babf86f9a0eeb0a0252447/68747470733a2f2f706f7365722e707567782e6f72672f6c6f63686d75656c6c65722f6175746f6c6f616465722f646f776e6c6f616473)](https://packagist.org/packages/lochmueller/autoloader)[![License](https://camo.githubusercontent.com/f5055791e6e7e33fcc6532281faa4807382b841383b5ebfe79b7ab727bdbc874/68747470733a2f2f706f7365722e707567782e6f72672f6c6f63686d75656c6c65722f6175746f6c6f616465722f6c6963656e7365)](https://packagist.org/packages/lochmueller/autoloader)[![TYPO3](https://camo.githubusercontent.com/f9829817f2c0f69653812875c274c083d110f87dddea3c666ca00228d4d870d8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d392d6f72616e67652e737667)](https://typo3.org/)[![TYPO3](https://camo.githubusercontent.com/614ff8ea70de89b6c0ffa951832460b9b407e0c321814a05fe00c02fe6999487/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d31302d6f72616e67652e737667)](https://typo3.org/)[![Average time to resolve an issue](https://camo.githubusercontent.com/e2ad9af714d06e9c34810b3dfe8eecceee2775e24a0c50b798fd178f8bbf7524/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f7265736f6c7574696f6e2f6c6f63686d75656c6c65722f6175746f6c6f616465722e737667)](http://isitmaintained.com/project/lochmueller/autoloader "Average time to resolve an issue")[![Percentage of issues still open](https://camo.githubusercontent.com/c4c7d022b0b79aa5666055633ed4dfba18772adec12f430d114b7cdf3a379be0/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f6f70656e2f6c6f63686d75656c6c65722f6175746f6c6f616465722e737667)](http://isitmaintained.com/project/lochmueller/autoloader "Percentage of issues still open")

Autoloader: Swiss Knife for Developers
======================================

[](#autoloader-swiss-knife-for-developers)

> Autoloader speeds up your development cycle - more time for coffee!

Autoloader Annotations
----------------------

[](#autoloader-annotations)

```
/**

* @DatabaseTable(tableName="")
* @DatabaseKey([key=""|argumentName=""])
* @DatabaseField(type=""[, sql=""])
*
* @EnableRichText([value=""|argumentName=""])
* @Hook(locations={})
* @NoCache([value=""|argumentName=""])
* @NoHeader([value=""|argumentName=""])
* @ParentClass(parentClass="")
* @Plugin([value=""|argumentName=""])
* @RecordType(recordType="")

* @SignalClass([value=""|argumentName=""])
* @SignalName([value=""|argumentName=""])
* @SignalPriority([value=""|argumentName=""])

* @SmartExclude(excludes="{}")
* @WizardTab(config="")
*
*/
```

Working Examples
----------------

[](#working-examples)

We drop the examples in EXT:autoloader. Please check other extensions tht use autoloader as example (EXT:calendarize)

Example for a SmartObject (Only one of the features)
----------------------------------------------------

[](#example-for-a-smartobject-only-one-of-the-features)

`ext_tables.php`

```
\HDNET\Autoloader\Loader::extTables(
    'vendorName',
    'extensionKey',
    [
    	'SmartObjects',
    	'TcaFiles'
    ]
);
```

`ext_localconf.php`

```
\HDNET\Autoloader\Loader::extLocalconf(
	'vendorName',
	'extensionKey'
	[
		'SmartObjects',
		'TcaFiles'
	]
);
```

`Test.php`

```
namespace vendorName\extensionKey\Domain\Model;

use HDNET\Autoloader\Annotation\DatabaseField;
use HDNET\Autoloader\Annotation\DatabaseTable;

use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
/**
 * Create a test-table for this model with this annotation.
 * @DatabaseTable(tableName="test")
 */
class Test extends AbstractEntity {

	/**
	 * A basic field
	 *
	 * @var string
	 * @DatabaseField(type="string")
	 */
	protected $textField;

	/**
	 * A boolean field
	 *
	 * @var bool
	 * @DatabaseField(type="bool")
	 */
	protected $boolField;

	/**
	 * File example
	 *
	 * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference
	 * @DatabaseField(type="string")
	 */
	protected $file;

	/**
	 * Custom (variable that has a custom DB type)
	 *
	 * @var int
	 * @DatabaseField(type="int", sql="int(11) DEFAULT '0' NOT NULL")
	 */
	protected $customField;

	// add here some Getters and Setters
}
```

Documentation
-------------

[](#documentation)

- [Online Documentation](http://docs.typo3.org/typo3cms/extensions/autoloader/)

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 81.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~40 days

Recently: every ~32 days

Total

66

Last Release

1104d ago

Major Versions

2.2.1 → 3.0.02017-03-31

3.2.0 → 4.0.02017-08-14

4.1.0 → 5.0.02017-12-21

5.1.0 → 6.0.02018-10-08

6.2.1 → 7.0.12020-03-23

PHP version history (7 changes)2.0.2PHP &gt;=5.4.0

2.1.5PHP &gt;=5.5.0

3.0.0PHP &gt;=7.0.0

7.0.1PHP &gt;=7.2.0

7.0.2PHP ^7.2||^7.3||^7.4

7.2.0PHP ^7.3||^7.4||^8.0

7.3.7PHP ^7.4||^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/11603a6f53d94137ce97cc4510dae54aaf652b5beda5eb932f390714dcb94595?d=identicon)[lochmueller](/maintainers/lochmueller)

---

Top Contributors

[![lochmueller](https://avatars.githubusercontent.com/u/3907126?v=4)](https://github.com/lochmueller "lochmueller (505 commits)")[![fduarte42](https://avatars.githubusercontent.com/u/2005497?v=4)](https://github.com/fduarte42 "fduarte42 (17 commits)")[![sirdiego](https://avatars.githubusercontent.com/u/118378?v=4)](https://github.com/sirdiego "sirdiego (17 commits)")[![florianPat](https://avatars.githubusercontent.com/u/25847454?v=4)](https://github.com/florianPat "florianPat (16 commits)")[![mediaessenz](https://avatars.githubusercontent.com/u/16038153?v=4)](https://github.com/mediaessenz "mediaessenz (14 commits)")[![orangehive](https://avatars.githubusercontent.com/u/17762372?v=4)](https://github.com/orangehive "orangehive (11 commits)")[![hdnetmaxamann](https://avatars.githubusercontent.com/u/40179333?v=4)](https://github.com/hdnetmaxamann "hdnetmaxamann (7 commits)")[![escapevisual](https://avatars.githubusercontent.com/u/45100304?v=4)](https://github.com/escapevisual "escapevisual (5 commits)")[![pniederlag](https://avatars.githubusercontent.com/u/85458?v=4)](https://github.com/pniederlag "pniederlag (4 commits)")[![schmdt](https://avatars.githubusercontent.com/u/1384727?v=4)](https://github.com/schmdt "schmdt (4 commits)")[![okmiim](https://avatars.githubusercontent.com/u/7593443?v=4)](https://github.com/okmiim "okmiim (3 commits)")[![sypets](https://avatars.githubusercontent.com/u/13206455?v=4)](https://github.com/sypets "sypets (2 commits)")[![helhum](https://avatars.githubusercontent.com/u/904370?v=4)](https://github.com/helhum "helhum (2 commits)")[![mbrodala](https://avatars.githubusercontent.com/u/5037116?v=4)](https://github.com/mbrodala "mbrodala (2 commits)")[![monsieurbenny](https://avatars.githubusercontent.com/u/1931241?v=4)](https://github.com/monsieurbenny "monsieurbenny (2 commits)")[![reneroboter](https://avatars.githubusercontent.com/u/13586487?v=4)](https://github.com/reneroboter "reneroboter (2 commits)")[![cabi](https://avatars.githubusercontent.com/u/2596253?v=4)](https://github.com/cabi "cabi (2 commits)")[![Diologenes](https://avatars.githubusercontent.com/u/18323496?v=4)](https://github.com/Diologenes "Diologenes (1 commits)")[![cietho](https://avatars.githubusercontent.com/u/14327182?v=4)](https://github.com/cietho "cietho (1 commits)")[![datamints-off](https://avatars.githubusercontent.com/u/61411732?v=4)](https://github.com/datamints-off "datamints-off (1 commits)")

---

Tags

extensiontypo3typo3-extensionautoloadercomponentextbaseTYPO3 CMSmagic

###  Code Quality

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lochmueller-autoloader/health.svg)

```
[![Health](https://phpackages.com/badges/lochmueller-autoloader/health.svg)](https://phpackages.com/packages/lochmueller-autoloader)
```

###  Alternatives

[derhansen/sf_event_mgt

Configurable event management and registration extension based on ExtBase and Fluid

64313.9k6](/packages/derhansen-sf-event-mgt)[clickstorm/go-maps-ext

Google Maps Extension. Simply insert a google map Version 3 without jQuery, calculate a route, images for markers, style maps, KML, categories, responsive and many more.

23159.1k1](/packages/clickstorm-go-maps-ext)[brotkrueml/schema

Embedding schema.org vocabulary - API and view helpers for schema.org markup

33584.6k13](/packages/brotkrueml-schema)[causal/extractor

This extension detects and extracts metadata (EXIF / IPTC / XMP / ...) from potentially thousand different file types (such as MS Word/Powerpoint/Excel documents, PDF and images) and bring them automatically and natively to TYPO3 when uploading assets. Works with built-in PHP functions but takes advantage of Apache Tika and other external tools for enhanced metadata extraction.

16244.5k](/packages/causal-extractor)[derhansen/sf_banners

Banner-Management Extension based on Extbase and Fluid. Loads banners asynchronously using JavaScript.

1144.5k](/packages/derhansen-sf-banners)[jweiland/events2

Events 2 - Create single and recurring events

2062.4k2](/packages/jweiland-events2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
