comsave/common
Shared common utilities for Laravel/PHP projects by Comsave. Provides reusable helpers and foundational components to reduce duplication across apps and packages, keeping shared logic centralized and easy to maintain.
laravel/helpers, spatie/array, or nunomaduro/collision). If redundant, evaluate whether it offers unique value (e.g., legacy system compatibility, niche use cases).str_get_html, mysql_*).composer.json issues).php: ^7.2).Comsave\Common\Helpers::*).masterminds/html5).spatie/laravel-activitylog)?ComsaveCommonServiceProvider)? If not, manual bootstrapping may be needed.aliases array in config/app.php is updated.array → array<int, string>).create_function, call_user_func_array with variable arguments).illuminate/support).Comsave\Common\Str::camelize() with Str::camel() (Laravel 5.4+) or a custom helper.spatie/laravel-package-tools to create a maintained wrapper).laravel/framework version constraints in composer.json to force compatibility checks:
"require": {
"laravel/framework": "^8.0 || ^9.0 || ^10.0"
}
dom, fileinfo) and ensure they’re enabled in the deployment environment.Model::findOrFail() vs. firstOrFail()).roave/security-advisories) for transitive vulnerabilities.composer.json constraints.json_decode with JSON_THROW_ON_ERROR).Route::resource() changes).try-catch blocks around package calls and log failures.json_encode defaults).Str::, Arr:: helpers).How can I help you explore Laravel packages today?