Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-07-11 | 1.8 kB | |
v3.6.0 source code.tar.gz | 2025-07-11 | 102.2 kB | |
v3.6.0 source code.zip | 2025-07-11 | 212.6 kB | |
Totals: 3 Items | 316.6 kB | 0 |
Added 🪄
- [3.x]
getCountForPagination
as a pass-thru for Laravel versions >= 12.15 by @cosmastech in https://github.com/larastan/larastan/pull/2301 - [3.x] feat: add new rule to detect unnecessary Enumerable::toArray() calls by @calebdw in https://github.com/larastan/larastan/pull/2311 Read more about it here
- Accurate return types for
Config::collection()
calls (only for Laravel >= 12.20.0) Note: NeedscheckConfigTypes
parameter to be enabled in the config. - Two new rules that will warn if you can access the information through request instead of global function
NoAuthFacadeInRequestScopeRule
andNoAuthHelperInRequestScopeRule
Read more about it here ConfigCollectionRule
to warn you if you pass a config option that is not an array toConfig::collection
call. Note: NeedscheckConfigTypes
parameter to be enabled in the config.- Added support for calling
pluck
on collections with closures. (only for Laravel >= 12.20.0) https://github.com/larastan/larastan/commit/fd16758f1097b66c81a91db5cd04078880c976d0
Internal ⚙️
- Fixed PHPUnit deprecations https://github.com/larastan/larastan/commit/6431d010dd383a9279eb8874a76ddb571738564a
New Contributors
- @cosmastech made their first contribution in https://github.com/larastan/larastan/pull/2301
Full Changelog: https://github.com/larastan/larastan/compare/v3.5.0...v3.6.0