PHPackages                             o3-shop/shop-db-views-generator - 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. [CLI &amp; Console](/categories/cli)
4. /
5. o3-shop/shop-db-views-generator

ActiveLibrary[CLI &amp; Console](/categories/cli)

o3-shop/shop-db-views-generator
===============================

O3-Shop database views regeneration from console command

v1.0.0(3y ago)04.2k↓50%1GPL-3.0-onlyPHP

Since Mar 5Pushed 2y agoCompare

[ Source](https://github.com/o3-shop/shop-db-views-generator)[ Packagist](https://packagist.org/packages/o3-shop/shop-db-views-generator)[ RSS](/packages/o3-shop-shop-db-views-generator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (1)

O3-Shop Views Generator
=======================

[](#o3-shop-views-generator)

This component provides eShop the way of creating/recreating the views structure from console command. This might be needed after updating O3-Shop version which has a database migration.

Possible ways to use
--------------------

[](#possible-ways-to-use)

- Run bash script: `vendor/bin/oe-eshop-db_views_generate`
- Run PHP script `vendor/oxid-esales/generate_views.php`
- Use class `ViewsGenerator`

**Note:**

> Path to bootstrap might be forced by passing ESHOP\_BOOTSTRAP\_PATH parameter.
>
> ESHOP\_BOOTSTRAP\_PATH='source/bootstrap.php' vendor/bin/oe-eshop-db\_views\_generate ESHOP\_BOOTSTRAP\_PATH='/var/www/shop/source/bootstrap.php' php oxideshop-db-views-generator/generate\_views.php

Possible return error codes
---------------------------

[](#possible-return-error-codes)

After the execution of script it will return one of the following return error codes:

- `0` - If the execution went without errors;
- `1` - If an exception was thrown and details are stored in `oxideshop.log` file;
- `2` - If an unknown error has been thrown and no details are available.

Bugs and Issues
---------------

[](#bugs-and-issues)

If you experience any bugs or issues, please report them in the section **O3-Shop (all versions)** of .

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

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

1164d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/53b105106ade5f151851db1839b344f7be04f17d881c49ca0f4da0867d5b2d82?d=identicon)[o3-shop](/maintainers/o3-shop)

---

Top Contributors

[![o3-shop-user](https://avatars.githubusercontent.com/u/115017537?v=4)](https://github.com/o3-shop-user "o3-shop-user (3 commits)")

### Embed Badge

![Health badge](/badges/o3-shop-shop-db-views-generator/health.svg)

```
[![Health](https://phpackages.com/badges/o3-shop-shop-db-views-generator/health.svg)](https://phpackages.com/packages/o3-shop-shop-db-views-generator)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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