Download the PHP package wyxos/harmonie without Composer
On this page you can find all versions of the php package wyxos/harmonie. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wyxos/harmonie
More information about wyxos/harmonie
Files in wyxos/harmonie
Package harmonie
Short Description Backend utilities for Laravel and @wyxos/vision
License MIT
Informations about the package harmonie
Harmonie
Backend utilities for Laravel and @wyxos/vision.
Description
Harmonie is a comprehensive package that provides a set of utilities to streamline backend development in Laravel applications, especially when working with the @wyxos/vision frontend library. It offers tools for handling data listings, imports, exports, and resource management.
Requirements
- PHP 8.1 or higher
- Laravel 11.31+ or 12.0+
- league/csv 9.0+
- laravel/scout 10.6+
- phpoffice/phpspreadsheet 2.2+
Installation
You can install the package via composer:
The package will automatically register its service providers.
Configuration
Publish the configuration file:
Features
Listing
The Listing component provides a powerful way to handle data listings with filtering, pagination, and formatting. It supports both Eloquent and Scout (search) queries.
Example usage:
Export
The Export component allows you to export data to CSV files with support for chunking large datasets.
Example usage:
Import
The Import component provides functionality for importing data from CSV files with support for validation and error handling.
Resource
The Resource component extends Laravel's resource functionality with additional features for API development.
Commands
Harmonie includes several useful Artisan commands:
php artisan harmonie:clear-all-cache- Clears various cache typesphp artisan harmonie:flush-redis- Clears Redis cachephp artisan harmonie:generate-administrator- Creates an admin userphp artisan harmonie:scout-reset- Resets Laravel Scout indexesphp artisan harmonie:make-model- Custom model generatorphp artisan harmonie:install-git-hook- Installs a git pre-push hook that runs testsphp artisan harmonie:uninstall-git-hook- Uninstalls the git pre-push hook
License
The MIT License (MIT). Please see License File for more information.
Credits
All versions of harmonie with dependencies
laravel/framework Version ^11.31 || ^12.0
league/csv Version ^9.0
laravel/scout Version ^10.6
phpoffice/phpspreadsheet Version ^2.2