Download the PHP package laragear/meta without Composer
On this page you can find all versions of the php package laragear/meta. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laragear/meta
More information about laragear/meta
Files in laragear/meta
Informations about the package meta
Meta
A Laravel Package helper for Laravel Packages.
Become a sponsor
Your support allows me to keep this package free, up-to-date and maintainable. Alternatively, you can spread the word in social media.
Requirements
- PHP 8.3 or later
- Laravel 12 or later.
Installation
Require this package into your project using Composer:
Package testers
You may additionally install testing helpers for your package. These should be installed in your require-dev arm of your composer so these are not shipped in the production version of your package.
Discoverer
The Discover class is a builder that allows discovering classes under a given path. It contains various fluent methods to filter the classes to discover, like methods, properties, interfaces and traits, among others.
Middleware declaration
When using withMiddleware() you will receive a MiddlewareDeclaration object with convenient methods to register the middleware globally or inside a group, set it as first/last in the global priority stack, and register an alias for it.
Builder extender
The ExtendsBuilder trait allows a Global Scope to extend the instance of the Eloquent Builder with new methods. Simply start your builder methods extend, no matter wich visibility scope or if the method is static or not.
[!TIP]
If you need the model being queried, you can always use
getModel()over the Eloquent Builder instance.
Command Helpers
This meta-package includes the WithEnvironmentFile helper trait to modify the environment file keys and values.
Attribute extractor
The package contains the Attr helper that receives a target class, object, function, and allows to retrieve all or one attribute. Better yet, you can directly call a method or retrieve an attribute property.
Laravel Octane compatibility
- There are no singletons using a stale application instance.
- There are no singletons using a stale config instance.
- There are no singletons using a stale request instance.
ExtendsBuilderonly initializes its static property once per Scope.
There should be no problems using this package with Laravel Octane.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
License
This specific package version is licensed under the terms of the MIT License, at time of publishing.
Laravel is a Trademark of Taylor Otwell. Copyright © 2011-2025 Laravel LLC.
All versions of meta with dependencies
illuminate/filesystem Version 12.*|13.*
illuminate/database Version 12.*|13.*
illuminate/http Version 12.*|13.*