PHPackages                             samyasm/digitalblogbundle - 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. [Framework](/categories/framework)
4. /
5. samyasm/digitalblogbundle

ActiveSymfony-bundle[Framework](/categories/framework)

samyasm/digitalblogbundle
=========================

Blog bundle for symfony ^4.4

1.1.47(3y ago)050MITTwigPHP &gt;=7.2

Since Dec 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/samyAsm/digital-blog-bundle)[ Packagist](https://packagist.org/packages/samyasm/digitalblogbundle)[ Docs](https://github.com/samyAsm/digital-blog-bundle.git)[ RSS](/packages/samyasm-digitalblogbundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (20)Versions (34)Used By (0)

DHI Blog bundle
===============

[](#dhi-blog-bundle)

This bundle is made to facilitate basic blog integration inside symfony 4 apps

It requires

"php": "&gt;=7.2",

"ext-curl": "\*",

"ext-json": "\*",

"doctrine/doctrine-bundle": "^2.1",

"doctrine/orm": "^2.7",

"nelmio/api-doc-bundle": "^3.0",

"symfony/security-bundle": "4.4.\*",

"symfony/swiftmailer-bundle": "^3.4",

"symfony/translation": "4.4.\*",

"symfony/validator": "4.4.\*",

"symfony/yaml": "4.4.\*",

"twig/twig": "^2.12|^3.0"

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

[](#installation)

```
composer require samyasm/digitalblogbundle
```

Configurations
--------------

[](#configurations)

### Routing

[](#routing)

Open `config/routes.yaml` and add this to configure routing to blog

```
digital_blog:
  resource: '@DigitalBlogBundle/Resources/config/routes.yaml'
  prefix: /blog/
  #You can set any prefix you want :-)

```

### Bundle configuration

[](#bundle-configuration)

create the file `config/packages/digital_blog.yaml` and put this content

```
digital_blog:

  assets:
    logo: 'assets-front/assets/img/logo.png'
    hero_bg: 'assets-app/images/banner.jpg'

  theme:
    color_primary: '#7083ff'
    color_secondary: '#f5ec78'

  routing:
    #You can put what you want
    prefix: '/my-blog'

  store:
    author_image_store: 'uploads/author/'
    article_image_store: 'uploads/article/'
    category_image_store: 'uploads/category/'

```

Make sure all these directories have write access

Open the file `config/packages/security.yaml` and add this content

```
security:
    encoders:
        # ...

        #Add encoder for Author entity, considered as users in administration

        Dhi\BlogBundle\Entity\Author:
            algorithm: sha512
            cost: 12

```

Make sure to have `Dhi\BlogBundle\DigitalBlogBundle::class => ['all' => true],` into `config/bundles.php` and add this content

### Env

[](#env)

```
SESSION_LIFE_TIME=3600
#in Kb
MAX_FILE_SIZE=4048
SESSION_DIGITAL_BLOG_TOKEN=auth_blog_token

DIGITAL_BLOG_EMAIL_SENDER=support@dhi-academy.com
DIGITAL_BLOG_EMAIL_FROM=Support

DIGITAL_BLOG_ADMIN_EMAIL=example@example.com
DIGITAL_BLOG_ADMIN_PASSWORD=password
DIGITAL_BLOG_ADMIN_NAME=admin

```

### Update schema

[](#update-schema)

```
php bin/console doctrine:schema:update --force

```

### Install first super admin

[](#install-first-super-admin)

```
php bin/console digital:blog:setup

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

33

Last Release

1453d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a64bcce84e84d22d823156d0c6818ed95a66d76006d27726dafcd2361476c88?d=identicon)[Mr S](/maintainers/Mr%20S)

---

Top Contributors

[![samuelbakon](https://avatars.githubusercontent.com/u/30466078?v=4)](https://github.com/samuelbakon "samuelbakon (38 commits)")

---

Tags

blogdigitalblog-bundledigital-house

### Embed Badge

![Health badge](/badges/samyasm-digitalblogbundle/health.svg)

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

###  Alternatives

[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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