⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
MIT License
Bot releases are hidden (Show)
$this
type for all Laravel macros automatically https://github.com/larastan/larastan/commit/fdc7d295320a2040d4e34a8e6c406dae5123b68d
whereNot
and orWhereNot
by @ganyicz in https://github.com/larastan/larastan/pull/1958
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.6...v2.9.7
Published by canvural 5 months ago
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
Published by canvural 6 months ago
sole
method to Relation
stubs - 56d71230713c9763ec559076f9cbaf793bd980ddModelAppendsRule
optional - 4834d0fFull Changelog: https://github.com/larastan/larastan/compare/v2.9.4...v2.9.5
Published by canvural 6 months ago
report
parameter in rescue
stub to match laravel by @carlalexander in https://github.com/larastan/larastan/pull/1911
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.3...v2.9.4
Published by canvural 6 months ago
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.2...v2.9.3
Published by canvural 8 months ago
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.1...v2.9.2
Published by canvural 8 months ago
withWhereHas
method to supported Eloquent Builder methods by @akinoriakatsuka in https://github.com/larastan/larastan/pull/1853
map
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
Published by canvural 8 months ago
toRawSql
, dumpRawSql
and ddRawSql
to QueryBuilder.stub
by @eusonlito in https://github.com/larastan/larastan/pull/1823
cursor
method by @calebdw in https://github.com/larastan/larastan/pull/1825
first
not checking model properties by @calebdw in https://github.com/larastan/larastan/pull/1845
Full Changelog: https://github.com/larastan/larastan/compare/v2.8.1...v2.9.0
Published by canvural 10 months ago
ModelFindExtension
: b7cc6a29c457a7d4f3de90466392ae9ad3e17022Full Changelog: https://github.com/larastan/larastan/compare/v2.8.0...v2.8.1
Published by canvural 10 months ago
one
methods by @calebdw in https://github.com/larastan/larastan/pull/1785
Full Changelog: https://github.com/larastan/larastan/compare/v2.7.0...v2.8.0
Published by canvural 11 months ago
With this release Larastan is moved to the Larastan organization. Please refer to the upgrade guide for more details: Upgrade Guide.
Published by canvural 11 months ago
retry()
helper stub to accept callable as $sleepMilliseconds
by @Plytas in https://github.com/nunomaduro/larastan/pull/1698
FormRequest::validated
by @fyrts in https://github.com/nunomaduro/larastan/pull/1723
Full Changelog: https://github.com/nunomaduro/larastan/compare/v2.6.4...v2.6.5
Published by canvural about 1 year ago
foreignIdFor
fields by @sanfair in https://github.com/nunomaduro/larastan/pull/1660
when
method by @rovansteen in https://github.com/nunomaduro/larastan/pull/1604
Full Changelog: https://github.com/nunomaduro/larastan/compare/v2.6.3...v2.6.4
Published by canvural over 1 year ago
query
static method was called on Expr
: https://github.com/nunomaduro/larastan/commit/eb31ffa9b5a755bd9ca2973aa93027e71c855d05
Full Changelog: https://github.com/nunomaduro/larastan/compare/v2.6.2...v2.6.3
Published by canvural over 1 year ago
Full Changelog: https://github.com/nunomaduro/larastan/compare/v2.6.1...v2.6.2
Published by canvural over 1 year ago
Published by canvural over 1 year ago
Illuminate\Database\Query\Builder::pluck()
in stubs/QueryBuilder.stub by @Quarkay in https://github.com/nunomaduro/larastan/pull/1612
Full Changelog: https://github.com/nunomaduro/larastan/compare/2.5.2...v2.6.0
Published by szepeviktor over 1 year ago
transform
callable argument is never null by @erikgaal in https://github.com/nunomaduro/larastan/pull/1585
Tappable
stub by @erikgaal in https://github.com/nunomaduro/larastan/pull/1586
Full Changelog: https://github.com/nunomaduro/larastan/compare/2.5.1...2.5.2
Published by canvural over 1 year ago
getObjectClassNames
(https://github.com/nunomaduro/larastan/commit/072e2c9566ae000bf66c92384fc933b81885244b)Full Changelog: https://github.com/nunomaduro/larastan/compare/2.5.0...2.5.1
Published by canvural over 1 year ago
$app->bootstrapPath()
insteads of $app->basePath()
by @crynobone in https://github.com/nunomaduro/larastan/pull/1545
Full Changelog: https://github.com/nunomaduro/larastan/compare/2.4.1...2.5.0