Couldn't find the moc3051, I did find a PC817 only has 4 pins, my circuit only uses 4. My problem is this circuit I had designed 35 years ago. It's what got me interested in electronics, when I watch someone design it.I think your only option would be to find a model for a modern version of that part. Maybe this one.
by Jake Hertz
by Aaron Carman
by Jake Hertz
by Duane Benson