Stidges shows us how to write an allowed username validator in Laravel.

Laravel username validator