Download the PHP package raphaelcangucu/laravel-crypto-address-validator without Composer
On this page you can find all versions of the php package raphaelcangucu/laravel-crypto-address-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download raphaelcangucu/laravel-crypto-address-validator
More information about raphaelcangucu/laravel-crypto-address-validator
Files in raphaelcangucu/laravel-crypto-address-validator
Package laravel-crypto-address-validator
Short Description Laravel package for validating cryptocurrency wallet addresses across multiple coins
License MIT
Homepage https://github.com/raphaelcangucu/laravel-crypto-address-validator
Informations about the package laravel-crypto-address-validator
Laravel Crypto Address Validator
A Laravel package for validating cryptocurrency wallet addresses across multiple blockchains. Built on top of the multicoin-address-validator library.
Features
- 25+ Cryptocurrencies Supported: Bitcoin, Ethereum, Cardano, Solana, XRP, Litecoin, Bitcoin Cash, and many more
- Network Support: Mainnet, testnet, and stagenet validation
- Laravel Integration: Service provider, facade, and dependency injection support
- Flexible Configuration: Customizable validation rules and options
- High Performance: Optimized for speed and accuracy
- Comprehensive Testing: 100% test coverage with extensive test suite
Supported Cryptocurrencies
Bitcoin (BTC), Ethereum (ETH), Cardano (ADA), Solana (SOL), XRP, Litecoin (LTC), Bitcoin Cash (BCH), Monero (XMR), TRON (TRX), Polkadot (DOT), Dogecoin (DOGE), Chainlink (LINK), Polygon (MATIC), Avalanche (AVAX), Cosmos (ATOM), Tezos (XTZ), VeChain (VET), Algorand (ALGO), Hedera (HBAR), NEAR Protocol (NEAR), Filecoin (FIL), The Graph (GRT), Stellar (XLM), EOS, IOTA, and all ERC-20 tokens.
Installation
You can install the package via composer:
The package will automatically register its service provider.
You can publish the config file with:
This is the contents of the published config file:
Usage
Facade Usage
Dependency Injection
Validation in Form Requests
Custom Validation Rule
You can create a custom validation rule:
Usage:
Advanced Usage
Validation Options
Getting Currency Information
Access Underlying Validator
Testing
Performance
The package is optimized for high performance:
- Fast validation: Uses native cryptocurrency validation algorithms
- No external dependencies: All validation is done locally
- Minimal dependencies: Built on a lightweight foundation
- Memory efficient: Low memory footprint even with large validation sets
Error Handling
The package handles errors gracefully:
Security
- Input validation: All inputs are properly validated and sanitized
- No external API calls: All validation is done locally for security and performance
- Safe error handling: Errors don't expose sensitive information
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Raphael Cangucu
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-crypto-address-validator with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0
raphaelcangucu/multicoin-address-validator Version ^1.1