Download the PHP package ahmed-arafat/all-in-one without Composer
On this page you can find all versions of the php package ahmed-arafat/all-in-one. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ahmed-arafat/all-in-one
More information about ahmed-arafat/all-in-one
Files in ahmed-arafat/all-in-one
Package all-in-one
Short Description Laravel utilities: sorting, filtering, searching, file uploads, Excel, enums, JWT, validation rules, migrations, and seeders
License MIT
Informations about the package all-in-one
Laravel All-In-One Toolkit
A curated Laravel toolkit that centralizes common API patterns, validation rules, Eloquent querying utilities, console commands, and developer productivity helpers — designed to reduce boilerplate and enforce consistency across projects.
Built for real-world Laravel applications, not demos.
Badges
Introduction
Laravel All-In-One Toolkit provides a structured set of reusable traits, helpers, middleware, exceptions, and Artisan commands that solve recurring problems in Laravel projects.
Instead of reimplementing the same logic across applications, this toolkit offers opinionated, Laravel-native abstractions for:
- API response consistency
- Validation rule composition
- Query filtering, searching, and sorting
- Pagination enhancements
- Date handling and formatting
- File and Excel data processing
- Database seeding and automation
Design Philosophy
- Prefer explicit and readable helpers over hidden magic
- Reduce repetitive boilerplate across projects
- Follow Laravel conventions instead of reinventing them
- Keep utilities framework-aware, not framework-agnostic
- Provide small, composable building blocks
Installation
Install the package via Composer:
The package is auto-discovered by Laravel. No manual registration is required.
API Reference (Purpose & Method Signatures)
This document describes the intended public API of the package. Each class/trait and method includes a short description of its responsibility and use case.
Console Commands
DatabaseInitialSeedersCommand
Purpose: Runs all initial database seeders in a controlled and automated way.
GitCommand
Purpose: Provides Git-related automation tasks through Artisan.
PhpMyAdminDatabaseTablesExtractorCommand
Purpose: Extracts database table definitions from phpMyAdmin SQL exports and processes them programmatically.
Exceptions
ValidationErrorsAsArrayException
Purpose: Transforms validation errors into a structured array format suitable for API responses.
Traits (Core Helpers)
ApiResponser
Purpose: Provides a unified structure for API responses (success, error, pagination, messages).
JsonApiResponser
Purpose: Generates JSON responses compliant with HTTP status codes and API best practices.
CustomRule
Purpose: Simplifies the creation of reusable and expressive Laravel validation rules.
DateHelper
Purpose: Provides common date parsing, formatting, and comparison utilities using Carbon.
ExcelFormatter
Purpose: Extracts and normalizes Excel data into PHP arrays.
FileHelper
Purpose: Provides helper methods for working with files and file content.
PaginatorHelper
Purpose: Enhances paginated results with additional metadata.
QueryParameter
Purpose: Resolves query string parameters into model data.
Eloquent Traits (Filterable, Searchable, Sortable)
Purpose: Provide reusable query scopes for filtering, searching, and sorting Eloquent models.
Project Structure
Who Is This For?
- Laravel developers building APIs or admin panels
- Teams that want consistent validation and response structures
- Projects that frequently implement filtering, searching, and sorting
- Developers who value clean abstractions over copy-pasted snippets
Versioning
This package follows semantic versioning.
1.x— Stable public API- Minor versions may add new features
- Breaking changes will only occur in major versions
Contributing
Contributions are welcome.
- Follow PSR-12 coding standards
- Write clear commit messages
- Add tests for new functionality when applicable
License
Laravel All-In-One Toolkit is open-sourced software licensed under the MIT license.