Download the PHP package abdulmajidcse/laravel-code-mask without Composer
On this page you can find all versions of the php package abdulmajidcse/laravel-code-mask. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download abdulmajidcse/laravel-code-mask
More information about abdulmajidcse/laravel-code-mask
Files in abdulmajidcse/laravel-code-mask
Package laravel-code-mask
Short Description This is a simple Laravel package that help you to manipulate your data.
License MIT
Informations about the package laravel-code-mask
Laravel Code Mask
This is a simple Laravel package that help you to manipulate your data.
Requirements
- PHP >=7.4 | >=8.0
- Laravel >= 8.0 | >= 9.0 | >= 10.0 | >= 11.0
Installation
Optional: The service provider will automatically get registered. Or you may manually add the service provider.
-
For Laravel v10 or lower (In your config/app.php file).
- For Laravel v11 or upper (In your bootstrap/providers.php file).
Optional: The aliases will automatically get registered. Or you may manually add the aliases in your config/app.php file.
Usage
You'll see code example so that you can guess where you have to use it.
Hide String
Sometimes, you need to hide phone, email or any other text with your special letter like 12****90. For this type of tasks, you can follow below code sample.
Generate ID
Suppose, you have to generate an ID or any other string based ID with a special format. To do this, you can follow below code sample.
Money Format
Suppose, you have a number that need to format with your country money format. To do this, you can follow below code sample.
All versions of laravel-code-mask with dependencies
laravel/framework Version ^8.0|^9.0|^10.0|^11.0
abdulmajidcse/code-mask Version ^1.0.1