PHPackages                             castiron/typo3-extbaseinstantiable - 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. castiron/typo3-extbaseinstantiable

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

castiron/typo3-extbaseinstantiable
==================================

Small easy extbase object instantiation

1.0.1(7y ago)06MITPHP

Since Jun 5Pushed 7y ago2 watchersCompare

[ Source](https://github.com/castiron/typo3-extbaseinstantiable)[ Packagist](https://packagist.org/packages/castiron/typo3-extbaseinstantiable)[ RSS](/packages/castiron-typo3-extbaseinstantiable/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Extbaseinstantiable mixin for TYPO3
===================================

[](#extbaseinstantiable-mixin-for-typo3)

This package provides a mixin (read: trait) that lets you bestow the power of self-instantiation (using TYPO3 conventional mechanisms) to your classes. Add this mixin to any class to make it instantiable using the Extbase `ObjectManager` with ease.

Interface
---------

[](#interface)

Once you've mixed the trait into your class, you can call `MyClass::get()` to get an instance of the class.

Detailed usage
--------------

[](#detailed-usage)

```
/**
 * Class MyClass
 */
class MyClass
{
    use \Castiron\ExtbaseInstantiable\Traits\ExtbaseInstantiable;

    /**
     * Some public interface
     */
    public function execute()
    {
        // yadda yadda whatever
    }
}

/**
 * Instantiate (with ObjectManager) and call a public method.
 */
MyClass::get()->execute();
```

Why do I want this?
-------------------

[](#why-do-i-want-this)

A couple of reasons why this is handy:

- It makes instantiating your class in TYPO3-world easy-peasy (vs `GeneralUtility::makeInstance` or `ObjectManager::get` called directly)
- It uses `ObjectManager::get` under the hood, so automatic dependency injection works if you use annotations like `@inject`

FAQ
---

[](#faq)

#### Will it also respect marker interfaces like `SingletonInterface`?

[](#will-it-also-respect-marker-interfaces-like-singletoninterface)

Yes! It's using normal TYPO3 object instantiation under the hood, so all that weirdo magic will work.

Installation
------------

[](#installation)

```
composer require castiron/typo3-extbaseinstantiable

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Unknown

Total

1

Last Release

2898d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce715004e82fe755da5335a600df04417dcd15bd74dc05640be7f5c3572a0689?d=identicon)[gblair](/maintainers/gblair)

### Embed Badge

![Health badge](/badges/castiron-typo3-extbaseinstantiable/health.svg)

```
[![Health](https://phpackages.com/badges/castiron-typo3-extbaseinstantiable/health.svg)](https://phpackages.com/packages/castiron-typo3-extbaseinstantiable)
```

###  Alternatives

[namelesscoder/inline-page-editing

Edit content elements directly in page module without switching views

214.8k](/packages/namelesscoder-inline-page-editing)

PHPackages © 2026

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