Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Crud Generator Laravel Package

triton/crud-generator

Laravel CRUD generator that scaffolds models, controllers, form requests, routes, and views from your database tables. Quickly build admin panels and APIs with customizable templates and validation, generating clean code you can edit and extend.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. The package is mislabeled in the request as a Laravel/PHP package named triton/crud-generator. The linked repository (petkopara/PetkoparaCrudGeneratorBundle) is explicitly a Symfony 3 bundle, not a Laravel package. Architecturally it is built around Symfony's Bundle system, the sensio/generator-bundle code-generation pipeline, Doctrine ORM entity metadata, Symfony Forms, Twig templating, and the HttpKernel/Routing stack. None of these are Laravel primitives. In a Laravel codebase there is no Bundle registration, no Doctrine entity manager by default, no Symfony Form component, and no Twig unless explicitly bolted on. The architecture fit for a Laravel application is effectively zero; for a Symfony 2.8/3.x monolith it is a good fit for its era.

Integration feasibility. Direct installation is not feasible on Laravel. It would require: (1) adopting Doctrine ORM in place of Eloquent, (2) bootstrapping Symfony Forms/Routing/Twig inside Laravel, and (3) hooking its console generator into Artisan. That is a rewrite, not an integration. Realistically there are two paths: adopt it only if the target application is a legacy Symfony 3 codebase, or fork and reimplement the generation logic (templates for controllers, forms, filters, list views, pagination, bulk delete) natively for Laravel's conventions.

Technical risk. Very high and largely disqualifying:

  • Last release 2017-03-12, roughly 8 years stale.
  • 0 dependents, 70 stars — no community validation or maintenance pressure.
  • Symfony 3 reached end-of-life in November 2018; no security patches.
  • Targets PHP 5.x/7.x, Doctrine ORM 2.x, Twig 2.x, Bootstrap 3. Modern PHP 8.2+/8.3 will surface deprecations and likely fatals.
  • Generated code creates a long-term maintenance liability and couples the application to an abandoned generator's idioms.
  • No CI signal, no typed API surface, no dependency security monitoring.

Key questions.

  1. Is the actual target stack Laravel or Symfony? The metadata claims Laravel while the artifact is a Symfony bundle — this discrepancy must be resolved before any decision.
  2. If Symfony is the target, is it genuinely on Symfony 3, and is a framework upgrade funded?
  3. If Laravel is the target, why is this package under consideration at all versus Laravel-native generator equivalents?
  4. What is the real requirement — scaffold speed, or a specific feature (Doctrine association-aware filtering, bulk delete)? Feature parity is trivially achievable with maintained tools.
  5. Who owns the fork if we adopt it, and what is the security-patch SLO for a dependency with no upstream?

Integration Approach

Stack fit. Poor for Laravel by any measure. A Laravel app expects Eloquent, Blade, Artisan, service providers, and Laravel validation/authorization. This package provides none of those. The only credible fit is a Symfony 2.8/3.x monolith that still uses Doctrine annotations and Twig, and even there the Bootstrap 3 markup and Symfony 3 APIs are dated.

Migration path. Recommend not porting the package but porting the idea:

  • Laravel: use a maintained scaffold generator (e.g., Laravel-native or laravel-shift/blueprint style tooling) or write a custom Artisan command producing resource controllers, Form Requests, Blade index/filter/sort views, and pagination/bulk-delete endpoints using Eloquent query scopes.
  • Symfony: use symfony/maker-bundle plus a modern admin layer (EasyAdmin, SonataAdmin, or API Platform) that supersedes this bundle.
  • If forced to reuse, fork only the Twig/controller templates as reference material; treat the code as a design document, not a dependency.

Compatibility. Requires Symfony ~2.8–3.x, Doctrine ORM 2.x, Twig, Bootstrap 3. Incompatible with Symfony 4/5/6/7, PHP 8+, modern Doctrine, Bootstrap 5, or Laravel 10/11/12.

Sequencing.

  1. Discovery (1–2 days): Confirm target framework; if Laravel, stop here.
  2. Spike (3–5 days): If Symfony legacy, stand up the bundle in a branch against a real entity with associations; validate generated CRUD, pagination, filtering, sorting, bulk delete under PHP 7.4 (last supported era).
  3. Decision gate: Compare against maintained alternatives on feature parity, security, and upgrade path.
  4. Execution (only if adopted): Fork, pin PHP version, add CI, document the fork, and schedule a replacement before any major framework upgrade.

Operational Impact

Maintenance. Effectively unmaintained. No upstream for security patches, no release cadence, no issue triage. Owning it means owning a fork: template maintenance, Doctrine mapping compatibility, and PHP-version drift. Budget ongoing engineering time even if the tool is "working."

Support. No vendor or community support. Troubleshooting relies on reading eight-year-old source. Escalation path is "we fix it ourselves." This is a single-maintainer risk with the maintainer having effectively exited in 2017.

Scaling. Generation is a build-time concern and scales fine; the generated runtime code is the concern. Association-aware filtering can yield N+1 queries or unindexed filter columns; bulk delete can issue large unbounded DELETE statements and lock tables under load; default page-size handling and sorting can bypass indexes. Bootstrap 3 markup is a UI/accessibility dead end at scale. For high-traffic Laravel apps, none of the generated query patterns would meet modern performance expectations without rework.

Failure modes.

  • PHP/Doctrine version mismatch → fatal errors or silent mapping failures at generation time.
  • Association mapping changes (embedables, inheritance, new Doctrine mapping drivers) → generator breaks or emits incorrect code.
  • Bulk delete without pagination/transaction safety → data-loss risk.
  • Twig 2 vs 3 deprecations → template rendering errors.
  • Bootstrap 3 → front-end consistency and accessibility regressions.
  • Abandonment risk realized: no fix path for a discovered CVE except internal patching.

Ramp-up. For a developer familiar with Symfony 2.8/3.x and Doctrine, ramp-up is a day or two to run the generator and understand its output. For a Laravel/PHP 8 team, ramp-up is misleadingly described as low but is actually negative value: every hour spent learning the bundle is time spent on technology that cannot run on the target stack. The net recommendation is to treat this package as architecturally misaligned with the stated stack and operationally unmaintained, and to pursue a maintained, framework-native generator instead.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log