PHPackages                             ahrimfakhriy/common-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. ahrimfakhriy/common-components

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

ahrimfakhriy/common-components
==============================

Set of common blade components that are used in various Mysoftcare products.

031Blade

Since Nov 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/AhrimFakhriy/common-components)[ Packagist](https://packagist.org/packages/ahrimfakhriy/common-components)[ RSS](/packages/ahrimfakhriy-common-components/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

This is my package common-components
====================================

[](#this-is-my-package-common-components)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fa60268894f15c0fa2d8371348b6ad6a8cfb2469b6d76e96b0766866330c0a2f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616872696d66616b687269792f636f6d6d6f6e2d636f6d706f6e656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ahrimfakhriy/common-components)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ab7c4e16021d1edb242f9693d710ab500b8461860eeea40abb53eb0c4f744bd1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f616872696d66616b687269792f636f6d6d6f6e2d636f6d706f6e656e74732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/ahrimfakhriy/common-components/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/09d2210a71b3be1745bcd0981ff34a9f1ee31e711500422827afc4ce43189b50/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f616872696d66616b687269792f636f6d6d6f6e2d636f6d706f6e656e74732f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/ahrimfakhriy/common-components/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/4e9bf061434bfac89b86d782b055b5136c80764c31bb950fc3d2563cf9372f19/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616872696d66616b687269792f636f6d6d6f6e2d636f6d706f6e656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ahrimfakhriy/common-components)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/5d8c25d20112cbcc59f400f3da65b9a4e7d0e8bb2a285f59ca481169f91ad790/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f636f6d6d6f6e2d636f6d706f6e656e74732e6a70673f743d31)](https://spatie.be/github-ad-click/common-components)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require ahrimfakhriy/common-components
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="common-components-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="common-components-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

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

Usage
-----

[](#usage)

```
$commonComponents = new AhrimFakhriy\CommonComponents();
echo $commonComponents->echoPhrase('Hello, AhrimFakhriy!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Ahrim Fakhriy](https://github.com/ahrimfakhriy)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e14b4ff4d4a5af7bcf783ff180e121b90eb3f16e57c4188286100efc43f9355c?d=identicon)[hasyirin](/maintainers/hasyirin)

---

Top Contributors

[![hasyirin](https://avatars.githubusercontent.com/u/25414222?v=4)](https://github.com/hasyirin "hasyirin (18 commits)")

### Embed Badge

![Health badge](/badges/ahrimfakhriy-common-components/health.svg)

```
[![Health](https://phpackages.com/badges/ahrimfakhriy-common-components/health.svg)](https://phpackages.com/packages/ahrimfakhriy-common-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)
