baks-dev/manufacture-part
Laravel/PHP модуль производства партий продукции (manufacture-part). Поддерживает установку через Composer, установку конфигурации и ресурсов, обновление схемы БД через миграции Doctrine и запуск PHPUnit-тестов группы manufacture-part.
spatie/laravel-package-tools).laravel-doctrine/orm). Migration conflicts likely if using raw Eloquent.baks:assets:install) must be rewritten as Artisan commands or exposed via API.baks-dev/core/users-table (v7.4) risks vendor lock-in. Mitigation: Fork or replace with Laravel equivalents (e.g., spatie/laravel-permission).batch_part vs. Laravel’s conventions).doctrine:migrations:rollback early.| Risk | Severity | Mitigation |
|---|---|---|
| Symfony-Laravel Chasm | High | Use symfony/console bridge or isolate in a microservice. |
| Dependency Lock-in | High | Fork baks-dev/core or replace with Laravel packages (e.g., spatie/*). |
| PHP 8.4+ Hard Requirement | Medium | Upgrade or containerize in a PHP 8.4+ environment. |
| Migration Conflicts | Medium | Pre-integration schema audit; use transactions for safety. |
| CLI Tooling Gaps | Low | Replace with Artisan commands or API endpoints. |
baks-dev/core vs. rewriting dependencies?doctrine:query:sql.)Console and Doctrine support.spatie/laravel-package-tools to wrap the bundle. Replace:
bin/console → Artisan commands.# Example: Laravel 9.x + PHP 8.4
composer require laravel/framework:^9.0 php:^8.4
baks-dev/core/users-table or replace with:
spatie/laravel-permission (for auth).laravel-doctrine/orm (for Doctrine).php bin/console doctrine:migrations:diff --dry-run
Identify conflicts with existing tables (e.g., batch_part vs. products).spatie/laravel-package-tools.config/services.php:
'baks_manufacture' => [
'console' => Artisan::class,
'auth' => LaravelAuthAdapter::class,
],
/api/batches).Sanctum or Passport for auth.php artisan test --group=manufacture-part
php artisan baks:assets:install # Custom Artisan command wrapper
| Component | Laravel Workaround | Risk Level |
|---|---|---|
| Symfony Console | Replace with Artisan commands via spatie/laravel-package-tools. |
Medium |
| Doctrine ORM | Use laravel-doctrine/orm or hybrid Eloquent. |
High |
baks-dev/core |
Fork or replace with spatie/laravel-permission. |
Critical |
| Migrations | Adapt to Eloquent or use raw SQL. | Medium |
| PHP 8.4+ Features | Isolate in a Docker container if upgrading is infeasible. | Low |
baks-dev/core dependencies.baks-dev/core/users-table. Mitigate by:
Auth, Cache).baks-dev releases for breaking changes.auth:sanctum).README.md (translated to English via tools like DeepL).phpdoc).How can I help you explore Laravel packages today?