I recommend anytime you modify an existing class's location/namespace to get in the habit of running composer dump-autoload. I have wasted hours of my life debugging random errors when developing to find out it was an auto load issue. It might not always be necessary but quickly becomes muscle memory