PHPackages                             highvertical/widget-package - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. highvertical/widget-package

ActivePackage[Templating &amp; Views](/categories/templating)

highvertical/widget-package
===========================

A Blade-first widget package for Laravel 10, 11, 12, and 13 applications.

v2.0.0(1mo ago)133MITPHPPHP ^8.1CI passing

Since Aug 9Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/highvertical/widget-package)[ Packagist](https://packagist.org/packages/highvertical/widget-package)[ Docs](https://github.com/highvertical/widget-package)[ RSS](/packages/highvertical-widget-package/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (7)Versions (11)Used By (0)

Highvertical Widget Package
===========================

[](#highvertical-widget-package)

Blade-first widgets for Laravel 10, 11, 12, and 13.

`v2.x` is the modern package line for Laravel 10+ applications. It keeps the package small, safe, and non-disruptive while preserving a clean Blade-first developer experience.

Compatibility
-------------

[](#compatibility)

Package lineLaravelPHPStatus`1.x``^7.0 | ^8.0 | ^9.0``^7.2.5 | ^8.0`Maintained legacy line`2.x``^10.0 | ^11.0 | ^12.0 | ^13.0``^8.1`Current modern lineCurrent latest stable Laravel line verified for this package: Laravel `13`, using Orchestra Testbench `11`. Sources: [laravel/framework on Packagist](https://packagist.org/packages/laravel/framework) and [orchestra/testbench on Packagist](https://packagist.org/packages/orchestra/testbench).

Safety
------

[](#safety)

This package does not modify your application unless you explicitly publish resources.

It does not:

- write files into your application during normal boot
- clear caches, routes, config, or compiled views
- run migrations automatically
- register middleware
- make HTTP requests
- inject remote assets, telemetry, or tracking
- scan arbitrary directories or modules on each request

Installation
------------

[](#installation)

```
composer require highvertical/widget-package:^2.0
```

Laravel package discovery is enabled by default. If you need manual registration, add the service provider to `config/app.php`:

```
'providers' => [
    Highvertical\WidgetPackage\Providers\WidgetServiceProvider::class,
],
```

Optional Publishing
-------------------

[](#optional-publishing)

Publish the package config:

```
php artisan vendor:publish --tag=widget-package-config
```

This creates:

```
config/widget-package.php

```

Publish the component wrapper view if you want to customize the default widget shell:

```
php artisan vendor:publish --tag=widget-package-views
```

This creates:

```
resources/views/vendor/widget-package/components/widget.blade.php

```

Publishing is optional. The package works without publishing any files.

Configuration
-------------

[](#configuration)

Default config:

```
