1. Question: The vendor directory contains ___

    A
    Third-party code

    B
    Controllers

    C
    Laravel Framework code

    D
    Assets

    Note: Not available
    1. Report
  2. Question: Which artisan CLI command is used to update your project’s namespace?

    A
    %>php artisan update app

    B
    %>php artisan app:name my_project

    C
    %>php artisan update:my_app

    D
    %>php artisan namespace:my_app

    Note: Not available
    1. Report
  3. Question: Which is the correct path to save models in the laraval?

    A
    Resources/Models

    B
    App/Models

    C
    App/Http/Providers

    D
    App/

    Note: Not available
    1. Report
  4. Question: Which is the parent class to make a new controller?

    A
    AppController

    B
    Controller

    C
    LController

    D
    MyController

    Note: Not available
    1. Report
  5. Question: Which namespace is used to handle the form request in laraval?

    A
    Use Illuminate\Http\Requests

    B
    Use Illuminate\Http\Request

    C
    Use App\Requests

    D
    Use App\Http\Request

    Note: Not available
    1. Report
  6. Question: Which router indicates the view is loaded via the controller class?

    A
    Route::get("/","MyController@index");

    B
    Route::get("/",function(){ … });

    C
    Route::get("/",function(){ return view("index") });

    D
    None

    Note: Not available
    1. Report
  7. Question: Which artisan command use to encoding and serializing cache in routes

    A
    $ php artisan route : cache

    B
    $ php artisan route : class

    C
    $ php artisan route : complied

    D
    $ php artisan route : cached

    Note: Not available
    1. Report
  8. Question: What purpose of laravel forge?

    A
    Conjunction with another hosting service

    B
    Connection with the database.

    C
    Loading the full application.

    D
    All

    Note: Not available
    1. Report
  9. Question: How can you cache using artisan command?

    A
    $ php artisan clear: route

    B
    $ php artisan route : clear

    C
    $ php artisan route : remove

    D
    $ php artisan route : destroy

    Note: Not available
    1. Report
  10. Question: Which middleware is used to manage CSRF protection?

    A
    TokenVerifyCsrf.php

    B
    RedirectIfAuthenticated.php

    C
    VerifyCsrfToken.php

    D
    RedirectCsrfToken.php

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd