PHPackages                             pixeldev/sulu-companybundle - 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. pixeldev/sulu-companybundle

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

pixeldev/sulu-companybundle
===========================

Company tools for Sulu

2.6.0(1y ago)0176[7 PRs](https://github.com/Pixel-Developpement/sulu-companybundle/pulls)MITPHPPHP ^8.0

Since May 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Pixel-Developpement/sulu-companybundle)[ Packagist](https://packagist.org/packages/pixeldev/sulu-companybundle)[ Docs](https://github.com/Pixel-Developpement/sulu-companybundle)[ RSS](/packages/pixeldev-sulu-companybundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (13)Versions (16)Used By (0)

Sulu Company bundle
===================

[](#sulu-company-bundle)

[![GitHub release (with filter)](https://camo.githubusercontent.com/1acd8943b6736166e40e8f3bbe8c91dd1720a9e2b6377bddfd3a1fc88f066385/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f506978656c2d446576656c6f7070656d656e742f73756c752d636f6d70616e7962756e646c653f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/1acd8943b6736166e40e8f3bbe8c91dd1720a9e2b6377bddfd3a1fc88f066385/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f506978656c2d446576656c6f7070656d656e742f73756c752d636f6d70616e7962756e646c653f7374796c653d666f722d7468652d6261646765)[![Dependency](https://camo.githubusercontent.com/a7164181066052cd108eee770b71f67bfd7cbe74cf87af56067534814e843f34/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73756c752d322e352d6363613030302e7376673f7374796c653d666f722d7468652d6261646765)](https://sulu.io/)

Presentation
------------

[](#presentation)

A Sulu bundle to easily manage the company information.

Features
--------

[](#features)

- Company information management
- Manual or automatic (via Google My Business) hours management

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0
- Sulu &gt;= 2.4.\*
- Symfony &gt;= 5.4

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

[](#installation)

### Install the bundle

[](#install-the-bundle)

Execute the following [composer](https://getcomposer.org/) command to add the bundle to the dependencies of your project:

```
composer require pixeldev/sulu-companybundle --with-all-dependencies
```

### Enable the bundle

[](#enable-the-bundle)

Enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
return [
    /* ... */
    Pixel\CompanyBundle\CompanyBundle::class => ['all' => true],
];
```

### Update schema

[](#update-schema)

```
bin/console do:sch:up --force
```

Bundle Config
-------------

[](#bundle-config)

Define the Admin Api Route in `routes_admin.yaml`

```
company.setting_api:
  type: rest
  prefix: /admin/api
  resource: pixel_company.settings_route_controller
  name_prefix: company.
```

Use
---

[](#use)

General use
-----------

[](#general-use)

To access the company settings, on the administration interface, go to the Settings section and click on "Company management". Once on the form, fill the fields that are relevant/useful for your needs.

Do not forget to click on "Save" to have the information stored and available.

Twig extension
--------------

[](#twig-extension)

This bundle comes with several twig function that you can use to get the previously filled information:

**company\_settings()**: returns all the settings of the company. No parameters are required.

Example of use:

```
{% set companySettings = company_settings() %}
{{ companySettings.name }}
```

**get\_company\_hours()**: renders a view which display the hours of the company (no matter the way they have been filled). No parameters are required.

Example of use:

```

    {{ get_company_hours() }}

```

**get\_google\_review()**: returns the average rating and the total rating. No parameters are required.

Example of use:

```
{% set ratingInfo = get_google_review() %}
    {% if ratingInfo is not null %}

            Note : {{ ratingInfo.rating }}

                    More than {{ ratingInfo.total_rating }} avis

    {% endif %}
```

### Use Google My Business

[](#use-google-my-business)

To retrieve the hours of the company via Google, fill the place ID and the API key fields and check the "Use the hours stored in Google My Business?". Then, you need to run the following command:

```
bin/console sync:google:informations
```

This will retrieve, the rating, the opening hours and the total number of rating available and are ready to use.

Contributing
------------

[](#contributing)

You can contribute to this bundle. The only thing you must do is respect the coding standard we implements. You can find them in the `ecs.php` file.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Recently: every ~181 days

Total

6

Last Release

721d ago

Major Versions

1.0.2 → 2.4.02022-06-08

PHP version history (2 changes)1.0.0PHP ^7.4 || ^8.0

2.6.0PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

[![matthieu2607](https://avatars.githubusercontent.com/u/14790414?v=4)](https://github.com/matthieu2607 "matthieu2607 (20 commits)")

---

Tags

sulu-bundlesulusulucms

###  Code Quality

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pixeldev-sulu-companybundle/health.svg)

```
[![Health](https://phpackages.com/badges/pixeldev-sulu-companybundle/health.svg)](https://phpackages.com/packages/pixeldev-sulu-companybundle)
```

###  Alternatives

[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)[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)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[sulu/article-bundle

Bundle for managing localized content-rich entities like blog-posts in the Sulu content management system

66409.6k2](/packages/sulu-article-bundle)

PHPackages © 2026

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