Laravel validation rule size validation error even though the number of characters matches

Aug 29, 2020 PHP Beginner Laravel For Beginners Laravel7

Purpose

Implementation environment

Item Information
OS macOS Catalina(10.15.5)
Hardware MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
Processor 2 GHz Quad Core Intel Core i5
Memory 32 GB 3733 MHz LPDDR4
Graphics Intel Iris Plus Graphics 1536 MB
Item Information Remarks
PHP version 7.4.3 Introduced using Homwbrew
Laravel version 7.0.8 Introduced by this method using commposer → Construct environment of Mac Laravel
MySQL version 8.0.19 for osx10.13 on x86_64 Introduced by this method using Homwbrew → Install MySQL with Mac Homebrew

Problem code

Cause

solution