PHPackages                             stormdelta/latex-encoder-annotation-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. stormdelta/latex-encoder-annotation-bundle

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

stormdelta/latex-encoder-annotation-bundle
==========================================

Latex Encoder Annotation Bundle

v0.1.7(10y ago)036MITPHPPHP &gt;=5.3.0

Since Sep 29Pushed 10y ago1 watchersCompare

[ Source](https://github.com/TeamSymfony/stormdelta-latex-encoder-annotation-bundle)[ Packagist](https://packagist.org/packages/stormdelta/latex-encoder-annotation-bundle)[ RSS](/packages/stormdelta-latex-encoder-annotation-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

StormDelta LatexEncoder AnnotationBundle
========================================

[](#stormdelta-latexencoder-annotationbundle)

This bundle is still under development!

Use annotations to safely encode values to LaTeX. Installation
--------------------------------------------------------------

[](#use-annotations-to-safely-encode-values-to-latexinstallation)

```
composer require stormdelta/latex-encoder-annotation-bundle

```

Configuration
-------------

[](#configuration)

Configure Bundle in `app/AppKernel.php`

```
//app/AppKernel.php

use ...

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            ...
            new StormDelta\LatexEncoder\AnnotationBundle\StormDeltaLatexEncoderAnnotationBundle(),
            ...
        );
        ...
}

```

Usage
-----

[](#usage)

Use annotations in the entity

```
//src/AppBundle/Entity/LatexEntity.php

namespace AppBundle\Entity\LatexEntity;

use StormDelta\LatexEncoder\AnnotationBundle\Annotation\LatexEncoderAnnotation as LatexEncode;

class LatexEntity
{
    /**
     * @LatexEncode
     */
    $variable;
}

```

Encode in the controller

```
//src/AppBundle/Controller/DefaultController.php

namespace AppBundle\Controller;

use ...

class DefaultController extends Controller
{
    ...
    public function indexAction(...)
    {
        $entity = new LatexEntity();
        ...
        $entity = $this->get('stormdelta.latexencoder.driver')->encode($entity);
        ...
        return array('entity' => $entity);
    }
}

```

"Advanced" Usage
----------------

[](#advanced-usage)

Use LatexEncoderFollowAnnotation in the entity to encode related entities

```
//src/AppBundle/Entity/LatexEntity.php

namespace AppBundle\Entity\LatexEntity;

...
use StormDelta\LatexEncoder\AnnotationBundle\Annotation\LatexEncoderFollowAnnotation as LatexFollow;

class LatexEntity
{
    /**
     * @ORM\OneToMany(targetEntity="...")
     * @LatexFollow
     */
    $variables;
}

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

6

Last Release

3884d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f9b352f637e1e3759a012de7f015781c6c4a56d718d2409f38e3ceab7dfbcca7?d=identicon)[Brian Gharibaan](/maintainers/Brian%20Gharibaan)

---

Top Contributors

[![TeamSymfony](https://avatars.githubusercontent.com/u/12911499?v=4)](https://github.com/TeamSymfony "TeamSymfony (15 commits)")

---

Tags

encodeencoderlatex

### Embed Badge

![Health badge](/badges/stormdelta-latex-encoder-annotation-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/stormdelta-latex-encoder-annotation-bundle/health.svg)](https://phpackages.com/packages/stormdelta-latex-encoder-annotation-bundle)
```

###  Alternatives

[hashids/hashids

Generate short, unique, non-sequential ids (like YouTube and Bitly) from numbers

5.4k48.6M278](/packages/hashids-hashids)[mathjax/mathjax

MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all modern browsers.

10.8k90.8k1](/packages/mathjax-mathjax)[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6737.4M62](/packages/jbroadway-urlify)[christian-riesen/base32

Base32 encoder/decoder according to RFC 4648

13331.8M61](/packages/christian-riesen-base32)[sqids/sqids

Generate short YouTube-looking IDs from numbers

5781.4M33](/packages/sqids-sqids)[riimu/kit-phpencoder

Highly customizable alternative to var\_export for PHP code generation

717.8M32](/packages/riimu-kit-phpencoder)

PHPackages © 2026

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