PHPackages                             titonova/shock-components - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. titonova/shock-components

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

titonova/shock-components
=========================

Livewire components for eloquent models such as like, dislike, delete etc

14[4 PRs](https://github.com/titonova/shock-components/pulls)PHP

Since Nov 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/titonova/shock-components)[ Packagist](https://packagist.org/packages/titonova/shock-components)[ RSS](/packages/titonova-shock-components/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (5)Used By (0)

> ⚠️ Still undergoing development. Do not use in production yet

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

Livewire components for eloquent models such as like, dislike, delete etc
=========================================================================

[](#livewire-components-for-eloquent-models-such-as-like-dislike-delete-etc)

[![Latest Version on Packagist](https://camo.githubusercontent.com/40ad3cb03d5a37e74a3a05bd5350e78deea5c841624dc1d201dff623a724d70e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7469746f6e6f76612f73686f636b2d636f6d706f6e656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/titonova/shock-components)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f65f2a64adf1b6198b8891baf601149324bf0d3d6461b876fc3ebab6a55fa176/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7469746f6e6f76612f73686f636b2d636f6d706f6e656e74732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/titonova/shock-components/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/a1bb8b5e9fbb8d295edf842e3ce21cd9a558d5cf62ce7144ff3409069d58c943/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7469746f6e6f76612f73686f636b2d636f6d706f6e656e74732f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/titonova/shock-components/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/e2cd731707f71bf3af857ed8d6baf6343a8a4ede7c22c5d0ea46b95fbde5508a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7469746f6e6f76612f73686f636b2d636f6d706f6e656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/titonova/shock-components)

Extremely simple Frontend and Backend resuable UI components for performing common actions on Eloquent models such as delete, like, dislike, bookmark etc, built with livewire and [Wire UI](https://github.com/wireui/wireui), and rendered using [X-livewire](https://github.com/titonova/x-livewire).

E.g:

For a delete button, this would render a delete button, with a confirm dialog, and a delete action in the backend, without any other setup. Just pop it in your view and it would do the rest.

```

```

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

[](#installation)

You can install the package via composer:

```
composer require titonova/shock-components
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="shock-components-views"
```

Usage
-----

[](#usage)

...

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/titonova/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [titonova](https://github.com/titonova)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0f1d140627bb72fb1773d0e54df4b575a47e940b17c2413e5f7da88a72080fa8?d=identicon)[titonova](/maintainers/titonova)

---

Top Contributors

[![titonova](https://avatars.githubusercontent.com/u/41286822?v=4)](https://github.com/titonova "titonova (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")

### Embed Badge

![Health badge](/badges/titonova-shock-components/health.svg)

```
[![Health](https://phpackages.com/badges/titonova-shock-components/health.svg)](https://phpackages.com/packages/titonova-shock-components)
```

###  Alternatives

[trentrichardson/cakephp-scheduler

Makes scheduling tasks in CakePHP much simpler.

3241.7k](/packages/trentrichardson-cakephp-scheduler)[rainlab/sitemap-plugin

Sitemap plugin for October CMS

2282.4k1](/packages/rainlab-sitemap-plugin)[corneltek/genphp

421.3k3](/packages/corneltek-genphp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
