Download the PHP package l0n3ly/laravel-dynamic-helpers without Composer

On this page you can find all versions of the php package l0n3ly/laravel-dynamic-helpers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-dynamic-helpers

Laravel Dynamic Helpers

Latest Version Total Downloads License

A powerful Laravel package that provides a dynamic helper management system with an Artisan command generator. Create, organize, and access your custom helper classes effortlessly.

โœจ Features

๐Ÿ“‹ Requirements

๐Ÿ“ฆ Installation

Install the package via Composer:

The service provider will be automatically discovered by Laravel.

๐Ÿš€ Quick Start

1. Create a Helper

This creates app/Helpers/MoneyHelper.php:

2. Use Your Helper

The package automatically registers global functions for all your helpers at boot time. You can access them directly:

You can also access helpers through the helpers() function if preferred:

๐Ÿ“š Usage Examples

Basic Helper

Usage:

Nested Helpers

Create organized helper structures:

This creates:

Access them using flattened camelCase:

In Controllers

In Blade Templates

๐ŸŽฏ Advanced Features

Instance Caching

Helpers are automatically cached as singletons:

Callable Helpers

Helpers can be callable:

Usage:

Custom Helper Methods

Add any methods you need:

๐Ÿ“– Command Reference

Create a Helper

Create Nested Helper

Helper Name Normalization

The command automatically normalizes names:

๐Ÿงช Testing

Run the test suite:

Or with PHPUnit:

๐Ÿ“ Code Style

This package uses Laravel Pint for code style. Format code:

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

๐Ÿ“„ License

The MIT License (MIT). Please see the License File for more information.

๐Ÿ‘ค Author

Divine Idehen

๐Ÿ™ Acknowledgments


Made with โค๏ธ for the Laravel community


All versions of laravel-dynamic-helpers with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package l0n3ly/laravel-dynamic-helpers contains the following files

Loading the files please wait ...