Pick the correct requirement for Composer's PSR-4 autoloading to find a class automatically.
App\Services\Mailer is defined but 'Class not found' is thrown even though composer dump-autoload was run.
Ready to try it?
Create a free account and subscribe to take "Autoloading and PSR-4 Namespaces". Earn 70 XP and track your internship progress.
Already have an account? Sign in