PHPackages                             hopeter1018/sequential-counter-format-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. [Database &amp; ORM](/categories/database)
4. /
5. hopeter1018/sequential-counter-format-bundle

ActiveLibrary[Database &amp; ORM](/categories/database)

hopeter1018/sequential-counter-format-bundle
============================================

This bundle aims to generate value for doctrine entities.

1.0.9(5y ago)099MITPHPPHP &gt;=5.5.9

Since Jul 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hopeter1018/sequential-counter-format-bundle)[ Packagist](https://packagist.org/packages/hopeter1018/sequential-counter-format-bundle)[ RSS](/packages/hopeter1018-sequential-counter-format-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (9)Used By (0)

sequential-counter-format-bundle
================================

[](#sequential-counter-format-bundle)

Introduction
------------

[](#introduction)

This bundle aims to generate value for doctrine entities.

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

[](#installation)

### Require the package

[](#require-the-package)

`composer require hopeter1018/sequential-counter-format-bundle`

### Add to kernel

[](#add-to-kernel)

#### Symfony 4+ or Symfony Flex

[](#symfony-4-or-symfony-flex)

Add `/config/bundles.php`

```
return [
  ...,
  HoPeter1018\SequentialCounterFormatBundle\HoPeter1018SequentialCounterFormatBundle::class => ['all' => true],
];
```

#### Symfony 2+

[](#symfony-2)

Add `/app/AppKernel.php`

```
$bundles = [
  ...,
  new HoPeter1018\SequentialCounterFormatBundle\HoPeter1018SequentialCounterFormatBundle(),
];
```

### Config

[](#config)

#### thru config.yml / config.yaml

[](#thru-configyml--configyaml)

```
ho_peter1018_sequential_counter_format:
  # managers: ['default'] # add / modify if you are not using 'default'
  rules:
    _rule_alias_:
        entity_class: 'Your\Bundle\Entity\EntityClass'
        property: 'yamlTargetPropertyName'
        format: '__SEE_FORMAT_SECTION__'
```

#### thru Doctrine Annotation

[](#thru-doctrine-annotation)

```
namespace Your\Bundle\Entity;

use HoPeter1018\SequentialCounterFormatBundle\Annotations as Scf;

/**
 * Class docblock
 *
 * @Scf\ClassRule(settings={
 *   "classAnnotationTargetPropertyName"={"format"="__SEE_FORMAT_SECTION__", "batchPrefix"="[site.id]"},
 * })
 */
class EntityClass {

  /**
   * @Scf\PropertyRule("__SEE_FORMAT_SECTION__")
   * @ORM\Column(type="string", length=255)
   */
  private $propertyAnnotationTargetPropertyName;

  /**
   * @ORM\Column(type="string", length=255)
   */
  private $classAnnotationTargetPropertyName;

  /**
   * declared in the above section: `thru config.yml / config.yaml`
   */
  private $yamlTargetPropertyName;

}
```

Usage
-----

[](#usage)

### Format Placeholder

[](#format-placeholder)

TypeFormatDescriptionSequence%dsame as sprintf
Only %d is supported right now.Date**{***format\_character***}**same as [date](https://www.php.net/manual/en/function.date.php#refsect1-function.date-parameters)
EACH Date format should wrap separately.
Currently supports: `YyMmWdwNHi`
if you want 19970101, you should do {Y}{m}{d}Property**\[***property\_name***\]**Powered by [Symfony's PropertyAccess Component](https://symfony.com/doc/current/components/property_access.html)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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 ~10 days

Total

7

Last Release

2076d ago

### Community

Maintainers

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

---

Top Contributors

[![hopeter1018](https://avatars.githubusercontent.com/u/6047177?v=4)](https://github.com/hopeter1018 "hopeter1018 (12 commits)")

---

Tags

symfonybundledoctrine

### Embed Badge

![Health badge](/badges/hopeter1018-sequential-counter-format-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/hopeter1018-sequential-counter-format-bundle/health.svg)](https://phpackages.com/packages/hopeter1018-sequential-counter-format-bundle)
```

###  Alternatives

[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

46117.7M155](/packages/sonata-project-doctrine-orm-admin-bundle)[omines/datatables-bundle

Symfony DataTables Bundle with native Doctrine ORM, Elastica and MongoDB support

2851.4M6](/packages/omines-datatables-bundle)[spiriitlabs/form-filter-bundle

This bundle aim to provide classes to build some form filters and then build a doctrine query from this form filter.

36465.8k8](/packages/spiriitlabs-form-filter-bundle)[onurb/doctrine-yuml-bundle

Symfony Bundle to visualize the mapping of your entities with Yuml

4198.6k](/packages/onurb-doctrine-yuml-bundle)[prezent/doctrine-translatable-bundle

Integrate the doctrine-translatable extension in Symfony

14698.4k5](/packages/prezent-doctrine-translatable-bundle)[farmatholin/segment-io-bundle

Segment.io php lib

11257.4k](/packages/farmatholin-segment-io-bundle)

PHPackages © 2026

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