PHP code example of freshwork / rut-field
1. Go to this page and download the library: Download freshwork/rut-field library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
freshwork / rut-field example snippets
use Freshwork\RutField\RutField;
// ...
public function fields(Request $request)
{
return [
RutField::make('rut')->rules('
RutField::make('rut')->formatOnBlur();
RutField::make('rut')->formatComplete();
RutField::make('rut')->formatWithDash();
RutField::make('rut')->formatEscaped();
RutField::make('rut')->rules('
RutField::make('rut')->saveWithoutNormalization();