First you need to install illuminate/validation
by typing this composer require illuminate/validation:5.1.*
.
Then, you can use laravel validation like this:
$validatorFactory = new ValidatorFactory;
#include <SoftwareSerial.h> | |
#include <LiquidCrystal_I2C.h> | |
LiquidCrystal_I2C lcd(0x27, 16, 2); | |
String Grsp; | |
SoftwareSerial mySerial(3, 2); //SIM800L Tx & Rx is connected to Arduino #3 & #2 |
[ | |
"Afghan", | |
"Albanian", | |
"Algerian", | |
"American", | |
"Andorran", | |
"Angolan", | |
"Antiguans", | |
"Argentinean", | |
"Armenian", |