PHP MVC is an application design pattern that separates the application data and business logic (model) from the presentation (view). MVC stands for Model, View & Controller.
The controller mediates between the models and views.
Think of the MVC design pattern as a car and the driver.
The car has the windscreens (view) which the driver (controller) uses to monitor traffic ahead then speed or brake (model) depending on what he sees ahead.
A PHP framework is a platform or you can say that tools which is for creating PHP web applications. It contains libraries with pre-packaged functions and classes and elements for software design pattern.
Framework follow the MVC (Model View Controller) architecture, So PHP frameworks help to rapid application development (RAD). And saves time to build more stable applications, and reduce the repetitive coding for developers.
PHP framework also streamline the development of web applications, by providing basic and standard structure to build web applications. Using framework you can developed more secure web application even you don’t’ have good skilled, because frameworks developed by highly experienced and expert developers. So that just you should know how to use framework and be more productive.
There are no direct answer of this question, because it’s depend on who is using and what kind of project have.
If you are the PHP beginners then, initially, you should not use PHP framework, because reason mention below.
MVC stands for "Model view And Controller".
The main aim of MVC Architecture is to separate the Business logic & Application data from the USER interface.
Different types of Architectures are available. These are 3-tier Architecture, N-tier Architecture, MVC Architecture, etc.
The main advantage of Architecture is Reusability, Security and Increasing the performance of Application.
Model: Database operation such as fetch data or update data etc.
View: End-user GUI through which user can interact with system, i.e., HTML, CSS.
Controller: Contain Business logic and provide a link between model and view.
Let's understand this MVC concept in detail:
This part is concerned with the business logic and the application data. It can be used to perform data validations, process data and store it. The data can come from;
The Model object knows all about all the data that need to be displayed, represents the application data and business rules that govern to an update of data and is not aware about the presentation of data and how the data will be display to the browser.
This part deals with presenting the data to the user. This is usually in form of HTML pages.
This is the part deals with the users’ requests for resources from the server.
As an example, when the users requests for the URL …/index.php?products=list, the controller will load the products model to retrieve the products data then output the results in the list view.
In a nutshell, the controller links the models and views together depending on the requested resources.
Selecting the best PHP framework is a challenge.
You don’t have to write your own framework to benefit from the advantages of MVC.
You should only attempt to create your own MVC related application design for understanding how MVC frameworks work.
Once you are comfortable with the way MVC frameworks work, you should move on to the mature and already tested frameworks.