NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1446 most downloaded on Packagist
Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel
Latest stable
v3.14.0
Last release 19 days ago
03 Nov 2026
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
195 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
The new Arr::get() and Arr::pull() key check is enabled by default. Calls with definitely missing keys now report offsetAccess.notFound , including ca
The new Arr::get() and Arr::pull() key check is enabled by default. Calls with definitely missing keys now report offsetAccess.notFound, including calls that provide a default value. PHP, Laravel, and PHPStan requirements are unchanged.
Arr::get() and Arr::pull(), including dot notation and default values, and track array keys removed by Arr::pull(), by @canvural in #2635.Arr::get() and Arr::pull() by @canvural in #2635.redisDriver override, by @canvural in #2626.@return PHPDocs using that file's imports, and avoid incorrect inference for missing keys or files with multiple returns, by @canvural in f0e6e1c, 73cd4c3, and 10e955b.env()'s possible return types when its default is null and generalizeEnvReturnType is enabled by @canvural in bfcc01e.Arrayable<TKey, TValue> types in toArray() and correct model array key types by @liamduckett in #2254.newCollection() methods by @ybai08 in #2604.FormRequest::safe() by @aran112000 in #2637.value(), preserving other callable values, by @APX403 in #2632.#[UseEloquentBuilder] from parent models and traits on Laravel 13.31 and newer by @APX403 in #2621.groupBy calls by @mkantautas in #2620.paginate() by @mkantautas in #2619.Cursor object in relation cursorPaginate() calls by @mkantautas in #2627.fillAndInsert(), fillAndInsertOrIgnore(), fillAndInsertGetId(), and fillForInsert() by @uchimaki-vensley in #2601.TypeNode API by @Xauele in 1509cc6.FunctionCallParametersCheck API by @canvural in #2633.Full Changelog: v3.13.2...v3.14.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Read CREATE TABLE statements passed as string literals to DB::statement() and DB::unprepared() in migrations, using the same SQL parsers as schema dum
CREATE TABLE statements passed as string literals to DB::statement() and DB::unprepared() in migrations, using the same SQL parsers as schema dumps, by @tiagoabsantos in #2564. Read more about it here.Arr::map() callback parameter types and the mapped array type by @Gabrieljr42 in #2587.fill() and forceFill() by @uchimaki-vensley in #2618.withAttributes() by @uchimaki-vensley in #2599.forceCreateMany() and forceCreateManyQuietly() by @uchimaki-vensley in #2600.created_at instead of always reading them as dates by @canvural in 453bff0.AsEnumCollection and AsEnumArrayObject casts by @lazerg in #2590.int|false from model increment() and decrement(), since an updating listener can cancel the update, by @canvural in 0293dbc.factory() from the HasFactory generic, including models that set their factory with the $factory property or #[UseFactory], by @mkantautas in #2615 and @canvural in 6dfe581.class-string<T>, such as $class::findOrFail($id), by @mkantautas in #2616.#[CollectedBy] from parent models on Laravel 13.4 and newer by @APX403 in #2586. Read more about it here.when() and unless() on a relation by @APX403 in #2603.with(), withOnly(), load(), and loadMissing() by @lazerg in #2583.ulidMorphs(), numericMorphs(), and their nullable variants in migrations by @mkantautas in #2614.rememberToken() columns as nullable by @lazerg in #2611.EventFake methods such as dispatched() and hasDispatched() on the Event facade by @lazerg in #2574.QueueFake methods such as pushed() and hasPushed() on the Queue facade by @canvural in 9c1d4f4.request, and config injection in OctaneCompatibilityRule through any constructor argument, make(), get(), and makeWith() calls, and class-string references by @Gabrieljr42 in #2609.NoEnvCallsOutsideOfConfigRule false positives when a config file is analysed in editor mode by @billypoke in #2482.view() helper when detecting unused views, and report static::make(), self::make(), and parent::make() in NoModelMakeRule, by @GTS-MEGHNI in #2598.Full Changelog: v3.13.1...v3.13.2
Type argument() and option() calls and check argument and option names in commands registered through the console kernel, including the kernel's $comm
argument() and option() calls and check argument and option names in commands registered through the console kernel, including the kernel's $commands property, withCommands(), and app/Console/Commands on Laravel 13.36 and newer, by @robsonek in #2585.map() and mapWithKeys() on Eloquent collections again, so mapped values are no longer mixed, by @canvural in dea9faf.incrementEach() and decrementEach() by @uchimaki-vensley in #2573.incrementOrCreate() by @uchimaki-vensley in #2581.incrementOrCreate() on Laravel 13.35 and newer by @uchimaki-vensley in #2593.findSole() and findOr() by @uchimaki-vensley in #2591.upsert() by @uchimaki-vensley in #2592.filter(), reject(), and whereNotNull() inside a nullsafe chain by @SanderMuller in #2584.Full Changelog: v3.13.0...v3.13.1
Larastan 3.13.0 requires PHPStan 2.3.0 or newer within the 2.x series. Update PHPStan alongside Larastan when upgrading. The PHP and Laravel requireme
Larastan 3.13.0 requires PHPStan 2.3.0 or newer within the 2.x series. Update PHPStan alongside Larastan when upgrading. The PHP and Laravel requirements are unchanged.
relation-of<Model, Relationship> and infer concrete relationship types in eager-loading arrays passed to with(), withOnly(), load(), and loadMissing() by @canvural in #2562.concat(), merge(), shift(), and splice(), by @canvural in #2562.with(['posts:id' => $callback]), by @canvural in #2562.toBase(), including passthru return types, by @Wirone in #2575.Full Changelog: v3.12.3...v3.13.0
Preserve collection key types in Eloquent queries and paginators, with an optional key type in collection-of , by @canvural in 397c6df . Read more abo
collection-of, by @canvural in 397c6df. Read more about it here.chunk() and each() callback types on BelongsToMany and through relations, including pivot types, by @canvural in 726e7a8forceCreateQuietly() by @midhunmonachan in #2558save() options such as touch instead of model properties by @Cayan in #2561configDirectories by @canvural in f9b491b, fe7154bconfig() by @canvural in f2a79f7$this in where() and global scope methods on Eloquent builders by @SanderMuller in #2567BuilderHelper by @haratake22 in #2553Full Changelog: v3.12.2...v3.12.3
Improve unused view detection for mail content, Mail::send() , concatenated view names, and slash-separated Blade view names by @FeBe95 in #2479
Mail::send(), concatenated view names, and slash-separated Blade view names by @FeBe95 in #2479sum() calls by @canvural in 6f44183NOT NULL as nullable by @canvural in 29c3d08Builder<Model> when a relationship path cannot be followed through an unknown model by @MizouziE in #2549incrementEach() assertions by Laravel version by @canvural in 79091adFull Changelog: v3.12.1...v3.12.2
Preserve custom builder types in relation count queries and BelongsToMany::firstWhere() callbacks by @canvural in 2e561c8
BelongsToMany::firstWhere() callbacks by @canvural in 2e561c8concat() key type expectation by @canvural in 7cf994bFull Changelog: v3.12.0...v3.12.1
Extend view-string coverage to more view-name signatures by @maks-oleksyuk in #2513 . Read more about it here .
view-string coverage to more view-name signatures by @maks-oleksyuk in #2513. Read more about it here.checkUnusedViews by @G4Zz0L1 in #2519. Read more about it here.ResponseInterface mixin to the HTTP client Response stub by @ramonrietdijk in #2428builder-of<Model> custom PHPDoc type by @canvural in #2374. Read more about it here.toArray() and attributesToArray() calls by @canvural in 75ea2fd. Read more about it here.Content constructors by @canvural in 43f9cae. Read more about it here.builder-of by @canvural in 62342c8. Read more about it here.static in the newQuery() method family on non-final models by @yeapea in #2544builder-of by @canvural in a23d0c9setCollection() by @canvural in f336303. Read more about it here.$with and $withCount defaults by @canvural in 99a3b0e. Read more about it here.Add agent contributor guidelines by @canvural in 7eec466, a63e66c, d8987c5, dcfa93b
Fix where callback test compatibility with older PHPStan versions by @canvural in ab26fdf
Full Changelog: v3.11.0...v3.12.0
Important Migration caching is now enabled by default. This should not affect analysis results and should make subsequent runs faster. If you notice u
Important
Migration caching is now enabled by default. This should not affect analysis results and should make subsequent runs faster. If you notice unexpected behavior, you can disable it:
parameters:
enableMigrationCache: falseHasParameters stub by @canvural in ef28a38getCasts and getTouchedRelations return types by @dfinchenko in #2497AbstractPaginator::getCollection() as an Eloquent collection for model values by @szepeviktor in #2528createQuietly() to EloquentBuilder.stub by @Mr-Offline in #2523getAppends and getMutatedAttributes return types by @dfinchenko in #2499View facade by @canvural in 9baa740getCountForPagination passthru at call time by @lazerg in #2535nullableTimestampsTz in the schema aggregator by @lazerg in #2506BuilderHelper::$passthru with Eloquent Builder by @alexkart in #2533ext-json Composer dependency by @maks-oleksyuk in #2514Full Changelog: v3.10.0...v3.11.0
[!IMPORTANT] Migration caching is now enabled by default. This should not affect analysis results and should make subsequent runs faster. If you notice unexpected behavior, you can disable it:
parameters: enableMigrationCache: false
HasParameters stub by @canvural in https://github.com/larastan/larastan/commit/ef28a38804063c0e26deb18680d964e723048f3dgetCasts and getTouchedRelations return types by @dfinchenko in https://github.com/larastan/larastan/pull/2497AbstractPaginator::getCollection() as an Eloquent collection for model values by @szepeviktor in https://github.com/larastan/larastan/pull/2528createQuietly() to EloquentBuilder.stub by @Mr-Offline in https://github.com/larastan/larastan/pull/2523getAppends and getMutatedAttributes return types by @dfinchenko in https://github.com/larastan/larastan/pull/2499View facade by @canvural in https://github.com/larastan/larastan/commit/9baa74074f17cc70feaef31616a06ea0faeebba5getCountForPagination passthru at call time by @lazerg in https://github.com/larastan/larastan/pull/2535nullableTimestampsTz in the schema aggregator by @lazerg in https://github.com/larastan/larastan/pull/2506BuilderHelper::$passthru with Eloquent Builder by @alexkart in https://github.com/larastan/larastan/pull/2533ext-json Composer dependency by @maks-oleksyuk in https://github.com/larastan/larastan/pull/2514Full Changelog: https://github.com/larastan/larastan/compare/v3.10.0...v3.11.0
Update codestyle check to latest version by @jnoordsij in #2484
where method on collections by @jnoordsij in #2483Full Changelog: v3.9.6...v3.10.0
where method on collections by @jnoordsij in https://github.com/larastan/larastan/pull/2483Full Changelog: https://github.com/larastan/larastan/compare/v3.9.6...v3.10.0
Improve blade view parsing for NoMissingTranslationsRule by @FeBe95 in #2476
NoMissingTranslationsRule by @FeBe95 in https://github.com/larastan/larastan/pull/2476Full Changelog: https://github.com/larastan/larastan/compare/v3.9.5...v3.9.6
fix: fix infinite loop when Redis extension is missing
refactor: create new extensions out of old pipeline based approach by @canvural in #2448
ENUM types in squashed migrations by @FeBe95 in #2454Full Changelog: v3.9.3...v3.9.4
ENUM types in squashed migrations by @FeBe95 in https://github.com/larastan/larastan/pull/2454Full Changelog: https://github.com/larastan/larastan/compare/v3.9.3...v3.9.4
feat: allow Laravel 13 by @canvural in #2446
Full Changelog: v3.9.2...v3.9.3
Full Changelog: https://github.com/larastan/larastan/compare/v3.9.2...v3.9.3
Improve type inference for MySQL ENUM types in squashed migrations by @ngmy in #2434
ENUM types in squashed migrations by @ngmy in https://github.com/larastan/larastan/pull/2434Full Changelog: https://github.com/larastan/larastan/compare/v3.9.1...v3.9.2
[3.x] Update PendingRequest stubs by @ramonrietdijk in #2432
Full Changelog: v3.9.0...v3.9.1
Full Changelog: https://github.com/larastan/larastan/compare/v3.9.0...v3.9.1
feat: Add stubs for Cache facade by @melvinversluijs in #2420
enableMigrationCache option, disabled by default) in 9b35634d and 82c1889 Read more about it hereparseModelCastsMethod option for better cast inference in afd59445 Read more about it here:Full Changelog: v3.8.1...v3.9.0
enableMigrationCache option, disabled by default) in https://github.com/larastan/larastan/commit/9b35634d and https://github.com/larastan/larastan/commit/82c18890d0d5b012bc39a3432531e5b6cd1b4b3a Read more about it hereparseModelCastsMethod option for better cast inference in https://github.com/larastan/larastan/commit/afd59445 Read more about it here:Full Changelog: https://github.com/larastan/larastan/compare/v3.8.1...v3.9.0
Run tests on PHP 8.5 by @jnoordsij in #2382
PendingRequest generic 9b7eccdFull Changelog: v3.8.0...v3.8.1
PendingRequest generic https://github.com/larastan/larastan/commit/9b7eccd2ea3b0c741b318413d7341667f138aae5Full Changelog: https://github.com/larastan/larastan/compare/v3.8.0...v3.8.1
chore: phpunit hasProperty/getProperty deprecations by @calebdw in #2379
Larastan can now detect automatically if you have phpmyadmin/sql-parser package and use that to parse your squashed database migrations. This parser package has better support for different SQL keywords. Note: The package has GPL 2 license. Meaning if you install it and distribute your app with it you also need to have GPL 2 licensed application. But generally this is not a problem because you should install Larastan and the sql-parser package as a development dependency and remove these development dependencies while deploying your application to production.
non-negative-int 52aa393Full Changelog: v3.7.2...v3.8.0
feat: new collection-of custom PHPDoc type by @canvural in https://github.com/larastan/larastan/pull/2369
Full Changelog: https://github.com/larastan/larastan/compare/v3.7.1...v3.7.2
[3.x] Add support for translations in subdirectories by @ramonrietdijk in https://github.com/larastan/larastan/pull/2363
Full Changelog: https://github.com/larastan/larastan/compare/v3.7.0...v3.7.1
Add support for public const in Schema table names by @riasvdv in https://github.com/larastan/larastan/pull/2315
public const in Schema table names by @riasvdv in https://github.com/larastan/larastan/pull/2315TDeclaringModel to code snippet by @ramonrietdijk in https://github.com/larastan/larastan/pull/2349NoMissingTranslationsRule by @ramonrietdijk in https://github.com/larastan/larastan/pull/2340NoPublicModelScopeAndAccessorRuleFull Changelog: https://github.com/larastan/larastan/compare/v3.6.1...v3.7.0
[3.x] Only check existing views by @ramonrietdijk in https://github.com/larastan/larastan/pull/2337
Full Changelog: https://github.com/larastan/larastan/compare/v3.6.0...v3.6.1
Fixed PHPUnit deprecations https://github.com/larastan/larastan/commit/6431d010dd383a9279eb8874a76ddb571738564a
getCountForPagination as a pass-thru for Laravel versions >= 12.15 by @cosmastech in https://github.com/larastan/larastan/pull/2301Config::collection() calls (only for Laravel >= 12.20.0) Note: Needs checkConfigTypes parameter to be enabled in the config.NoAuthFacadeInRequestScopeRule and NoAuthHelperInRequestScopeRule Read more about it hereConfigCollectionRule to warn you if you pass a config option that is not an array to Config::collection call. Note: Needs checkConfigTypes parameter to be enabled in the config.pluck on collections with closures. (only for Laravel >= 12.20.0) https://github.com/larastan/larastan/commit/fd16758f1097b66c81a91db5cd04078880c976d0Full Changelog: https://github.com/larastan/larastan/compare/v3.5.0...v3.6.0
feat: add support for UseEloquentBuilder attribute by @canvural in https://github.com/larastan/larastan/pull/2302
NoEnvCallsOutsideOfConfigRule by @sertxudev in https://github.com/larastan/larastan/pull/2298Full Changelog: https://github.com/larastan/larastan/compare/v3.4.2...v3.5.0
Add fallback to existing classes/interfaces for improved type resolution by @AJenbo in https://github.com/larastan/larastan/pull/2223
Full Changelog: https://github.com/larastan/larastan/compare/v3.4.1...v3.4.2
fix(docs): correct markdown list numbering in contribution steps by @AhmedHdeawy in https://github.com/larastan/larastan/pull/2269
Full Changelog: https://github.com/larastan/larastan/compare/v3.4.0...v3.4.1
This release includes bunch of new features that will help you fix some PHPStan level 7 errors 💪🏽
This release includes bunch of new features that will help you fix some PHPStan level 7 errors 💪🏽
chunkWhile stubLangGetReturnTypeExtension extension and 64d7afe06f6bf24e0c3c75c48dd0fac456b68a6bApp facade environment methodInteractsWithInput stubFormRequestSafeDynamicMethodReturnTypeExtensionCookie::get methodgeneralizeEnvReturnType config option and extension ✨ Read more about it here.config return types: 31e3302b4d5597b83bd85afd0f83b3e336623569, 1640954d16c54fa8d4d59c2736938846a13b14f2, 8787a14d546cf4a4afcd76f6d9bb3ffdc3e1311a, 3ea3de4498343331b7069b9c8e06a9eb42ab4d39 ✨ Read more about it here.value helper function: a532dacfd4a8a4b2ad98f9a46493695680305b7d, 412064409e308cc4bbf400e3289da1f82e870e38config and env function default arg can be Closureneon highlighting by @FeBe95 in https://github.com/larastan/larastan/pull/2258Full Changelog: https://github.com/larastan/larastan/compare/v3.3.1...v3.4.0
feat: support Scope attribute in Laravel 12.4 by @calebdw in https://github.com/larastan/larastan/pull/2244
Full Changelog: https://github.com/larastan/larastan/compare/v3.3.0...v3.3.1
[3.x] fix: remove use of deprecated isSubclassOf() method by @calebdw in https://github.com/larastan/larastan/pull/2232
Full Changelog: https://github.com/larastan/larastan/compare/v3.2.0...v3.3.0
Replaces phpmyadmin/sql-parser by iamcal/sql-parser.
phpmyadmin/sql-parser by iamcal/sql-parser.Full Changelog: https://github.com/larastan/larastan/compare/v3.1.0...v3.2.0
[3.x] deps: support Laravel 12.x by @calebdw in https://github.com/larastan/larastan/pull/2195
Full Changelog: https://github.com/larastan/larastan/compare/v3.0.4...v3.1.0
Latest PHPStan version compatibility
Latest PHPStan version compatibility
Full Changelog: https://github.com/larastan/larastan/compare/v3.0.3...v3.0.4
Improve parameter of QueryBuilder::get by @markwalet in https://github.com/larastan/larastan/pull/2131
Full Changelog: https://github.com/larastan/larastan/compare/v3.0.2...v3.0.3
Updated minimum required PHPStan version to 2.0.2
Updated minimum required PHPStan version to 2.0.2
Full Changelog: https://github.com/larastan/larastan/compare/v3.0.1...v3.0.2
Fix typo in address #2125 by @spoyntersmith in https://github.com/larastan/larastan/pull/2130
Also changes from 2.9.12
Full Changelog: https://github.com/larastan/larastan/compare/v3.0.0...v3.0.1
This release adds compability with PHPStan 2 and drops support for Laravel versions < 11
This release adds compability with PHPStan 2 and drops support for Laravel versions < 11
Please make sure you read the both PHPStan's and Larastan's upgrade guides!
Notable changes:
Add fallback to existing classes/interfaces for improved type resolution by @AJenbo in https://github.com/larastan/larastan/pull/2223
Full Changelog: https://github.com/larastan/larastan/compare/v3.4.1...v3.4.2
Request post and query can return array b94eb6d115983951e20f88a7c3667dbf8f062ff9 (https://github.com/larastan/larastan/pull/2270) by @rikvdh
post and query can return array b94eb6d115983951e20f88a7c3667dbf8f062ff9 (https://github.com/larastan/larastan/pull/2270) by @rikvdhFull Changelog: https://github.com/larastan/larastan/compare/v2.11.0...v2.11.1
This release includes bunch of new features that will help you fix some PHPStan level 7 errors 💪🏽
This release includes bunch of new features that will help you fix some PHPStan level 7 errors 💪🏽
LangGetReturnTypeExtension extensionApp facade environment methodInteractsWithInput stubFormRequestSafeDynamicMethodReturnTypeExtensionCookie::get methodgeneralizeEnvReturnType config option and extensioncheckConfigTypes config parameter and ConfigFunctionDynamicFunctionReturnTypeExtension and ConfigGetDynamicMethodReturnTypeExtension and ignore callable constant strings Read more about it here.value helper and check for callable instead of closureconfig and env function default arg can be ClosureFull Changelog: https://github.com/larastan/larastan/compare/v2.10.0...v2.11.0
Replaces phpmyadmin/sql-parser by iamcal/sql-parser.
phpmyadmin/sql-parser by iamcal/sql-parser.Full Changelog: https://github.com/larastan/larastan/compare/v2.9.14...v2.10.0
Latest PHPStan version compatibility
Latest PHPStan version compatibility
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.13...v2.9.14
[2.x] Improve parameter of QueryBuilder::get by @markwalet in https://github.com/larastan/larastan/pull/2132
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.12...v2.9.13
Dynamically determine return type for Collection::reject by @spawnia in https://github.com/larastan/larastan/pull/2107
Collection::reject by @spawnia in https://github.com/larastan/larastan/pull/2107Full Changelog: https://github.com/larastan/larastan/compare/v2.9.11...v2.9.12
fix: improve PHPDoc for find method of QueryBuilder to support FETCH_ASSOC by @kayw-geek in https://github.com/larastan/larastan/pull/2081
Builder<*> by @calebdw in https://github.com/larastan/larastan/pull/2099orchestra/testbench-core instead of orchestra/testbench by @crynobone in https://github.com/larastan/larastan/pull/2105Full Changelog: https://github.com/larastan/larastan/compare/v2.9.10...v2.9.11
Support for the new CollectedBy attribute https://github.com/larastan/larastan/commit/f43e0c4b57137f8a4e80fd729fd64ecf05b7a556
CollectedBy attribute https://github.com/larastan/larastan/commit/f43e0c4b57137f8a4e80fd729fd64ecf05b7a556unique collection method return type https://github.com/larastan/larastan/commit/f97d92eec5ee060d0d94158d058d99d3061f8e90Enumerable:make method return typeFull Changelog: https://github.com/larastan/larastan/compare/v2.9.9...v2.9.10
Add typehint to env when specifying default value by @bram-pkg in https://github.com/larastan/larastan/pull/1995
env when specifying default value by @bram-pkg in https://github.com/larastan/larastan/pull/1995ParametersAcceptorSelector::selectSingle by @staabm in https://github.com/larastan/larastan/pull/2054Full Changelog: https://github.com/larastan/larastan/compare/v2.9.8...v2.9.9
Add missing or incorrect type hints to QueryBuilder by @MrMeshok in https://github.com/larastan/larastan/pull/1923
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.7...v2.9.8
Specify $this type for all Laravel macros automatically https://github.com/larastan/larastan/commit/fdc7d295320a2040d4e34a8e6c406dae5123b68d
$this type for all Laravel macros automatically https://github.com/larastan/larastan/commit/fdc7d295320a2040d4e34a8e6c406dae5123b68dwhereNot and orWhereNot by @ganyicz in https://github.com/larastan/larastan/pull/1958Full Changelog: https://github.com/larastan/larastan/compare/v2.9.6...v2.9.7
Support for Laravel 11 casts method in https://github.com/larastan/larastan/commit/66db15f82209d971e9bcca99ea3b2cb031be9d52
casts method in https://github.com/larastan/larastan/commit/66db15f82209d971e9bcca99ea3b2cb031be9d52[!IMPORTANT]
Make sure you read the upgrade guide on this topic to learn how you can correctly use this feature.
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.5...v2.9.6
added sole method to Relation stubs - 56d71230713c9763ec559076f9cbaf793bd980dd
sole method to Relation stubs - 56d71230713c9763ec559076f9cbaf793bd980ddModelAppendsRule optional - 4834d0fFull Changelog: https://github.com/larastan/larastan/compare/v2.9.4...v2.9.5
feat: create model appends rule by @calebdw in https://github.com/larastan/larastan/pull/1838
report parameter in rescue stub to match laravel by @carlalexander in https://github.com/larastan/larastan/pull/1911Full Changelog: https://github.com/larastan/larastan/compare/v2.9.3...v2.9.4
fix: subquery ordering by @calebdw in https://github.com/larastan/larastan/pull/1875
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.2...v2.9.3
feat: return all auth models when no guard is specified by @calebdw in https://github.com/larastan/larastan/pull/1848
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.1...v2.9.2
Add support for restoreOrCreate and createOrRestore SoftDelete macros. by @mad-briller in https://github.com/larastan/larastan/pull/1859
withWhereHas method to supported Eloquent Builder methods by @akinoriakatsuka in https://github.com/larastan/larastan/pull/1853map and mapWithKeys methods of Eloquent collection returns a Eloquent collection if model is returned from the callback 097a2d29409e5568166b66a3b703e2f7a2491931Full Changelog: https://github.com/larastan/larastan/compare/v2.9.0...v2.9.1
To avoid PHPUnit deprecations, add the 'static' keyword to the method by @Hikaru-Giannis in https://github.com/larastan/larastan/pull/1817
toRawSql, dumpRawSql and ddRawSql to QueryBuilder.stub by @eusonlito in https://github.com/larastan/larastan/pull/1823cursor method by @calebdw in https://github.com/larastan/larastan/pull/1825first not checking model properties by @calebdw in https://github.com/larastan/larastan/pull/1845Full Changelog: https://github.com/larastan/larastan/compare/v2.8.1...v2.9.0
check for macros on query builder too: 6e2729edb2ed97d1cfaecece59701f199177775c
ModelFindExtension: b7cc6a29c457a7d4f3de90466392ae9ad3e17022Full Changelog: https://github.com/larastan/larastan/compare/v2.8.0...v2.8.1
feat: Support addColumn in migration helper by @nikolicaleksa in https://github.com/larastan/larastan/pull/1808
one methods by @calebdw in https://github.com/larastan/larastan/pull/1785Full Changelog: https://github.com/larastan/larastan/compare/v2.7.0...v2.8.0
With this release Larastan is moved to the Larastan organization. Please refer to the upgrade guide for more details: Upgrade Guide.
With this release Larastan is moved to the Larastan organization. Please refer to the upgrade guide for more details: Upgrade Guide.
Changed retry() helper stub to accept callable as $sleepMilliseconds by @Plytas in https://github.com/nunomaduro/larastan/pull/1698
retry() helper stub to accept callable as $sleepMilliseconds by @Plytas in https://github.com/nunomaduro/larastan/pull/1698FormRequest::validated by @fyrts in https://github.com/nunomaduro/larastan/pull/1723Full Changelog: https://github.com/nunomaduro/larastan/compare/v2.6.4...v2.6.5
One column per quarter.