Welcome to your Laravel/vue Name Phone Email Eloquent mutator is: A transformation layer that sites between your eloquent model and the JSON responses that actually returned to your application's A mechanism that transforms an Eloquent attribute value when it is set A mechanism that transforms an Eloquent attribute value when it is accessed Laravel service providers are: Interfaces that allows the developer to use underlying classes in the service container The central place of all Laravel core services A tool to manage and resolve dependencies of your application In Laravel we use gates to: Classes that allows you to define and share the application's database schema Classes that organize authorization logic around a particular model or resource Authorize user actions against a given resource Laravel does not support gates Bootstrap directory is used to: Load configuration files Load Laravel classes and model Initialize a Laravel application Laravel facades are: A mechanism to filter requests coming to your application A static interface to use classes that are available in the service container of Laravel A way to mutate fields fetched from the database A way to abstract the functionality of certain Laravel classes Using the query builder, how to count the number of rows in a table? DB::table('articles')->total(); DB::table('articles')->rowCount(); DB::table('articles')->withCount(); DB::table('articles')->count(); Which of the following is the correct way to define a one to many relationship in Laravel? class User extends Model { public function posts() { return $this->hasMany(Post::class); } class User extends Model { public function posts() { return $this->belongsTo(Post::class); } } class User extends Model { public function posts() { return $this->hasOne(Post::class); } } class User extends Model { public function posts() { return $this->belongsToMany(Post::class); } } In Vue.js what is the difference between v-if and v-show? v-if renders the element only if the condition is true, while v-show toggles the element's visibility v-if toggle the element's visibility, while v-show renders the element conditionally v-if uses CSS to toggle the element's visibility, while v-show re-renders the element only if condition is true there is no difference between v-if and v-show What are Vue.js filters? A way that allows us to apply filters on array of data A way to filter input and do input validation A mechanism that allows us to apply common text formatting There is no concept of filters in Vue.js Which of the following directives is used for attaching event listeners that invoke methods? v-model v-on v-for v-if Where can Vue.js filters can be applied v-bind expressions Mustache interpolations Mustache interpolations and v-bind expressions v-bind and v-html expressions What are mixins? A method for distributing reusable style snippets to the Vue component A method for enabling global styling for the application A method for distributing reusable features to the Vue component How can you define reactive computed properties in composition-api? Use the computed property of the component instance. Use the computed function passed to the setup() function. Use the computed object. Use the ref object. In Vue.js, How we can create a two-way data binding for an input element? Time's up