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.

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-utilities

Laravel Utilities

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

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
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 chiiya/laravel-utilities contains the following files

Loading the files please wait ....