Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Wallet Laravel Package

bavix/laravel-wallet

bavix/laravel-wallet is a Laravel package for working with virtual wallets, supporting transactions, deposits, withdrawals, and multi-wallet setups with a documented API.

View on GitHub
Deep Wiki
Context7
12.1.0

What's Changed

  1. No code changes are required. Perform new package migrations;

  2. Four redundant indexes are removed:

    • transactions.payable_type_payable_id_ind — a duplicate of the morphs() index;
    • transactions.payable_type_ind — a prefix of payable_type_confirmed_ind;
    • transactions.transactions_payable_type_payable_id_index — a prefix of payable_type_confirmed_ind;
    • wallets.wallets_holder_type_holder_id_index — a prefix of the unique (holder_type, holder_id, slug);
  3. Every removed index was a duplicate or a leading prefix of a wider one, so no query loses its access path. EXPLAIN on the hot wallet queries gives the same plans before and after (on mysql they are identical — the optimizer used payable_confirmed_ind anyway). Measured on 1M transactions and 200k wallets:

    mysql pgsql
    index size 685 → 329 MB (-52%) 265 → 156 MB (-41%)
    insert of 50k rows -63% time -32% time

    The gain is in write throughput and disk footprint, reads stay the same;

  4. If you have a highload project, drop the indexes yourself (pt-online-schema-change for mysql, DROP INDEX CONCURRENTLY for pgsql), then add both migration names to the migrations table so they are not executed again. For a small project php artisan migrate is enough;

New Contributors

Full Changelog: https://github.com/bavix/laravel-wallet/compare/12.0.5...12.1.0

11.5.2

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.5.1...11.5.2

12.0.5

What's Changed

New Contributors

Full Changelog: https://github.com/bavix/laravel-wallet/compare/12.0.4...12.0.5

12.0.4

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/12.0.3...12.0.4

12.0.2

What's Changed

New Contributors

Full Changelog: https://github.com/bavix/laravel-wallet/compare/12.0.1...12.0.2

12.0.1

What's Changed

New Contributors

Full Changelog: https://github.com/bavix/laravel-wallet/compare/12.0.0...12.0.1

12.0.0

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.5.0...12.0.0

11.5.0

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.4.3...11.5.0

11.4.3

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.4.2...11.4.3

11.4.2
11.4.1

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.4.0...11.4.1

11.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.3.0...11.4.0

11.3.0

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.2.2...11.3.0

11.2.2

What's Changed

Many thanks to the guys for finding the bug @ISNewton @usmanjdn7

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.2.1...11.2.2

10.1.7

What's Changed

Many thanks to the guys for finding the bug @ISNewton @usmanjdn7

Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.1.6...10.1.7

11.2.1

What's Changed

New Contributors

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.2.0...11.2.1

11.2.0

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.1.1...11.2.0

11.1.0
11.0.5
11.0.4

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.0.3...11.0.4

11.0.3

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.0.2...11.0.3

10.1.6

What's Changed

New Contributors

Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.1.5...10.1.6

11.0.2

What's Changed

New Contributors

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.0.1...11.0.2

11.0.1

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.0.0...11.0.1

11.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.1.5...11.0.0

10.1.4
9.6.4

What's Changed

  • added check for the existence of uuid in the wallet

Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.6.3...9.6.4

10.1.2

What's Changed

New Contributors

Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.1.1...10.1.2

9.6.3

What's Changed

New Contributors

Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.6.2...9.6.3

10.1.1

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.1.0...10.1.1

10.1.0

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.0.2...10.1.0

10.0.2

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.0.1...10.0.2

10.0.1

What's Changed

New Contributors

Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.0.0...10.0.1

10.0.0

Added

  • Added environment variables for cache and locks (WALLET_CACHE_DRIVER, WALLET_CACHE_TTL, WALLET_LOCK_DRIVER, WALLET_LOCK_TTL).
  • Transaction/transfer uuids added to External API.
  • Improved support for custom types with phpstan. Now you will find more errors.
  • Added the ability to buy for any wallet through the basket (receiving wallet).

Deprecated

  • Method deprecated BookkeeperServiceInterface::missing. Use BookkeeperServiceInterface::forget.

Deleted

  • Removed LockProviderNotFoundException.

Fixed

  • Fixed empty state bug.
  • Fixed return types in phpdoc, added strong typing.

Changed

  • Viewing a balance no longer creates a wallet. Solves problems with laravel nova. #658. Thank you @myounis97
  • Contract changed EagerLoaderServiceInterface. Added customer.
  • The to_type and from_type columns in the translation table are no longer used. Will be removed in 11.x.
  • For all transfers, the relationship type has been changed from MorphMany to HasMany.
  • Minimum php version 8.1.
  • Minimum laravel version 10.0.
  • Minimum doctrine/dbal version 3.5.
  • Minimum brick/math version 0.10.

What's Changed

Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.6.2...10.0.0

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
wandesnet/mercadopago-laravel
tsfcorp/email
larafony/core
laravel-enso/currencies
tartan/laravel-online-payment
gam/laravel-sat-catalogs
cloudcreativity/laravel-stripe
abdulelahragih/querybuilder
wedevbr/celcoin-laravel
surazdott/nepali-date
devsquad-cockpit/laravel
coding-socks/laravel-upload-handler
artisanbarista/laravel-shield
shopwwi/laravel-cache
instance-code/repository
flooris/prestashop-models
lab2view/laravel-generator
lenderspender/laravel-wizard
joecampo/laravel-notification-basecamp
square1/laravel-collection-rolling-average