← All tasks
🌳
Programming Intermediate

Autoloading and PSR-4 Namespaces

⏱ 3 min ⭐ 70 XP 🔁 3 attempts allowed

What you'll do

Pick the correct requirement for Composer's PSR-4 autoloading to find a class automatically.

Scenario

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 try "Autoloading and PSR-4 Namespaces" free for 7 days, no card required. Earn 70 XP and track your internship progress.

Already have an account? Sign in