tadcka/text-bundle
tadcka/text-bundle is a Laravel/PHP package that bundles reusable text utilities for common string handling and content processing tasks. It aims to simplify text-related operations and keep them organized within your applications.
Start by reviewing the package’s composer.json, README, and changelog for v0.2.0 after running:
composer update <vendor>/<package>
php artisan vendor:publish --tag=<package-config>
First use case: build or update a Laravel form that no longer includes the package-provided slug field. Treat the form definition as the source of truth, then verify controllers, requests, views, and tests that previously expected a slug input. If your app uses slugs for routing or persistence, generate or manage them outside the form layer unless the updated docs provide a replacement workflow.
Where to look first:
composer.json for PHP/Laravel version constraints.Use the package as a form-definition layer, not as a hidden source of routing or persistence behavior.
Recommended workflow:
slug input exists.Typical integration:
// Keep app-level slug generation explicit if routes still use slugs.
$model->slug = Str::slug($request->input('title'));
$model->save();
For forms:
name="slug" and old package helpers.lang/ files for required-field messaging so validation and UI copy stay consistent.Day-to-day patterns:
composer validate and CI after composer.json changes.slug, form field names, route model binding, and tests. If routes use {model:slug}, ensure slugs are still created and backfilled.composer.json changes can affect installability. Check PHP/Laravel constraints and run composer update --with-all-dependencies in a branch. Commit composer.lock intentionally.For v0.2.0, treat the slug removal as a potential breaking change and the required-text addition as a documentation-sensitive behavior change. Upgrade in a branch, run form submission tests, and audit any slug-dependent routing or persistence.
How can I help you explore Laravel packages today?