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

ActiveSulu-bundle

pixelopen/sulu-companybundle
============================

Company tools for Sulu

2.6.1(1y ago)1119↓100%MITPHPPHP ^8.0

Since Nov 5Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (13)Versions (3)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.5
- 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

28

—

LowBetter than 54% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

550d ago

### 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 (22 commits)")

---

Tags

sulu-bundlesulusulu-bundle

###  Code Quality

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M646](/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)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M192](/packages/simplesamlphp-simplesamlphp)[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)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)

PHPackages © 2026

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