PHPackages                             metinbaris/inventory-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. metinbaris/inventory-bundle

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

metinbaris/inventory-bundle
===========================

Updates your Symfony apps MYSQL database with a given CSV file

1.0.2(2y ago)012proprietaryPHPPHP &gt;=8.2

Since Mar 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/metinbaris/inventory-bundle)[ Packagist](https://packagist.org/packages/metinbaris/inventory-bundle)[ RSS](/packages/metinbaris-inventory-bundle/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

inventory-bundle
================

[](#inventory-bundle)

Symfony bundle for inventory updates

To install this bundle inside of your symfony project run

```
composer require metinbaris/inventory-bundle

```

Update your projects .env file, these should be included

```
INVENTORY_MAIL={email_address_to_share_stock_info}
MAILER_DSN={smtp://your_smtp_configuration}
DATABASE_URL={mysql_connection}

```

Create database table stocks

```
php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate

```

Copy metin\_baris\_routes.yaml to your routes directory or copy paste this on your routes file

```
 metin_baris_inventory_bundle_routes:
    resource: '@InventoryBundle/Controller/'
    type: attribute

```

To upload csv, from your main symfony project root directory run

```
php bin/console metinbaris:read-inventory "{path_to_your_csv}/example.csv"

```

Be sure that Symfony Messenger worker is running for out of stock email for updates

```
php bin/console messenger:consume async

```

### List of stocks route:

[](#list-of-stocks-route)

/index

[![alt text](https://github.com/metinbaris/inventory-bundle/raw/main/screenshot.png?raw=true)](https://github.com/metinbaris/inventory-bundle/blob/main/screenshot.png?raw=true)

Project Dependencies
====================

[](#project-dependencies)

Ensure your environment has PHP `>=8.2` and the following PHP extensions and Composer packages installed:

- PHP version: `>=8.2`
- `ext-ctype`
- `ext-iconv`
- `doctrine/dbal`: `^3`
- `doctrine/doctrine-bundle`: `^2.11`
- `doctrine/doctrine-migrations-bundle`: `^3.3`
- `doctrine/orm`: `^3.1`
- `phpdocumentor/reflection-docblock`: `^5.3`
- `phpstan/phpdoc-parser`: `^1.26`
- `symfony/asset`: `7.0.*`
- `symfony/asset-mapper`: `7.0.*`
- `symfony/console`: `7.0.*`
- `symfony/doctrine-messenger`: `7.0.*`
- `symfony/dotenv`: `7.0.*`
- `symfony/expression-language`: `7.0.*`
- `symfony/flex`: `^2`
- `symfony/form`: `7.0.*`
- `symfony/framework-bundle`: `7.0.*`
- `symfony/http-client`: `7.0.*`
- `symfony/intl`: `7.0.*`
- `symfony/mailer`: `7.0.*`
- `symfony/mime`: `7.0.*`
- `symfony/monolog-bundle`: `^3.0`
- `symfony/notifier`: `7.0.*`
- `symfony/process`: `7.0.*`
- `symfony/property-access`: `7.0.*`
- `symfony/property-info`: `7.0.*`
- `symfony/runtime`: `7.0.*`
- `symfony/security-bundle`: `7.0.*`
- `symfony/serializer`: `7.0.*`
- `symfony/stimulus-bundle`: `^2.16`
- `symfony/string`: `7.0.*`
- `symfony/translation`: `7.0.*`
- `symfony/twig-bundle`: `7.0.*`
- `symfony/ux-turbo`: `^2.16`
- `symfony/validator`: `7.0.*`
- `symfony/web-link`: `7.0.*`
- `symfony/yaml`: `7.0.*`
- `twig/extra-bundle`: `^2.12|^3.0`
- `twig/twig`: `^2.12|^3.0`

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

848d ago

### Community

Maintainers

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

---

Top Contributors

[![metinbaris](https://avatars.githubusercontent.com/u/46865991?v=4)](https://github.com/metinbaris "metinbaris (43 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/metinbaris-inventory-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/metinbaris-inventory-bundle/health.svg)](https://phpackages.com/packages/metinbaris-inventory-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

9410.7k](/packages/ahmed-bhs-doctrine-doctor)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k13](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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