IoT + PHP
1960
1980
2000
2010
NOW
2020
DOES PHP FIT IN ?
johnny-five.io
General Purpose Input/Output
G.P.I.O
WHERE IS PHP ?
https://goo.gl/xxJh0Z
HOW DO I USE THE THINGS ?
ARDUINO CODE
1x
1x Nx
PHP CODE
INPUT INPUT data datadata datadata data data data datadata datadata data data data datadata datadata data data data datadata datadata data data data datadata datadata data data data data data datadata data data data data data datadata data datadata datadata data data data data datadata data datadata data datadata datadata data data data data datadata datadatadata data datadata datadata data data data data datadata data
F* FILE_*
fopen fpassthru fputcsv fputs fread fscanf fseek fstat ftell ftruncate fwrite file_​exists file_​get_​contents file_​put_​contents file fileatime filectime filegroup fileinode filemtime fileowner fileperms
RESOURCE FILE CONTENTS
fopen( ‘file.txt’, ‘r+’ ); file_​get_​contents( ‘file.txt’ );
CIRCUITS.IO
CIRCUITS.IO
Introduction to IoT and PHP - Nerdzão day #1