Home
+91 99674 50288
info@appmonks.net
×

Laravel Framework


What is Laravel :

Laravel is best PHP framework for web application development.It serves as a robust framework to build applications speedily. Laravel has profoundly reformed front-end development with its model-view-controller (MVC) architecture pattern.

Composer :

Composer is an application-level package manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries.

Artisan :

Artisan is the Command line interface used in Laravel is called Artisan. It is a CLI tool for Laravel, which helps a programmer to minimise the manual tasks like creating .php files. Its also helps in migration, routing, scheduling etc.

-Artisan Usage:

 I)Displaying Your Current Laravel Version.

  php artisan --version

 II)Listing All Available Commands.

  php artisan list

 iii)Generate Controller and Model.

  php artisan make:controller [Name]Controller

  php artisan make:model ModelName

MVC Architecture:

MVC is an acronym for ‘Model View Controller’. It represents architecture developers adopt when building applications. MVC is a software architecture that separates domain/application/business logic from the rest of the user interface. It does this by separating the application into three parts: the model, the view, and the controller..

What is Middleware ?

Laravel uses middleware by default to handle encrypting/decrypting and queueing cookies, and reading and writing sessions, but you can also use it to add any sort of layer you'd like to your request/response cycle: rate limiting, custom request parsing, and much more. middleware is a series of wrappers around your application that decorate the requests and the responses in a way that isn't a part of your application logic

Mail
casino