Instructions First, go to the public html folder in your server using this command line: cd /var/www/html Then clone your project here. A new directory will be automatically created. git clone url_here After this you need a .env file in your directory. Normally, GitHub or BitBucket do not upload .env file since it contains sensitive […]

Read More →

What causes TokenMismatchException We often see TokenMismatchException error in Laravel while submitting a form in our web application. It occurs because the form you are submitting is missing a csrf token. If you see this error, don’t panic. It’s actually a good thing. Laravel protects your application from cross-site request forgery (CSRF) attacks. Since your […]

Read More →

What is Model In MVC architectural pattern, the letter ‘M’ stands for Model. Model represents the data structure and it does not depend on the controller or the view. It directly connects with the database and represents the data structure of a particular table. How to create model in Laravel Go to Command Line from […]

Read More →

What is Controller In MVC architectural pattern, the letter ‘C’ stands for Controller. It acts as a directing traffic between Views and Models. Controllers help you to organize the logic codes into classes. How to create controller in Laravel Go to Command Line from your Laravel project directory and write this command to create a […]

Read More →