This release (1.1.3) is additive: it adds form validation support and a configurable sidebar label. No breaking changes are called out.
composer require vendor/package:^1.1 or, if already installed, composer update vendor/package --with-dependencies.php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider"
php artisan migrate
php artisan optimize:clear
config/{package}.php, resources/lang/vendor/{package}, and the package service provider. For 1.1.3 specifically, search for validation, rules, sidebar, label, navigation, and menu.// config/package.php
'navigation' => [
'label' => 'Reports',
],
or a translation key:
// resources/lang/vendor/package/en/navigation.php
return ['reports' => 'Reports'];
FormRequest, Validator::make(), or the package’s validation hook, then pass only validated data into the package action/service:public function store(StoreReportRequest $request)
{
$data = $request->validated();
// Pass $data to the package service/action.
}
required, email, unique, Rule::exists, Rule::in, after) and custom Rule classes for domain-specific checks. Avoid relying on package/client-side validation alone.if ($validator->fails()) {
return response()->json(['errors' => $validator->errors()], 422);
}
$this->validate() and $this->resetValidation() in the component. For Inertia, use useForm() and surface the errors prop.$response = $this->post(route('package.form.store'), []);
$response->assertSessionHasErrors(['name', 'email']);
$this->get('/admin')->assertSee('Reports');
php artisan optimize:clear or at least php artisan config:clear.vendor/. Publish/override config, translations, or views. If you already published config, new 1.1.3 keys may not appear until you compare/republish or merge manually.exists:projects,id,tenant_id,... where needed.^1.1 and review the composer.lock diff.How can I help you explore Laravel packages today?