lastdragon-ru / lara-asp
The Awesome Set of Packages for Laravel.
Requires
- php: ^8.2|^8.3
- ext-bcmath: *
- ext-dom: *
- ext-filter: *
- ext-intl: *
- ext-json: *
- ext-libxml: *
- ext-mbstring: *
- ext-xmlreader: *
- composer/semver: ^3.2
- doctrine/sql-formatter: ^1.1
- guzzlehttp/psr7: ^2.4.5
- http-interop/http-factory-guzzle: ^1.0.0
- illuminate/collections: ^10.34.0|^11.0.0
- illuminate/conditionable: ^10.34.0|^11.0.0
- illuminate/console: ^10.34.0|^11.0.0
- illuminate/container: ^10.34.0|^11.0.0
- illuminate/contracts: ^10.34.0|^11.0.0
- illuminate/database: ^10.34.0|^11.0.0
- illuminate/filesystem: ^10.34.0|^11.0.0
- illuminate/http: ^10.34.0|^11.0.0
- illuminate/macroable: ^10.34.0|^11.0.0
- illuminate/pagination: ^10.34.0|^11.0.0
- illuminate/process: ^10.34.0|^11.0.0
- illuminate/routing: ^10.34.0|^11.0.0
- illuminate/support: ^10.34.0|^11.0.0
- illuminate/testing: ^10.34.0|^11.0.0
- illuminate/translation: ^10.34.0|^11.0.0
- illuminate/validation: ^10.34.0|^11.0.0
- larastan/larastan: ^2.8.1
- league/commonmark: ^2.5.1
- league/config: ^1.1.1
- mockery/mockery: ^1.6.5
- nette/neon: ^3.4
- nikic/php-parser: ^5.0
- nuwave/lighthouse: ^6.5.0
- opis/json-schema: ^2.3.0
- phpdocumentor/type-resolver: ^1.7
- phpstan/phpdoc-parser: ^1.25
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.1.0|^11.0.0
- psr/http-message: ^1.0.0|^2.0.0
- sebastian/comparator: ^5.0|^6.0.0
- sebastian/exporter: ^5.0|^6.0.0
- symfony/console: ^6.3.0|^7.0.0
- symfony/deprecation-contracts: ^3.0.0
- symfony/filesystem: ^6.3.0|^7.0.0
- symfony/finder: ^6.3.0|^7.0.0
- symfony/http-foundation: ^6.3.0|^7.0.0
- symfony/http-kernel: ^6.3.0|^7.0.0
- symfony/mime: ^6.3.0|^7.0.0
- symfony/polyfill-php83: ^1.28
- symfony/property-access: ^6.3.0|^7.0.0
- symfony/property-info: ^6.3.9|^7.0.0
- symfony/psr-http-message-bridge: ^2.0.0|^6.4.0|^7.0.0
- symfony/serializer: ^6.4.0|^7.0.0
- symfony/var-dumper: ^6.3.0|^7.0.0
- webonyx/graphql-php: ^15.4.0
Requires (Dev)
- ext-pdo_sqlite: *
- bamarni/composer-bin-plugin: ^1.8
- composer/class-map-generator: ^1.0
- fakerphp/faker: ^1.21.0
- illuminate/cache: ^10.34.0|^11.0.0
- illuminate/config: ^10.34.0|^11.0.0
- laravel/scout: ^9.8.0|^10.0.0
- orchestra/testbench: ^8.0.0|^9.0.0
- phpstan/phpstan: 1.12.7
- phpstan/phpstan-mockery: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-strict-rules: ^1.5
- spaze/phpstan-disallowed-calls: ^3.0
Replaces
- lastdragon-ru/lara-asp-core: 7.0.0
- lastdragon-ru/lara-asp-dev: 7.0.0
- lastdragon-ru/lara-asp-documentator: 7.0.0
- lastdragon-ru/lara-asp-eloquent: 7.0.0
- lastdragon-ru/lara-asp-formatter: 7.0.0
- lastdragon-ru/lara-asp-graphql: 7.0.0
- lastdragon-ru/lara-asp-graphql-printer: 7.0.0
- lastdragon-ru/lara-asp-migrator: 7.0.0
- lastdragon-ru/lara-asp-serializer: 7.0.0
- lastdragon-ru/lara-asp-spa: 7.0.0
- lastdragon-ru/lara-asp-testing: 7.0.0
- dev-main
- 7.0.0
- 6.x-dev
- 6.4.2
- 6.4.1
- 6.4.0
- 6.3.0
- 6.2.0
- 6.1.0
- 6.0.0
- 5.x-dev
- 5.6.0
- 5.5.0
- 5.4.0
- 5.3.1
- 5.3.0
- 5.2.0
- 5.1.0
- 5.0.0
- 5.0.0-beta.1
- 5.0.0-beta.0
- 4.x-dev
- 4.6.0
- 4.5.2
- 4.5.1
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.1
- 4.2.0
- 4.1.0
- 4.0.0
- 3.0.0
- 2.x-dev
- 2.1.0
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.15.0
- 0.14.1
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.1
- 0.8.0
- 0.7.0
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- dev-refactor/providers-rename
- dev-dev/tools-update
- dev-feat/config-object-formatter
- dev-feat/config-object
This package is auto-updated.
Last update: 2024-11-18 07:43:48 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
Installation
Installation of the root lastdragon-ru/lara-asp
package is not recommended because it will install all packages, but some of them are intended to use while dev only (and may want dependencies like phpunit
/phpstan
/etc). So select the desired package and install it. You can find requirements and installation instructions (if any) inside package documentation.
# General case (where "<package>" the package name). composer require lastdragon-ru/lara-asp-<package>
Packages
(Laravel) Core
This package contains useful utilities and classes.
(Laravel) Documentator
This package provides various utilities for documentation generation such as Markdown Preprocessor, Requirements Dumper and more.
(Laravel) Eloquent Helpers
This package contains useful extensions and mixins for Eloquent.
(Laravel) GraphQL Extensions for Lighthouse
This package provides highly powerful @searchBy
, @sortBy
, @stream
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. 😎
(Laravel) Intl Formatter
This package provides a customizable wrapper around Intl formatters to use it inside Laravel application. And also allows defining own.
(Laravel) Raw SQL Migrator/Seeder
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 🥳
(Laravel) SPA Helpers
(Laravel) Symfony Serializer
This package provides a customizable wrapper around the Symfony Serializer Component to use it inside Laravel application.
(Laravel) Testing Helpers 🐝
This package provides various useful asserts for PHPUnit and better solution for HTTP tests - testing HTTP response has never been so easy! And this not only about TestResponse
but any PSR response 😎
Dev 🐝
Various internal tools and helpers to develop the package itself.
GraphQL Printer
Independent (from Laravel and Lighthouse) package that allow you to print GraphQL Schema and Queries in highly customized way eg you can choose indent size, print only used/wanted/all types, print only one type, print used/wanted/all directives (it is not possible with standard printer) and even check which types/directives are used in the Schema/Query.
Upgrading
Please follow Upgrade Guide.
Development
- Fork & clone
docker compose up
- ...
- Enjoy