PHPackages                             lyhty/macronite - 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. lyhty/macronite

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

lyhty/macronite
===============

Helpful macro maker for your Laravel project.

v4.0.0(11mo ago)0189[1 issues](https://github.com/lyhty/macronite/issues)MITPHPPHP ^8.2CI failing

Since Aug 10Pushed 10mo agoCompare

[ Source](https://github.com/lyhty/macronite)[ Packagist](https://packagist.org/packages/lyhty/macronite)[ Docs](https://matti.suoraniemi.com/lyhty/macronite)[ RSS](/packages/lyhty-macronite/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (7)Versions (14)Used By (0)

 [![](https://camo.githubusercontent.com/611bf06cd8a3c8608f785763f0e831194cb1c7c18427adeba4c67aaf5fa1bb18/68747470733a2f2f6d617474692e73756f72616e69656d692e636f6d2f73746f726167652f6c796874792d6d6163726f6e6974652e706e67)](https://camo.githubusercontent.com/611bf06cd8a3c8608f785763f0e831194cb1c7c18427adeba4c67aaf5fa1bb18/68747470733a2f2f6d617474692e73756f72616e69656d692e636f6d2f73746f726167652f6c796874792d6d6163726f6e6974652e706e67)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5461f078433daa487a16499e221c65875e8f2fb015996309ded75774f7bacebd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c796874792f6d6163726f6e6974652e7376673f6c6162656c3d266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465267374796c653d666c61742d737175617265)](https://packagist.org/packages/lyhty/macronite)[![PHP](https://camo.githubusercontent.com/121c41714a55efe20b74ee47e84efb6b5a390ea495257bef9cb9a67fa1544d64/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6c796874792f6d6163726f6e6974653f7374796c653d666c61742d737175617265266c6162656c3d266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/lyhty/macronite)[![Laravel](https://camo.githubusercontent.com/ae586ea7917c7a64381ff9fefc6a11a1cd60534de92513caa5110c889504fcd0/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d266d6573736167653d2535453131253230253743253230253545313226636f6c6f723d726564267374796c653d666c61742d737175617265266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/lyhty/macronite)[![Total Downloads](https://camo.githubusercontent.com/7ee8e623dc835059f59f69856c9aa0c1bf1c1550fb2d0516a084d7958bee6712/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c796874792f6d6163726f6e6974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lyhty/macronite)[![StyleCI](https://camo.githubusercontent.com/5130a4b7a98bf93935f4018486f07becdf179fc7b46f4545af71f749ec8d8581/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3532333235353231362f736869656c64)](https://github.styleci.io/repos/523255216)[![License](https://camo.githubusercontent.com/b2fa634a761ab6703d6ca8c6598460d2a65a7e670bf621cff144390f1851f21c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c796874792f6d6163726f6e6974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lyhty/macronite)

This package provides a very convenient macro maker to your Laravel project.

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

[](#installation)

Install the package with Composer:

```
composer require lyhty/macronite

```

The package registers itself automatically.

Extending the MacroServiceProvider
----------------------------------

[](#extending-the-macroserviceprovider)

You can make your own pretty MacroServiceProviders by extending the MacroServiceProvider class provided by this package!

Here's an example:

```
