PHPackages                             numero2/contao-softgarden-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. [API Development](/categories/api)
4. /
5. numero2/contao-softgarden-bundle

ActiveContao-bundle[API Development](/categories/api)

numero2/contao-softgarden-bundle
================================

Import job advertisements from softgarden as news into Contao

1.0.0(1y ago)04LGPL-3.0+PHPPHP ^8.2

Since Mar 4Pushed 7mo ago2 watchersCompare

[ Source](https://github.com/numero2/contao-softgarden-bundle)[ Packagist](https://packagist.org/packages/numero2/contao-softgarden-bundle)[ RSS](/packages/numero2-contao-softgarden-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (14)Versions (2)Used By (0)

Contao Softgarden Bundle
========================

[](#contao-softgarden-bundle)

[![](https://camo.githubusercontent.com/dcb1e80c3b4c8af9888a4eb9d3bb8c1f28621fc536db8012b41bc13adaafdd57/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e756d65726f322f636f6e74616f2d736f667467617264656e2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/numero2/contao-softgarden-bundle) [![License: LGPL v3](https://camo.githubusercontent.com/378367a0f32c18d4cd4a72c592d665bb27e3c184419e2fa85ff21fde8972bc1a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4c47504c25323076332d626c75652e7376673f7374796c653d666c61742d737175617265)](http://www.gnu.org/licenses/lgpl-3.0)

About
-----

[](#about)

Import job advertisements from [softgarden e-recruiting](https://softgarden.com/) as news into Contao.

System requirements
-------------------

[](#system-requirements)

- [Contao 4.13](https://github.com/contao/contao) (or newer)

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

[](#installation)

- Install via Contao Manager or Composer (`composer require numero2/contao-softgarden-bundle`)
- Run a database update via the Contao-Installtool or using the [contao:migrate](https://docs.contao.org/dev/reference/commands/) command.

Events
------

[](#events)

By default the bundle only imports basic information from softgarden that can be matched to the structure of Contao's news. If you need more data you can import them on your own using the `contao.softgarden_import_advertisement` event.

Important

This example shows how to import additional job information from softgarden.
**Note:** You must first define any custom fields in your own `contao/dca/tl_news.php` as they are not part of Contao's core.

```
// src/EventListener/SoftgardenParseListener.php
namespace App\EventListener;

use numero2\SoftgardenBundle\API\SoftgardenCatalogTypes;
use numero2\SoftgardenBundle\Event\SoftgardenEvents;
use numero2\SoftgardenBundle\Event\SoftgardenParseEvent;
use Symfony\Component\EventDispatcher\Attribute\AsEventListener;

#[AsEventListener(SoftgardenEvents::IMPORT_ADVERTISEMENT)]
class SoftgardenParseListener {

    public function __invoke( SoftgardenParseEvent $event ): void {

        $position = $event->getPosition();
        $news = $event->getNews();

        // add some additional data
        $news->job_company_name = $position->company_name??'';
        $news->job_location_street = $position->geo_name??'';
        $news->job_location_postal = $position->geo_zip??'';
        $news->job_location_city = $position->geo_city??'';
        $news->job_apply_link = $position->applyOnlineLink??'';

        $archive = $news->getRelated('pid');
        $api = $event->getAPI();

        // resolve catalog values
        $news->job_categegory = $api->resolveCatalogValue(SoftgardenCatalogTypes::jobCategory, $position->jobCategories[0], $archive->softgarden_language)??'';
        $news->job_audience = $api->resolveCatalogValue(SoftgardenCatalogTypes::audience, $position->audiences[0], $archive->softgarden_language)??'';
        $news->job_employmentType = $api->resolveCatalogValue(SoftgardenCatalogTypes::employmentType, $position->employmentTypes[0], $archive->softgarden_language)??'';
        $news->job_workTime = $api->resolveCatalogValue(SoftgardenCatalogTypes::workingHours, $position->workTimes[0], $archive->softgarden_language)??'';
        $news->job_industry = $api->resolveCatalogValue(SoftgardenCatalogTypes::positionIndustry, $position->industries[0], $archive->softgarden_language)??'';
        $news->job_experience = $api->resolveCatalogValue(SoftgardenCatalogTypes::workExperience, $position->workExperiences[0], $archive->softgarden_language)??'';
    }
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance56

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

431d ago

### Community

Maintainers

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

---

Top Contributors

[![bennyborn](https://avatars.githubusercontent.com/u/226890?v=4)](https://github.com/bennyborn "bennyborn (2 commits)")

### Embed Badge

![Health badge](/badges/numero2-contao-softgarden-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/numero2-contao-softgarden-bundle/health.svg)](https://phpackages.com/packages/numero2-contao-softgarden-bundle)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M648](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

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

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[simplesamlphp/simplesamlphp

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

1.1k12.4M192](/packages/simplesamlphp-simplesamlphp)

PHPackages © 2026

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