Download the PHP package chiiya/laravel-utilities without Composer
On this page you can find all versions of the php package chiiya/laravel-utilities. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chiiya/laravel-utilities
More information about chiiya/laravel-utilities
Files in chiiya/laravel-utilities
Download chiiya/laravel-utilities
More information about chiiya/laravel-utilities
Files in chiiya/laravel-utilities
Vendor chiiya
Package laravel-utilities
Short Description Common utilities for laravel projects
License MIT
Homepage https://github.com/chiiya/laravel-utilities
Package laravel-utilities
Short Description Common utilities for laravel projects
License MIT
Homepage https://github.com/chiiya/laravel-utilities
Please rate this library. Is it a good library?
Informations about the package laravel-utilities
Laravel Utilities
Common classes and utilities for Laravel projects.
Installation
You can install the package via composer:
You can optionally publish the config file with:
This is the contents of the published config file:
Usage
TimedCommand
- Print command execution time
Simple extension of the Laravel `Command` that prints execution time after completion.
SetsSender
- Set sender for mailables
Trait to set the sender (return path) for mailables for e.g. bounce handling.
PresentableTrait
- View presenters for eloquent models
View presenter similar to the no longer maintained [`laracasts/presenter`](https://github.com/laracasts/Presenter) package. Useful for doing some manipulations before displaying data.
AbstractRepository
- Base repository for the repository pattern
Base repository for usage of the repository pattern. It provides `get`, `find`, `index`, `search`, `count`, `create`, `update` and `delete` methods for the configured `$model`. Most methods accept an optional `$filters` parameter, that may be used to apply the filters configured in the `applyFilters` method to your queries. A general recommendation is to only use repositories as a place to store your complex queries and/or queries that are used repeatedly in multiple places, since otherwise they might be considered an anti-pattern. For more complex queries it can however be useful to separate them from your services. Repositories also serve as a way to self-document those queries by using descriptive method names. This way developers don't have to parse database queries and try to understand their purpose when going through your application logic.
CodeService
- Generate large amounts of random codes
Service class for efficiently generating large amounts of random, unique codes in memory for later processing.
CsvReader
- Read CSV files
Small wrapper around the [`openspout/openspout`](https://github.com/openspout/openspout) csv reader for high-performance reading of CSV files:
CsvWriter
- Write CSV files
Small wrapper around the [`openspout/openspout`](https://github.com/openspout/openspout) csv writer:
ExcelReader
- Read XLS/XLSX files
Small wrapper around the [`openspout/openspout`](https://github.com/openspout/openspout) excel reader for high-performance reading of XLS/XLSX files:
ExcelWriter
- Write XLX/XLSX files
Small wrapper around the [`openspout/openspout`](https://github.com/openspout/openspout) excel writer:
FileDownloader
- Download remote files
Utility class for downloading files from a remote URL.
Zipper
- Unzip .zip files
Utility class for unzipping .zip files.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-utilities with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
ext-zip Version *
openspout/openspout Version ^4.0
guzzlehttp/guzzle Version ^7.4
illuminate/contracts Version ^11.0
spatie/laravel-package-tools Version ^1.16
ext-zip Version *
openspout/openspout Version ^4.0
guzzlehttp/guzzle Version ^7.4
illuminate/contracts Version ^11.0
spatie/laravel-package-tools Version ^1.16
The package chiiya/laravel-utilities contains the following files
Loading the files please wait ....