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

Laraslice Laravel Package

hereafter/laraslice

Laraslice is a Laravel package for building applications with vertical slices. Group each feature’s routes, actions, and views into self-contained modules for code that’s easier to navigate, test, and maintain.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: LaraSlice remains a Laravel/PHP package for manifest-driven slice generation, porting, design, and management. v1.8.0 consolidates four studios into a single /laraslice/studio shell with Port, Design, Create, and Manage as destinations. This is a better fit for teams that need one entry point for greenfield, legacy port, and schema work, but it increases the importance of route/auth boundaries around a broad administrative surface.
  • Integration feasibility: Composer-based Laravel integration remains feasible. Existing POST endpoints are unchanged, and legacy studio URLs redirect into the new shell. The package now assumes YAML manifests; JSON manifest reads are removed. Existing installs with slice.json must run slice:migrate-json-to-yaml [--dry-run] [--delete] before upgrade. Published UI components should be refreshed via slice:repair --publish-ui.
  • Technical risk: The breaking YAML-only manifest change is the primary upgrade risk. JSON-only slices will throw with a migration hint, so upgrade without migration is not viable. Default UI changes may affect generated/ported applications and published view overrides. Studio saves becoming preview-first with YAML diff and version history is safer for edits, but requires teams to understand the review workflow. Foreign-key label resolution, option-label mapping, date/boolean rendering, and sidebar curation reduce hand-tuning but may expose assumptions in custom manifests.
  • Key questions: Which Laravel/PHP versions are supported? How are /laraslice/studio routes authorized and scoped for multi-tenant or production environments? What is the manifest schema stability policy? Can slice:migrate-json-to-yaml be rolled back safely, and what backup strategy is expected? How do published UI components interact with future package upgrades? Are generated UI defaults overrideable without forking package views? What performance impact should we expect from foreign-key label resolution and persisted Columns menus on large tables?

Integration Approach

  • Stack fit: Fits Laravel/PHP applications already using Composer and Blade-based UI generation. The package is most valuable where teams want repeatable slice scaffolding, legacy porting, and manifest-first administration inside an existing Laravel app. The ONE Studio shell aligns with a TPM-managed rollout because it provides a single operator destination while preserving existing endpoint contracts.
  • Migration path: Inventory all slice.json manifests and published UI components. Run slice:migrate-json-to-yaml --dry-run first, review the diff, back up manifests and published views, then run the migration with or without --delete according to retention policy. Run slice:validate, follow with slice:repair --publish-ui, and smoke-test studio redirects, CRUD forms, listings, detail pages, foreign-key labels, option fields, dates, booleans, and wide-table column behavior.
  • Compatibility: Expect JSON-only slices to fail until migrated. Legacy studio URLs should redirect, but bookmarks and internal documentation should be updated to /laraslice/studio. Existing custom published UI may conflict with the default UI program and --publish-ui repair. All 10 shipped example blueprints pass slice:validate, which is a useful regression baseline but not a substitute for validating internal manifests.
  • Sequencing: 1) Freeze manifest changes and capture backups. 2) Run dry-run migration and review YAML diffs. 3) Migrate manifests and validate. 4) Refresh published UI components. 5) Verify studio redirects and unchanged POST endpoints. 6) Run side-by-side UI checks against a representative app, ideally using the production ERP-style port as the acceptance model. 7) Update CI to run slice:validate and manifest diff checks. 8) Roll out to power users before broad enablement.

Operational Impact

  • Maintenance: YAML-only manifests simplify long-term maintenance and make CLI diffing (slice:diff) and studio version history meaningful. However, the team must own the migration window, YAML schema literacy, and published UI refresh process. Default UI improvements reduce hand-tuning for generated and ported apps, lowering ongoing UI maintenance for standard cases.
  • Support: Support load will spike around the breaking JSON-to-YAML migration and the ONE Studio navigation change. Provide runbooks for slice:migrate-json-to-yaml, slice:repair --publish-ui, and legacy URL redirects. Train users on preview-first studio saves, YAML diff review, and version history. Use the ERP-port validation story as a support confidence signal, not as a blanket guarantee for all custom manifests.
  • Scaling: The package should scale operationally as a development/admin tool, but generated applications need load testing where foreign-key label resolution, option-label mapping, persisted Columns menus, and wide-table defaults are used on large datasets. Sidebar curation and manifest-driven detail pages reduce ad hoc UI work, but large ERP-style slices should be profiled for query count and label-resolution overhead.
  • Failure modes: Most likely failures are unmigrated JSON slices throwing at runtime, stale published UI after upgrade, unintended UI changes from default UI behavior, missing foreign-key label mappings, option fields rendering as raw values or non-select inputs, and redirect gaps from legacy studio URLs. Preview-first saves reduce destructive manifest edits but add a review step that can be skipped or misunderstood. Migration command failures require backups and a rollback plan.
  • Ramp-up: Teams need Laravel/PHP familiarity, Composer upgrade discipline, YAML manifest review skills, and studio operator training. Budget time for dry-run migration, UI repair, validation, and ERP-style side-by-side acceptance. The Dev Studio Standard §0 ONE Studio contract and 10 validated example blueprints are useful onboarding artifacts, but internal manifest and customization patterns should be documented before broad rollout.
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.
ably/pubsub-server
mstfkhazaal/defender
mfonte/base62x
karnoweb/metapilot
tobya/bcsapiwrapper
swalker2/cpanel
vish4395/laravel-translation-manager
morningtrain/economic
teksite/systeminfo-laravel
atomcms/voting
run6/weather
siokas/laravelembeddirectives
adamlien/pkuuids
gilsonsouza/lara-doc-generator
manelgavalda/enrollment_mobile
unabomber/timezone
delatbabel/contacts
astritzeqiri/g-recaptcha
kevinongko/laravel-genode
developeruz/laravel-analytics