Skip to content

Commit 94079bb

Browse files
committed
Add spatie/once package
1 parent 954e130 commit 94079bb

File tree

3 files changed

+66
-2
lines changed

3 files changed

+66
-2
lines changed

DOCS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
- [readable-numbers](https://github.com/laravel-ready/readable-numbers): Human readable numbers.
3030
- [ultimate-support](https://github.com/laravel-ready/ultimate-support): Useful helper collection.
3131
- [hasin](https://github.com/biiiiiigmonster/hasin): The 'hasin' is 'Relation Mixin' of 'Laravel ORM'. Replacement for some `has` and `whereHas` cases.
32+
- [once](https://github.com/spatie/once): A magic memoization function to cache the result of a function call.
3233

3334
- Code Analysis
3435
- [larastan](https://github.com/nunomaduro/larastan): Adds code analysis to Laravel improving developer productivity and code quality (PHPStan wrapper).

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"laravel/ui": "^4.0",
2424
"opcodesio/log-viewer": "^1.0",
2525
"spatie/laravel-data": "^1.5",
26-
"spatie/laravel-ignition": "1.2.3"
26+
"spatie/laravel-ignition": "1.2.3",
27+
"spatie/once": "^3.1"
2728
},
2829
"require-dev": {
2930
"barryvdh/laravel-debugbar": "^3.6",

composer.lock

Lines changed: 63 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)