PHPackages                             hwavina/hwa-meta - 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. hwavina/hwa-meta

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

hwavina/hwa-meta
================

Laravel package meta data

v1.0.0(4y ago)31161MITPHPPHP ^7.2|^8.0

Since Oct 17Pushed 4y agoCompare

[ Source](https://github.com/hwavina/hwa-meta)[ Packagist](https://packagist.org/packages/hwavina/hwa-meta)[ Docs](https://github.com/hwavina/hwa-meta)[ RSS](/packages/hwavina-hwa-meta/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

[![](https://camo.githubusercontent.com/75ba27e550e967b98e0e20dac7c8656a6c0d57e5170d9c5aea5e8171952dc6ba/68747470733a2f2f68776176696e612e6d652f77702d636f6e74656e742f75706c6f6164732f323032312f30392f6c6f676f2e706e67)](https://github.com/hwavina/hwa-meta)

[![Total Downloads](https://camo.githubusercontent.com/ec5e7899dc360d78effec3989093656d9f677f55505735609d79e2bb49360056/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68776176696e612f6877612d6d657461)](https://packagist.org/packages/hwavina/hwa-meta)[![Latest Stable Version](https://camo.githubusercontent.com/ad9957e8291643810cb0c3e8d3b540a1b910739eb830f9d21ca39e88e30a9c35/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68776176696e612f6877612d6d657461)](https://packagist.org/packages/hwavina/hwa-meta)[![License](https://camo.githubusercontent.com/1579de29893b809fdc242e6425a8110cc34399ea8ffea3481a1b03be2315c04a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f68776176696e612f6877612d6d657461)](https://packagist.org/packages/hwavina/hwa-meta)

About
-----

[](#about)

[hwa-meta](https://github.com/hwavina/hwa-meta) is a meta package. It helps us to build and develop faster with pre-built functions. This saves a lot of time on future projects.

We share this package to give programmers an extra useful library. We hope people use this package not for commercialization or profit of any kind.

And finally, hope to receive more contributions and shares from all of you.

Thank you very much 🧡

Install
-------

[](#install)

1. You can install the package via composer:

```
composer require hwavina/hwa-meta
```

2. Optional: The service provider will automatically get registered. Or you may manually add the service provider in your `config/app.php` file:

```
'providers' => array(
    // ...
    Hwavina\HwaMeta\HwaMetaServiceProvider::class,
);
```

3. You can customize the [`config/hwa_meta.php` config file](https://github.com/hwavina/hwa-meta/blob/main/config/hwa_meta.php) . If you customize file `config/hwa_meta.php`. You need to run the command below to clear cache and update the changes.

```
php artisan config:cache

# or

php artisan optimize:clear
```

### Default config file contents

[](#default-config-file-contents)

You can view the default config file contents at:

[https://github.com/hwavina/hwa-meta/blob/main/config/hwa\_meta.php](https://github.com/hwavina/hwa-meta/blob/main/config/hwa_meta.php)

Usage
-----

[](#usage)

### MetaTools

[](#metatools)

This tool helps you to easily manage the extended data fields of certain objects.

1. Create Meta Class with command.

Example: We need CustomerMeta. This tools help us make model file and migration file.

```
php artisan hwa:make:meta Customer -m
```

The above command we have added -m to create the migration file.

2. Add allow type to `config/hwa_meta.php`

```
'allow_type' => [
    .....
    'customer' => ['id', 'customer_id'],
],
```

3. You need to run the command below to clear cache and update the changes.

```
php artisan config:cache

# or

php artisan optimize:clear
```

4. Run command to migrate the meta migration file to database

```
php artisan migrate
```

After completing the above configuration steps you can use the methods available in the meta model in the classes you want.

```
// Example
CustomerMeta:_update(1, 'gender', 'male'); // update or add new gender for customer has id is 1
```

Beside the functions and methods we have built, people can also build their own by inheriting our classes.

Changelog
---------

[](#changelog)

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

Security
--------

[](#security)

If you discover a security vulnerability within [hwa-meta](https://github.com/hwavina/hwa-meta), please send an e-mail to [Phi Hoang](https://github.com/hwavina) via . All security vulnerabilities will be promptly addressed.

Credits
-------

[](#credits)

- [Phi Hoang](https://github.com/hoangphidev)
- [Hwavina Inc.](https://github.com/hwavina)
- [All Contributors](../../contributors)

License
-------

[](#license)

The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1669d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/557a3eb75039e39d7f1635b552a16aa969390decd1aeeb8f92edce1ee2951289?d=identicon)[HoangPhi](/maintainers/HoangPhi)

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

---

Top Contributors

[![hoangphidev](https://avatars.githubusercontent.com/u/32218935?v=4)](https://github.com/hoangphidev "hoangphidev (2 commits)")

---

Tags

hwa-metahwavinalaravel-hwa-metalaravel-packagelaravelpackagelaravel-packagelaravel metahoangphidevmetatoolsmeta-toolslaravel-metatoolshwa-metatoolshwavinalaravel-package-metahwa-metahoangphi-hwa-metahoangphidev-hwa-meta

### Embed Badge

![Health badge](/badges/hwavina-hwa-meta/health.svg)

```
[![Health](https://phpackages.com/badges/hwavina-hwa-meta/health.svg)](https://phpackages.com/packages/hwavina-hwa-meta)
```

###  Alternatives

[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[erag/laravel-pwa

A simple and easy-to-use PWA (Progressive Web App) package for Laravel applications.

16083.3k](/packages/erag-laravel-pwa)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[tehwave/laravel-achievements

Simple, elegant Achievements the Laravel way

7012.8k](/packages/tehwave-laravel-achievements)[waad/laravel-profanity-filter

Laravel Profanity Filter - Powerful PHP package for detecting, filtering, and masking profanity in multiple languages. Supports leet speak, custom word lists, case sensitivity, and seamless Laravel integration.

202.9k](/packages/waad-laravel-profanity-filter)[algoyounes/laravel-package-skeleton

Laravel Package Skeleton for streamlined package development

271.3k](/packages/algoyounes-laravel-package-skeleton)

PHPackages © 2026

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