lastdragon-ru / lara-asp
The Awesome Set of Packages for Laravel.
Requires
- php: ^8.0|^8.1|^8.2
- ext-dom: *
- ext-intl: *
- ext-json: *
- ext-libxml: *
- ext-mbstring: *
- ext-xml: *
- ext-xmlreader: *
- composer/semver: ^3.2
- doctrine/dbal: ^2.12.0|^3.1.4
- doctrine/sql-formatter: ^1.1
- guzzlehttp/psr7: ^1.8.5|^2.1.1
- http-interop/http-factory-guzzle: ^1.0.0
- laravel/framework: ^8.22.1|^9.0.0
- nuwave/lighthouse: ^5.68.0
- opis/json-schema: ^2.1.0
- phpdocumentor/reflection-docblock: ^5.2
- psr/http-message: ^1.0.0
- symfony/filesystem: ^5.2.0|^6.0.0
- symfony/finder: ^5.1.0|^6.0.0
- symfony/http-foundation: ^5.2.0|^6.0.0
- symfony/mime: ^5.3.0|^6.0.0
- symfony/psr-http-message-bridge: ^2.0.0
Requires (Dev)
- ext-pdo_sqlite: *
- laravel/scout: ^9.2.1
- mockery/mockery: ^1.4
- nunomaduro/larastan: 2.4.0
- orchestra/testbench: ^6.9.0|^7.0.0
- phpstan/phpstan: 1.9.14
- phpstan/phpstan-mockery: ^1.0.0
- phpstan/phpstan-phpunit: ^1.0.0
- phpstan/phpstan-strict-rules: ^1.1.0
- phpunit/phpunit: ^9.5.0
- slevomat/coding-standard: ^8.6.2
- squizlabs/php_codesniffer: ^3.7.1
- symplify/monorepo-builder: ^11.0.0
Suggests
- ext-fileinfo: Required for league/flysystem
- laravel/scout: Required for the @sortBy directive to work with Scout Builder.
Conflicts
- phpunit/phpunit: <9.0
Replaces
This package is auto-updated.
Last update: 2023-02-06 06:28:30 UTC
README
The set provides best practices to make development more fun and classes/services that I found very useful while working on big extensible applications.
Requirements
Package | Version |
---|---|
PHP | ^8.0.0 |
Laravel | ^8.22.1 , ^9.0.0 |
Installation
# Everything composer require lastdragon-ru/lara-asp # Specific package (where "core" the package name) composer require lastdragon-ru/lara-asp-core
Packages
The Core
This package contains useful utilities and classes.
GraphQL
This package provides highly powerful @searchBy
and @sortBy
directives for lighthouse-php. The @searchBy
directive provides basic conditions like =
, >
, <
, etc, relations, not (<condition>)
, enums, and custom operators support. All are strictly typed so you no need to use Mixed
type anymore. The @sortBy
is not only about standard sorting by columns but also allows use relations. 😎
The Migrator
This package improves standard laravel migrations to add support for raw SQL files during migration and seeding. So you can easily use your favorite visual tool for database development like MySQL Workbench with Laravel 🥳
Queue Helpers
This package provides additional capabilities for queued jobs and queued listeners like multilevel configuration support, job overriding (very useful for package development to provide base implementation and allow the application to extend it), easy define for cron jobs, and DI in constructor support.
Eloquent Helpers
This package contains useful extensions and mixins for Eloquent.
The Formatter
This package provides a customizable wrapper around Intl formatters.
Testing Helpers
This package provides various useful asserts for PHPUnit and alternative solution for HTTP tests - testing HTTP response has never been so easy! And this not only about TestResponse
but any PSR response 😎