PHPackages                             diviky/laravel-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. [Templating &amp; Views](/categories/templating)
4. /
5. diviky/laravel-components

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

diviky/laravel-components
=========================

Blade components.

v2.0.57(1mo ago)03.1k1MITPHPPHP ^8.3

Since Mar 19Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/diviky/laravel-components)[ Packagist](https://packagist.org/packages/diviky/laravel-components)[ RSS](/packages/diviky-laravel-components/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (75)Used By (0)

Laravel Components
==================

[](#laravel-components)

### Usage

[](#usage)

#### Counter

[](#counter)

```

```

will be output as

```
 10
```

#### Switch

[](#switch)

```

```

will be output as

```

        Test

```

```

```

will be output as

```

    Form group label

        Test

```

#### Checkbox

[](#checkbox)

```

```

will be output as

```

     Name

```

#### Select Group

[](#select-group)

```

```

##### will be output as

[](#will-be-output-as)

```

     Mail Type

             From

             Reply To

```

#### Modal

[](#modal)

```

```

##### will be output as

[](#will-be-output-as-1)

```

                         Preview

```

#### Buttons

[](#buttons)

```

```

##### will be output as

[](#will-be-output-as-2)

```
Submit
```

##### We can also use label

[](#we-can-also-use-label)

```

```

##### will be output as

[](#will-be-output-as-3)

```
Update
```

But if you want to display some text or icons in button instead of submit you can use it as a $slot

##### Example

[](#example)

```
 Update
```

##### it will be output as

[](#it-will-be-output-as)

```
Update
```

##### For button with btn-secondary we can use

[](#for-button-with-btn-secondary-we-can-use)

```

```

##### will be output as

[](#will-be-output-as-4)

```
Submit
```

##### We can also use label for btn-secondary

[](#we-can-also-use-label-for-btn-secondary)

```

```

##### will be output as

[](#will-be-output-as-5)

```
Submit This
```

##### For button with btn-cancel we can use

[](#for-button-with-btn-cancel-we-can-use)

```

```

##### will be output as

[](#will-be-output-as-6)

```
Cancel
```

##### We can also use label for btn-cancel

[](#we-can-also-use-label-for-btn-cancel)

```

```

##### will be output as

[](#will-be-output-as-7)

```
Cancel This
```

##### Theme Checkbox

[](#theme-checkbox)

```

```

```

    Select All

```

#### Dates Filters

[](#dates-filters)

```

```

```

        custom

        1h

        3h

        6h

        12h

        1d

        1w

        1m

        3m

```

### Filepond/ File

[](#filepond-file)

```

    @slot('help)
        Allow only jpg, png files
    @endslot

```

### Drop Zone

[](#drop-zone)

```

```

#### Link

[](#link)

```
Submit
```

##### will be output as

[](#will-be-output-as-8)

```
Submit
```

#### Date Picker

[](#date-picker)

```

```

#### Date Range Picker

[](#date-range-picker)

```

```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

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

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance97

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 97.8% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~10 days

Recently: every ~2 days

Total

74

Last Release

47d ago

Major Versions

v1.0.13 → v2.0.02024-09-09

v1.1.0 → v2.0.12024-10-12

PHP version history (3 changes)v1.0.0PHP ^8.1

v1.0.9PHP ^8.2

v2.0.12PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/99c172c42e19c2ad0db03c0596a00eb21047df990ba405bb2d1fd57204eb2c2f?d=identicon)[sankar.suda](/maintainers/sankar.suda)

---

Top Contributors

[![sankarsuda](https://avatars.githubusercontent.com/u/798414?v=4)](https://github.com/sankarsuda "sankarsuda (89 commits)")[![bedh29](https://avatars.githubusercontent.com/u/99157294?v=4)](https://github.com/bedh29 "bedh29 (2 commits)")

### Embed Badge

![Health badge](/badges/diviky-laravel-components/health.svg)

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

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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