PHPackages                             lazyants/toolkit-bundle - 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. lazyants/toolkit-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

lazyants/toolkit-bundle
=======================

Toolkit Bundle provides basic usefully functional used in most projects

v0.2(12y ago)023.6k3[1 PRs](https://github.com/lazyants/ToolkitBundle/pulls)MITPHPPHP &gt;=5.3.3

Since Aug 12Pushed 8y ago2 watchersCompare

[ Source](https://github.com/lazyants/ToolkitBundle)[ Packagist](https://packagist.org/packages/lazyants/toolkit-bundle)[ Docs](https://github.com/lazyants/ToolkitBundle)[ RSS](/packages/lazyants-toolkit-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (7)Versions (3)Used By (0)

LazyantsToolkitBundle
=====================

[](#lazyantstoolkitbundle)

This bundle provides some of functionality used by a part of our projects

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

[](#installation)

First you need to add `lazyants/ToolkitBundle` to `composer.json`:

```
{
    require: {
        ...
        "lazyants/toolkit-bundle": "dev-master"
    }
}

```

or direct via composer.phar:

```
./composer.phar require lazyants/ToolkitBundle:dev-master

```

You also have to add `LazyantsToolkitBundle` to your `AppKernel.php`:

```
// app/AppKernel.php
...
class AppKernel extends Kernel
{
    ...
    public function registerBundles()
    {
        $bundles = array(
            ...
            new Lazyants\ToolkitBundle\LazyantsToolkitBundle()
        );
        ...

        return $bundles;
    }
    ...
}

```

Base template
-------------

[](#base-template)

LazyantsToolkitBundle::base.html.twig provides some abstract blocks, so you can you use it in your main layout, otherwise you will create probably the same structure anyway.

```
{% extends 'LazyantsToolkitBundle::base.html.twig' %}

```

Commands
--------

[](#commands)

### Translation update command

[](#translation-update-command)

To extract translations automatically for given bundles and locales (and delete duplicated fos user translations):

#### Sample configuration:

[](#sample-configuration)

```
# app/config/config.yml
lazyants_toolkit:
    translation:
        bundles: [ 'FrontendBundle', 'BackendBundle' ]
        locales: [ 'de', 'en' ]

```

#### Command:

[](#command)

```
./app/console lazyants:translation:update

```

### Generate manager

[](#generate-manager)

To generate manager (controller, view and form):

#### Command:

[](#command-1)

```
./app/console lazyants:generate:manager --entity=ENTITY_NAME

```

#### Arguments:

[](#arguments)

\--entity: Mandatory value. The entity class name to initialize (shortcut notation)

\--overwrite: Optional value. Do not stop the generation if crud controller already exist, thus overwriting all generated files

\--actions: Optional value. List of actions in controller. You will need this option on order to add new methods to controller or remove some from it. Multiple value are possible, f.e.: --actions=index --actions=add --actions=manage --actions=delete

#### Customization:

[](#customization)

In order to customize generated content, copy ToolkitBundle/Resources/skeleton into app/Resources/LazyantsDoctrineManager/skeleton or YOUR\_BUNDLE/Resources/LazyantsDoctrineManager/skeleton. You can now customize controller, views or form. For actions without own view (by default there ist two - new and delete) simply don't create view files. Actions will be still created, if they are present in controller template and provided with --actions. In case of adding new actions or removing some of existing, you should always provide this argument.

[![Bitdeli Badge](https://camo.githubusercontent.com/ff25048a38ca13d7ab5ccdb17c5cf4b996ed3dc0e9f145e9294326473898d727/68747470733a2f2f64327765637a68766c38323376302e636c6f756466726f6e742e6e65742f6c617a79616e74732f746f6f6c6b697462756e646c652f7472656e642e706e67)](https://bitdeli.com/free "Bitdeli Badge")

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.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 ~9 days

Total

2

Last Release

4649d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/824e7fcad4418dd8faa0b459277be687050d8c05bddf51e37831a6a6d9baffae?d=identicon)[lazyants](/maintainers/lazyants)

---

Top Contributors

[![lazyants](https://avatars.githubusercontent.com/u/249065?v=4)](https://github.com/lazyants "lazyants (51 commits)")[![morontt](https://avatars.githubusercontent.com/u/1615692?v=4)](https://github.com/morontt "morontt (5 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

---

Tags

bundletoolkit

### Embed Badge

![Health badge](/badges/lazyants-toolkit-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/lazyants-toolkit-bundle/health.svg)](https://phpackages.com/packages/lazyants-toolkit-bundle)
```

###  Alternatives

[winzou/state-machine-bundle

Bundle for the very lightweight yet powerful PHP state machine

34010.4M15](/packages/winzou-state-machine-bundle)[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[odolbeau/phone-number-bundle

Integrates libphonenumber into your Symfony application

24910.3M11](/packages/odolbeau-phone-number-bundle)[dmishh/settings-bundle

Database centric Symfony configuration management. Global and per-user settings supported.

115254.9k1](/packages/dmishh-settings-bundle)[rewieer/taskschedulerbundle

Task Scheduler with CRON for Symfony

63242.1k](/packages/rewieer-taskschedulerbundle)

PHPackages © 2026

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