{"repo":"protonemedia/laravel-mixins","free":true,"listed":false,"github":"https://github.com/protonemedia/laravel-mixins","clone":"git clone https://github.com/protonemedia/laravel-mixins.git","description":"A collection of Laravel goodies.","language":"PHP","stars":154,"topics":["php","laravel"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel Mixins Sponsor Us ❤️ We proudly support the community by developing Laravel packages and giving them away for free. If this package saves you time or if you're relying on it professionally, please consider sponsoring the maintenance and development and check out our latest premium package: Inertia Table. Keeping track of issues and pull requests takes time, but we're happy to help! Requirements PHP 8.2+ Laravel 11.0 Installation You can install the package via composer: There's no Service Provider or automatic discovery/registration of anything. All features are opt-in. Contents Blade Directives Decimal Money Formatter Intl Money Formatter Console Commands Generate Sitemap Validation Rules Current password Dimensions With Margin Host In Keys Max Words URL Without Scheme String Macros Compact Human Filesize Text URL Seconds to time PDF PDF Regeneration Request Convert Base64 input data to files Blade Directives You can register Blade Directives by calling the directive method on the class. You can change the name of a directive with the optional first argument. Decimal Money Formatter Note: This directive requires the moneyphp/money package. Register the directive, for example by adding it to your AppServiceProvider : You can customize the name of the directive and the default currency code: The first argument of the directive is the amount in cents. The second optional parameter is the currency. Intl Money Formatter Note: This directive requires the moneyphp/money pac","default_branch":null,"files":null,"tree":[],"storefront":"/r/protonemedia","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/protonemedia/laravel-mixins/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}