Execute the below command to create a new controller called? php artisan make:controller UriController –plain
1.UrlController
2.pathController
3.UriController
4.routeController
In MVC framework, the letter "V" stands for Value.
1.True
2.False
3.Can be true or false
4.Can not say
By default, all cookies generated by Laravel are encrypted and signed so that they can not be modified or read by the client.
1.True
2.False
3.Can be true or false
4.Can not say
Command line interface used in Laravel is called?
1.composer
2.Artisan
3.Symphony
4.ORM
Cookie can be created by global cookie helper of Laravel.
1.TRUE
2.FALSE
3.Can be true or false
4.Can not say
How many arguments cookie() method will take?
1.2
2.4
3.1
4.3
How many types of Middleware in Laravel?
1.2
2.3
3.4
4.6
In the MVC framework, the letter 'C' stands for?
1.Cookie
2.Configuration
3.command prompt
4.Controller
Laravel uses the Blade @extends directive for defining the child elements
1.TRUE
2.FALSE
3.Can be true or false
4.Can not say
Laravel uses ___________ to connect to an existing session and general-purpose cache
1.Queues
2.Cron
3.Redis
4.Command Bus
ORM (Object Relational Mapper) and ActiveRecord implementation called?
1.Eloquent
2.Query Builder
3.Schema Builder
4.Blade Template
The cookie can be attached to the response using the ?
1.isCookie() method
2.withCookie() method
3.getCookie() method
4.putCookie() method
The _______________ will run on every HTTP request of the application
1.Global Middleware
2.Route Middleware
3.Both A and B
4.None of the above
Which command is used to create Middleware?
1. php make:middleware <middleware-name>
2.php artisan middleware <middleware-name>
3. php middleware <middleware-name>
4.php artisan make:middleware <middleware-name>
Which keyword allows the developers to shorten the namespace?
1.extend
2.use
3.artisan
4.class
Which method will automatically convert the array into appropriate json response?
1. application.json
2.json
3.routes
4.test
Which of the following is true about Laravel?
1.Laravel is an open-source PHP framework
2.Laravel is robust
3.Laravel is easy to understand
4.All of the above
Which version introduces the concept of using Blade?
1.Laravel 2.1
2.Laravel 3.1
3.Laravel 4.1
4.Laravel 5.1
____________ acts as a bridge between a request and a response.
1.Routing
2.Middleware
3.Namespaces
4.Request
_____________ can be defined as a class of elements in which each element has a unique name to that associated class.
1.Routing
2.Cookie
3.Namespaces
4.Request