I suspect it should be SparkServiceProvider instead of SparkServerProvider. The only other thing to ensure is that you are running Spark 7.1 and not 7.0.
Other than that it should work just as the documentation states.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Did anyone try to implement new email verification in Spark 7? In Spark documentation, it is described to add an implementation of MustVerifyEmail contract in the User model which has no effect.
Mentioned SparkServerProvider class doesn't even exist in the whole project, as well as ensureEmailIsVerified method.
Can anyone give tips on how to make email verification properly work in Spark?
I suspect it should be SparkServiceProvider instead of SparkServerProvider. The only other thing to ensure is that you are running Spark 7.1 and not 7.0.
Other than that it should work just as the documentation states.
Please or to participate in this conversation.