Download the PHP package mlsolutions/masked-field without Composer

On this page you can find all versions of the php package mlsolutions/masked-field. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package masked-field

Laravel Nova Masked Field

Docker development

Build the development container:

Install PHP and JavaScript dependencies. Run Composer first because the frontend build imports Nova mixins from vendor/laravel/nova:

Build or watch the Nova field assets:

If your host user is not UID/GID 1000, pass your IDs when building so generated files are writable outside the container:

This package depends on laravel/nova, so composer install may require your Nova Composer credentials.

Installation

Basic Usage

To use the Laravel Nova Masked Field, follow these steps:

  1. Import the MaskedField class in your Nova resource file:

  2. Add the MaskedField to the fields method of your resource file:

  3. Optional - Save Value Without Mask
    If you want to store the raw (unmasked) value in the database, use the raw() method:

masked-field-demo

Usage with dependsOn

You can also use the dependsOn method to set a conditional mask based on the value of another field. Here's an example:

On Laravel Nova 5, this field emits value changes through Nova's dependent field flow, so it can both react to dependsOn updates and be used as the source field for other dependent fields.

Mask syntax

The Laravel Nova Masked Field uses a mask syntax to define patterns for input formatting. Here are the default tokens available:

You can refer to the beholdr/maska repository for more information on the mask syntax.

References

Notice Regarding Nova License

Hey everyone,

My Nova license expired in November 2023 for version v4.29.2, which is the last version I have access to. Currently, I don't have plans to renew it, so unfortunately, I won't be able to assist with issues related to updates or newer Nova features. Feel free to seek alternative support or solutions with other users or maintainers.

Thank you for your understanding.


All versions of masked-field with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
laravel/nova Version ^4.0|^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mlsolutions/masked-field contains the following files

Loading the files please wait ...