Posts

Showing posts with the label LaravelInterview

Search Atharv Gyan

New

We're excited to introduce our AI Powered Career Guidance System

Get Smart, Personalized Career Guidance in Minutes
Discover the best career options based on your interests, skills, and goals — powered by AGI.
Know your path. Shape your future with confidence.

Laravel backend development interview questions with answers

Image
Intermediate & Advanced Level backend development interview Questions with Answers 1. What is the purpose of service providers in Laravel? Answer: Service providers are the central place for bootstrapping Laravel applications. They bind services into the service container. To create a service provider: php artisan make:provider MyServiceProvider Then, register it in config/app.php : 'providers' => [     App\Providers\MyServiceProvider::class, ]; Inside MyServiceProvider.php : public function register() {     $this->app->bind('MyService', function () {         return new \App\Services\MyService();     }); } 2. How does Laravel handle dependency injection? Answer: Laravel resolves dependencies automatically via the Service Container . Example: class UserController extends Controller {     protected $userService;     public function ...
AtharvGyan Splash Animation