The most awesome validation engine ever created for PHP.
v::numericVal()->positive()->between(1, 255)->validate($input)
Learn More: