Laravel service providers

Service Providers are central place where all Laravel application is bootstrapped . Your application as well all Laravel core services are also bootstrapped by service providers. All service providers extend the IlluminateSupportServiceProvider class. Most service providers contain a register and a boot method. Within the register method, you should only bind things into the service […]

Read More

Laravel advanced interview questions and answers

Laravel advanced interview questions and answers

Laravel interview questions experienced laravel technical interview questions 1.Define Active Record Implementation. How to use it Laravel ? Active Record Implementation is an architectural pattern found in software engineering that stores in-memory object data in relational databases. Active Record facilitates the creation and use of business objects whose data is required to persistent in database. […]

Read More

Enable curl on Ubuntu

Here are step to install CURL support for php In Ubuntu you can install it via below command For Php5 sudo apt-get install php5-curl For Php7.0 sudo apt-get install php7.0-curl If you’re using apt-get then you won’t need to edit any PHP configuration, but you will need to restart your Apache. // Restart your server […]

Read More

Laravel service container

Explain Laravel service container ?One of the most powerful feature of Laravel is its Service Container It is a powerful tool for resolving  class dependencies and performing dependency injection  in Laravel . Dependency injection is a fancy phrase that essentially means  class dependencies are “injected” into the class via the constructor or, in some cases, […]

Read More