Index
Symbols
- * (asterisk), following array arguments or options, Array arguments and array options
- - - (hyphen, double), preceding Artisan command options, Options—required values, value defaults, and shortcuts
- -> ,=> (arrow)
- . (period), dot notation, Glossary
- / (slash), escaping in Artisan commands, Controller Organization and JSON Returns
- :: (colon, double), in facades, Facades and the Container
- = (equal sign), in Artisan argument definition, Options—required values, value defaults, and shortcuts
- ? (question mark)
- @ (at sign)
- (backslash), escaping in Artisan commands, Simple WebSockets listening with Pusher
- __() helper, Strings
- { } (braces)
- enclosing Artisan command arguments, Arguments and Options
- enclosing route parameters, Route Model Binding, From Route Parameters
- { !! !!}, Blade echo syntax, not escaped, Echoing Data, {{ Versus {!!
- { { }}, Blade echo syntax, escaped, Echoing Data, {{ Versus {!!
A
- abilities (rules) for authorization, Defining Authorization Rules
- abort() helper, Aborting the Request, Miscellaneous
- abort_if() helper, Aborting the Request, Miscellaneous
- abort_unless() helper, Aborting the Request, Miscellaneous
- acceptance tests (see application tests)
- accepts() method, Request, User and request state
- accessors, Accessors, Hiding attributes from JSON, Testing, Glossary
- ACL (access control list), Authorization (ACL) and Roles, Resource Gates
- actingAs() method, Authenticating Responses, Testing Passport
- action() helper, Other Redirect Methods, URLs
- ActiveRecord pattern, Introduction to Eloquent, Glossary
- add() method, Cache, Methods Available on Cache Instances
- addGlobalScope() method, Global scopes
- after() method, Blueprint, Building extra properties fluently
- after() method, tasks, Task Hooks
- Ajax, CSRF Protection
- Algolia SDK, Installing Scout
- aliases, binding to, Binding to Singletons, Aliases, and Instances
- aliasing, of component, Aliasing a component to be a directive
- all() method, collection, A Few Methods
- all() method, Eloquent, Get many
- all() method, ParameterBag, Basic user input
- all() method, Request, $request->all(), Eloquent Model Mass Assignment, Basic user input
- all() method, Session, Methods Available on Session Instances
- allDirectories() method, Storage, Using the Storage Facade
- allFiles() method, Request, Files
- allFiles() method, Storage, Using the Storage Facade
- anonymous functions (see closures)
- anticipate() method, Prompts
- api guard, Guards
- api middleware group, Using middleware groups
- API resource controllers, API Resource Controllers
- API routes, Route Definitions
- api.php file, Route Definitions
- APIs, Writing APIs-TL;DR
- authentication with API tokens, API Token Authentication
- authentication with Passport, Installing Passport-Deploying Passport
- customizing 404 responses, Customizing 404 Responses
- defined, Glossary
- Eloquent API resources, API Resources-More Customizations for API Resources
- fallback route, Triggering the Fallback Route
- filtering results, Filtering Your API Results
- JSON for, The Basics of REST-Like JSON APIs, Controller Organization and JSON Returns, Sorting and Filtering
- Lumen for, Lumen
- nesting relationships between resources, Nesting and Relationships with Custom Transformers-Nesting and Relationships with Custom Transformers
- paginating results, Eloquent Pagination
- request headers, reading, Reading and Sending Headers, Reading Request Headers in Laravel
- resource controllers, Controller Organization and JSON Returns-Controller Organization and JSON Returns
- response headers, sending, Reading and Sending Headers
- REST style of, The Basics of REST-Like JSON APIs-The Basics of REST-Like JSON APIs
- sorting results, Sorting and Filtering-Sorting Your API Results
- testing, Testing
- transforming results, Transforming Results-Nesting and Relationships with Custom Transformers
- app commands, Artisan, The Grouped Commands
- app folder, The Folders
- app() helper, Getting a Request Object in Laravel, The app() Global Helper
- app.js file, Bringing Echo into your project
- app.php file in config, Installing Scout, The broadcast service provider
- append() method, Storage, Using the Storage Facade
- appendOutputTo() method, tasks, Handling Task Output
- application
- application container (see container)
- application tests, Application Testing: How It Works
- AppServiceProvider, Service Providers
- app_path() helper, Application Paths
- argument()/arguments() methods, Artisan, argument() and arguments(), Glossary
- Arr::first() helper, Arrays
- Arr::get() helper, Arrays
- Arr::has() helper, Arrays
- Arr::pluck() helper, Arrays
- Arr::random() function, Arrays
- arrays
- array_filter() method, The Basics
- array_map() method, The Basics
- arrow
- Artisan commands, An Introduction to Artisan-Calling Artisan Commands in Normal Code
- asserting against Artisan command syntax, Asserting Against Artisan Command Syntax
- basic commands, Basic Artisan Commands
- calling from code, A Sample Command, Calling Artisan Commands in Normal Code
- custom, Writing Custom Artisan Commands-Writing Closure-Based Commands
- defined, Glossary
- escaping slashes in, Controller Organization and JSON Returns
- options for, Options
- output during execution of, Output-Progress bars
- progress bars for, Progress bars
- prompting for user input, Prompts
- queueing, The Grouped Commands, Queues Supporting Other Functions
- sample command, A Sample Command
- scheduling as tasks, Available Task Types
- testing, Testing, Testing Artisan Commands-Asserting Against Artisan Command Syntax
- using input from, Using Input-Prompts
- Artisan facade, Calling Artisan Commands in Normal Code
- artisan file, The Loose Files
- artisan() method, Testing
- artisan() method, TestCase, Asserting Against Artisan Command Syntax
- Artisan, defined, Glossary
- as() method, Eloquent, Getting data from the pivot table
- ask() method, Prompts
- assert() method, Dusk, Pages
- assertCookie() method, TestCase, Assertions Against $response, Cookies
- assertCookieExpired() method, TestCase, Assertions Against $response
- assertCookieNotExpired() method, TestCase, Assertions Against $response
- assertDatabaseHas() method, TestCase, Database Tests
- assertDatabaseMissing() method, TestCase, Database Tests
- assertDispatched() method, TestCase, Event Fakes
- assertDontSee() method, TestCase, Assertions Against $response
- assertForbidden() method, TestCase, Assertions Against $response
- assertion, defined, Glossary
- assertJson() method, TestCase, Assertions Against $response
- assertNotDispatched() method, TestCase, Event Fakes
- assertNotFound() method, TestCase, Assertions Against $response
- assertNothingSent() method, TestCase, Notification Fakes
- assertNotSent() method, notification, Mail
- assertOk() method, TestCase, Assertions Against $response
- assertPlainCookie() method, TestCase, Cookies
- assertRedirect() method, TestCase, Assertions Against $response
- assertSee() method, TestCase, Assertions Against $response
- assertSent() method, notification, Mail
- assertSentTo() method, TestCase, Notification Fakes
- assertSessionHas() method, TestCase, Assertions Against $response, Session
- assertSessionHasAll() method, TestCase, Session
- assertSessionHasErrors() method, TestCase, Assertions Against $response, Session
- assertSessionHasInput() method, TestCase, Assertions Against $response
- assertSessionMissing() method, TestCase, Session
- assertStatus() method, TestCase, Assertions Against $response
- assertSuccessful() method, TestCase, Assertions Against $response
- assertUnauthorized() method, TestCase, Assertions Against $response
- assertViewHas() method, TestCase, Testing, Assertions Against $response
- assets folder, Mix Folder Structure
- associate() method, Eloquent, One to many
- asterisk (*), following array arguments or options, Array arguments and array options
- at sign (@)
- attach() method, Dusk, Interactions with the page
- attach() method, Eloquent, Getting data from the pivot table
- attach() method, mailable, Methods Available in build()
- attachData() method, mailable, Methods Available in build()
- attachFromStorage() method, mailable, Methods Available in build()
- attempt() method, authentication, “Remember Me”
- attempts() method, jobs, Limiting the number of tries
- attribute casting, Attribute casting
- attribute() method, Dusk, Interactions with the page
- auth commands, Artisan, The Grouped Commands
- @auth directive, Blade Authentication Directives
- Auth facade, Using the auth() Global Helper and the Auth Facade
- auth middleware, Auth Middleware
- auth scaffold, The Auth Scaffold
- auth scaffolding, Auth Scaffolding
- auth() helper, Using the auth() Global Helper and the Auth Facade, Miscellaneous
- auth.basic middleware, Auth Middleware
- auth.php file, Changing the Default Guard, Installing Passport
- Auth::routes() facade, Auth::routes(), Auth::routes(), Email Verification
- AuthController, User Authentication and Authorization
- Authenticatable contract, The User Model and Migration
- AuthenticateSession middleware, Invalidating Sessions on Other Devices
- authentication, User Authentication and Authorization-Auth Events
- APIs for, Installing Passport-Deploying Passport
- Blade directives, Blade Authentication Directives
- contracts, The User Model and Migration
- defined, The User Model and Migration, Glossary
- Dusk and, Authentication and databases
- events, Auth Events
- ForgotPasswordController, ForgotPasswordController
- guards for, Guards-Closure Request Guards
- invalidating sessions on other devices, Invalidating Sessions on Other Devices
- LoginController, LoginController-ThrottlesLogins trait
- manual authentication, Manually Authenticating Users
- manually logging out a user, Manually Logging Out a User
- MustVerifyEmail trait, Email Verification
- RegisterController, RegisterController-RegistersUsers trait
- RegistersUsers trait, RegistersUsers trait
- remember me access token, “Remember Me”
- ResetPasswordController, ResetPasswordController
- route middleware for, Auth Middleware
- routes for, Auth::routes()
- testing, Testing-Testing, Authenticating Responses
- VerificationController, VerificationController
- views for, The Auth Scaffold
- WebSocket (see Echo)
- Authorizable contract, The User Model and Migration
- Authorizable trait, Checking on the User Instance
- authorization, Authorization (ACL) and Roles-Overriding policies
- Authorizable contract, The User Model and Migration
- AuthorizesRequests trait, Controller Authorization
- Blade checks, Blade Checks
- checking user capabilities, Checking on the User Instance
- defined, The User Model and Migration, Glossary
- defining rules for, Defining Authorization Rules
- Gate facade, The Gate Facade (and Injecting Gate)
- intercepting checks, Intercepting Checks
- policies, Generating policies-Overriding policies
- resource gates, Resource Gates
- route middleware for, The Authorize Middleware
- testing, Testing-Testing
- authorization code grant, Passport, Authorization code grant-Authorization code grant
- authorize() method, AuthorizesRequests trait, Controller Authorization
- authorize() method, form request, Creating a Form Request
- authorizeForUser() method, AuthorizesRequests trait, Controller Authorization
- authorizeResource() method, AuthorizesRequests trait, Controller Authorization
- AuthorizesRequests trait, Controller Authorization
- AuthServiceProvider, Defining Authorization Rules, Intercepting Checks, Service Providers, Passport Scopes
- autowiring, How the Container Is Wired, Glossary
- avg() method, collection, A Few Methods
- avg() method, DB, Ending/returning methods
- away() method, redirects, Other Redirect Methods
B
- back() helper, redirect()->back(), Redirect responses, Miscellaneous
- backslash (), escaping in Artisan commands, Simple WebSockets listening with Pusher
- base_path() helper, Application Paths
- be() method, TestCase, Testing
- beanstalkd queues, Queues, Glossary
- before() method, tasks, Task Hooks
- beginTransaction() method, DB, Transactions
- belongsTo() method, Eloquent, One to one, One to many, Polymorphic
- belongsToMany() method, Eloquent, Many to many
- bigIncrements() method, Blueprint, Creating columns
- bigInteger() method, Blueprint, Creating columns
- billing (see Cashier)
- binary() method, Blueprint, Creating columns
- bind() method, Binding to a Closure, Binding to a Closure
- binding
- Blade, Blade Templating-TL;DR
- authentication directives, Blade Authentication Directives
- basics, Blade Templating
- checks using, Blade Checks
- components and slots, Using Components and Slots-Aliasing a component to be a directive
- conditionals, Conditionals
- control structures, Control Structures-@forelse and @endforelse
- custom directives, Custom Blade Directives-Easier Custom Directives for “if” Statements
- defined, Glossary
- directives for, Blade Templating
- echoing PHP in, Echoing Data
- included view partials, Including View Partials-@each
- loops, Loops-@forelse and @endforelse, @each
- multitenancy using, Example: Using Custom Blade Directives for a Multitenant App
- sections, Defining Sections with @section/@show and @yield-@parent
- service injection, Blade Service Injection-Blade Service Injection
- stacks, Using Stacks
- template inheritance, Template Inheritance-Aliasing a component to be a directive
- templates, Views
- view composers, Binding Data to Views Using View Composers-View-scoped view composers with classes
- Blade::if() method, Easier Custom Directives for “if” Statements
- Blueprint class, Creating columns-Building extra properties fluently
- boolean() method, Blueprint, Creating columns
- boot() method, Eloquent model, Global scopes
- boot() method, service providers, Custom Route Model Binding, Closure Request Guards, Defining Authorization Rules, boot(), register(), and deferring on service providers, Passport Scopes
- bootstrap folder, The Folders
- bootstrapping application, Bootstrapping the Application
- braces ({ })
- enclosing Artisan command arguments, Arguments and Options
- enclosing route parameters, Route Model Binding, From Route Parameters
- { !! !!}, Blade echo syntax, not escaped, Echoing Data, {{ Versus {!!
- {{ }}, Blade echo syntax, escaped, Echoing Data, {{ Versus {!!
- broadcast notifications, Broadcast notifications
- broadcast() helper, Excluding the current user from broadcast events, Excluding the current user
- broadcastAs() method, events, Broadcasting an Event
- broadcasting events (see WebSockets)
- broadcasting.php file, Configuration and Setup
- broadcastOn() method, events, Firing an Event, Broadcasting an Event
- BroadcastServiceProvider, The broadcast service provider
- broadcastWith() method, events, Broadcasting an Event
- browse() method, Dusk, Writing Dusk tests
- browser tests, Browser Tests-Components
- BrowserKit testing package, Testing, Choosing a Tool, Glossary
- build() method, mailable, Basic “Mailable” Mail Usage, Methods Available in build()
- Bus facade
C
- cache commands, Artisan, The Grouped Commands
- Cache facade, Accessing the Cache
- cache() helper, Accessing the Cache
- caches
- call() method, Artisan, Calling Artisan Commands in Normal Code
- call() method, container, Method Injection
- call() method, TestCase, Cookies
- @can directive, Blade Checks
- can() method, Authorizable, Checking on the User Instance
- @cannot directive, Blade Checks
- cannot() method, Authorizable, Checking on the User Instance
- CanResetPassword contract, The User Model and Migration
- cant() method, Authorizable, Checking on the User Instance
- capture() method, Request, The Request Object
- Carbon package, Methods Available on Cache Instances, Glossary
- Carbon::now(), Signing a Route
- Cashier, Cashier, Glossary
- chaining methods, Route Names, Dynamic rate limiting
- channel() method, Broadcast, Binding authorization definitions for WebSocket channels
- channel() method, Echo, Using Echo for basic event broadcasting
- channels, log, Log Channels-Writing to specific log channels
- char() method, Blueprint, Creating columns
- check() method, authorization, Using the auth() Global Helper and the Auth Facade
- check() method, Dusk, Interactions with the page
- choice() method, Prompts
- chunk() method, collection, A Few Methods
- chunk() method, Eloquent, Chunking responses with chunk()
- classes
- clear-compiled command, Artisan, Basic Artisan Commands
- click() method, Dusk, Interactions with the page
- clickLink() method, Dusk, Interactions with the page
- closure request guard, Closure Request Guards
- closures
- Cloud storage (see storage)
- cloud-based mail, Mail
- CodeIgniter, Glossary
- collect() helper, Introducing the base collection, Miscellaneous, The Basics
- Collection class, Chaining with the Query Builder, Eloquent Collections-What Eloquent collections add
- collection() method, API resource, Resource Collections
- collections, Collections-A Few Methods
- colon, double (::), in facades, Facades and the Container
- columns, creating, Creating columns-Building extra properties fluently
- commands, Artisan (see Artisan commands)
- comment() method, Artisan, Output
- commit() method, DB, Transactions
- @component directive, Blade, Using Components and Slots
- components, Blade, Using Components and Slots-Aliasing a component to be a directive
- components, Dusk, Components-Components
- Composer, Composer, Bootstrapping the Application
- composer.json file, The Loose Files
- composer.lock file, The Loose Files
- conditionals (Blade), Conditionals
- config commands, Artisan, The Grouped Commands
- config folder, The Folders, Configuration
- config() helper, Miscellaneous
- config/app.php file, Installing Scout, The broadcast service provider
- config/cache.php file, Cache
- config/scout.php file, Installing Scout
- config/session.php file, Sessions
- configuration files, The Folders, Configuration, Guards, Application Paths
- config_path() helper, Application Paths
- confirm() method, Artisan, Prompts
- Console component, Symfony, An Introduction to Artisan
- constructor injection, A Quick Introduction to Dependency Injection, Dependency Injection and Laravel, Constructor Injection in Laravel Framework Files
- container, Injecting Dependencies into Controllers
- contextual binding, Contextual Binding
- contracts, Glossary
- Contracts namespace, The User Model and Migration
- controllers, Controllers-Single Action Controllers
- API resource controllers, API Resource Controllers
- applying middleware using, Applying middleware in controllers
- controller/method reference syntax, Route Handling
- creating, Controllers-Controllers
- defined, Glossary
- getting and handling user input, Getting User Input-Getting User Input
- handling routes using, Route Handling
- in MVC, What Is MVC?
- injecting dependencies into, Injecting Dependencies into Controllers
- namespaces for, Controllers
- resource controllers, Resource Controllers-Single Action Controllers, Controller Organization and JSON Returns-Controller Organization and JSON Returns
- single action, Single Action Controllers
- Cookie facade, The Cookie facade
- cookie() helper, Cookies, The cookie() global helper
- cookie() method, Request, Persistence, Reading cookies from Request objects
- cookie() method, Response, Setting cookies on Response objects
- CookieJar class, The Cookie facade
- cookies, Cookies-Setting cookies on Response objects
- copy() method, Mix, Copying files or directories
- copy() method, Storage, Using the Storage Facade
- copyDirectory() method, Mix, Copying files or directories
- count() method, collection, A Few Methods
- count() method, DB, Ending/returning methods
- count() method, ParameterBag, Basic user input
- countBy() method, collection, A Few Methods
- create() method, model factories, Using a model factory, Inserts, Mass assignment
- create() method, resource controllers, The HTTP Verbs
- create() method, Schema, Creating tables
- create, read, update, delete (see CRUD)
- CreateFreshApiToken middleware, Tokens from Laravel session authentication (synchronizer tokens), Tokens from Laravel session authentication (synchronizer tokens)
- create_users_table migration, Defining Migrations, The User Model and Migration
- cron jobs, scheduler as alternative to, Scheduler
- CRUD (create, read, update, delete), Controllers
- (see also resource controllers)
- CSRF (cross-site request forgery), CSRF Protection-CSRF Protection, Bringing Echo into your project, Glossary
- csrf_field() helper, Miscellaneous
- csrf_token() helper, Miscellaneous
- CSS
- custom route model binding, Custom Route Model Binding
D
- daily log channel, The daily channel
- database folder, The Folders
- database notifications, Database notifications
- database tests, Database Tests, Authentication and databases
- DatabaseMigrations trait, DatabaseMigrations
- databases, Databases and Eloquent-TL;DR
- DatabaseSeeder class, Seeding
- DatabaseTransactions trait, DatabaseTransactions
- database_path() helper, Application Paths
- date mutators, Date mutators
- dates and times (see Carbon package) (see scheduler) (see timestamps)
- datetime() method, Blueprint, Creating columns
- db commands, Artisan, The Grouped Commands
- DB facade, Basic Usage of the DB Facade
- dd() helper, Miscellaneous
- Dead Man’s Snitch, Handling Task Output
- debugging
- decimal() method, Blueprint, Creating columns
- decrement() method, Cache, Methods Available on Cache Instances
- decrement() method, DB, Updates
- default() method, Blueprint, Building extra properties fluently
- $defer property, boot(), register(), and deferring on service providers
- DeferrableProvider interface, boot(), register(), and deferring on service providers
- define() method, model factories, Creating a model factory
- delay() method, jobs, Customizing the delay
- delay() method, notification, Queueing Notifications
- DELETE method, The HTTP Verbs
- delete() method, DB, Raw deletes, Deletes
- delete() method, Eloquent, Deleting with Eloquent-Force-deleting soft-deleted entities
- delete() method, Storage, Using the Storage Facade
- deleteDirectory() method, Storage, Using the Storage Facade
- deleted_at column, Enabling soft deletes
- deleteFileAfterSend() method, Response, Download responses
- dependency injection, A Quick Introduction to Dependency Injection-A Quick Introduction to Dependency Injection
- destroy() method, resource controllers, The HTTP Verbs
- detach() method, Eloquent, Getting data from the pivot table
- development environments, Local Development Environments-The Loose Files
- DI (dependency injection) container (see container)
- directives (Blade), Blade Templating
- directories() method, Storage, Using the Storage Facade
- disk() method, Storage, Using the Storage Facade, Basic File Uploads and Manipulation
- dispatch() helper, Pushing a job onto a queue, Miscellaneous
- Dispatchable trait, Creating a job
- dissociate() method, Eloquent, One to many
- distinct() method, DB, Constraining methods
- dnsmasq tool, Laravel Valet
- dot notation, Glossary
- double() method, Blueprint, Creating columns
- down command, Artisan, Basic Artisan Commands
- down() method, migrations, Defining Migrations
- download responses, Download responses
- download() method, Response, response()->download(), ->streamDownload(), and ->file(), Download responses
- downloads, Simple File Downloads
- drag() method, Dusk, Interactions with the page
- dragDown() method, Dusk, Interactions with the page
- dragLeft() method, Dusk, Interactions with the page
- dragRight() method, Dusk, Interactions with the page
- dragUp() method, Dusk, Interactions with the page
- dump server, Laravel Dump Server
- dump() helper, Laravel Dump Server
- dump-server command, Artisan, Basic Artisan Commands, Laravel Dump Server
- Dusk, Testing with Dusk-Components
- as part of Laravel ecosystem, Dusk
- assertions, Other assertions
- authentication and databases, Authentication and databases
- components, Components-Components
- customizing environment variables, Writing Dusk tests
- defined, Glossary
- installing, Installing Dusk
- interactions with page, Interactions with the page-Interactions with the page
- page class, Pages-Pages
- selector matching order, Interactions with the page
- waiting methods, Waiting
- writing tests, Writing Dusk tests
- dynamic rate limiting, Dynamic rate limiting
E
- e() helper, The String Helpers and Pluralization, Strings
- @each directive, Blade, @each
- each() method, collection, A Few Methods
- eager loading, Eager loading, Glossary
- Echo, Broadcasting Events over WebSockets, and Laravel Echo, Simple WebSockets listening with Pusher-Simple WebSockets listening with Pusher
- as part of Laravel ecosystem, Echo
- authorization for channels, Binding authorization definitions for WebSocket channels-Binding authorization definitions for WebSocket channels
- client events, Client events
- defined, Glossary
- event broadcasting, Using Echo for basic event broadcasting
- excluding user from events, Excluding the current user from broadcast events, Excluding the current user
- JavaScript package for, Laravel Echo (the JavaScript Side)-Client events
- listening for events, Using Echo for basic event broadcasting
- presence channels, Presence channels
- private channels, Private channels and basic authentication
- service provider configuration, The broadcast service provider-Binding authorization definitions for WebSocket channels
- subscribing to channels, Private channels and basic authentication
- subscribing to notifications, Subscribing to notifications with Echo
- ecosystem, Laravel, The Laravel Ecosystem-Other Resources
- edit() method, resource controllers, The HTTP Verbs
- elements() method, Dusk, Pages
- Elixer, Mix
- (see also Mix build tool)
- Elixir
- elixir() helper, URLs
- Eloquent, Dynamic rate limiting, Databases and Eloquent, Introduction to Eloquent-Eloquent Events
- accessors, Accessors
- aggregates, Aggregates
- API resources, API Resources-More Customizations for API Resources
- attribute casting, Attribute casting
- child records updating parent record timestamps, Child Records Updating Parent Record Timestamps-Eager loading only the count
- collections returned by, Eloquent Collections-What Eloquent collections add
- customizing route key for, Custom Route Model Binding
- date mutators, Date mutators
- defined, Glossary
- deletes, Deleting with Eloquent-Force-deleting soft-deleted entities
- eager loading, Eager loading
- events, Eloquent Events-Eloquent Events
- exceptions thrown by, Get one
- filtering API results, Filtering Your API Results
- full-text search for, Full-Text Search with Laravel Scout-Manually Triggering Indexing via the CLI
- inserts, Inserts and Updates with Eloquent
- JSON results for APIs, Controller Organization and JSON Returns
- mass assignment, Mass assignment, Eloquent Model Mass Assignment
- migration, creating with model, Creating and Defining Eloquent Models
- model creation, Creating and Defining Eloquent Models
- mutators, Mutators
- pagination for, Pagination-Manually Creating Paginators, Eloquent Pagination
- primary keys, Primary key
- relationships, Eloquent Relationships-Many to many polymorphic
- retrieving data, Retrieving Data with Eloquent-Aggregates
- scopes (filters), Scopes-Removing global scopes
- serialization, Eloquent Serialization-Hiding attributes from JSON
- sorting results, Sorting and Filtering-Sorting Your API Results
- table names, Table name
- timestamps, Timestamps, Child Records Updating Parent Record Timestamps-Eager loading only the count
- transforming results, Transforming Results-Nesting and Relationships with Custom Transformers
- updates, Updates-Mass assignment
- user input from, Eloquent Model Mass Assignment
- Eloquent API resources
- @else directive, Blade, @if, Blade Checks
- @elseif directive, Blade, @if
- email notifications, Sending Notifications
- email verification
- emailOutputTo() method, tasks, Handling Task Output
- EncryptCookies middleware, Cookies
- encryption
- @endcan directive, Blade Checks
- @endcannot directive, Blade Checks
- @endif directive, Blade, @if
- @endsection directive, Blade, @section and @endsection
- @endunless directive, Blade, @unless and @endunless
- enum() method, Blueprint, Creating columns
- env command, Artisan, Basic Artisan Commands
- .env file, The Loose Files, Configuration, The .env File, Environment variables in Mix
- env() helper, Configuration, Miscellaneous
- .env.example file, The Loose Files
- .env.test file, The Testing Environment
- environment variables
- environment() method, The Testing Environment
- Envoy, Envoy, Glossary
- Envoyer, Handling Task Output, Envoyer, Glossary
- equal sign (=), in Artisan argument definition, Options—required values, value defaults, and shortcuts
- error bags, Named Error Bags, Testing Message and Error Bags
- error() method, Output
- error() method, notification, Markdown mail notifications
- errors and exceptions
- $errors variable, Message Bags
- ES6, JavaScript, Processing JavaScript
- event commands, Artisan, The Grouped Commands
- Event facade, Firing an Event
- event fakes, Event Fakes
- event() helper, Firing an Event, Miscellaneous
- Event::fake() method, Eloquent, Event Fakes
- events, Events-Event subscribers
- authentication, Auth Events
- broadcasting over WebSockets (see WebSockets)
- creating, Firing an Event-Firing an Event
- creating listeners for, Listening for an Event-Event subscribers
- defined, Glossary
- Eloquent, Eloquent Events-Eloquent Events
- firing, Firing an Event-Firing an Event, Miscellaneous
- pub/sub pattern used by, Events
- subscribers for, Event subscribers
- testing, Testing
- ExampleTest.php file, Testing Basics
- except() method, Request, $request->except() and $request->only(), Basic user input
- exception handling, HTTP tests, Handling Exceptions in Application Tests
- exceptions (see errors and exceptions)
- exists() method, Request, Basic user input
- exists() method, Session, Methods Available on Session Instances
- exists() method, Storage, Using the Storage Facade
- expectsOutput() method, TestCase, Asserting Against Artisan Command Syntax
- expectsQuestion() method, TestCase, Asserting Against Artisan Command Syntax
- $expression parameter, Blade, Parameters in Custom Blade Directives
- @extends directive, Blade, @extends
- extract() method, Vendor extraction
F
- facades, Facades and the Container-Real-Time Facades
- factory() helper, Creating a model factory, Miscellaneous
- failed() method, jobs, Handling failed jobs
- fake() method, Event Fakes
- Faker, Testing, Returning fake files, Glossary
- fallback routes, Fallback Routes
- feature tests, Testing Basics
- File facade, Using the Storage Facade
- file responses, File responses
- file() method, Faker, Returning fake files
- file() method, Request, Uploaded Files, Files
- file() method, Response, response()->download(), ->streamDownload(), and ->file(), File responses
- files() method, Storage, Using the Storage Facade
- filesystem storage (see storage)
- filesystems.php file, Configuring File Access
- file_get_contents() function, Basic File Uploads and Manipulation
- filled() method, Request, Basic user input
- filter() method, collection, A Few Methods
- filtering API results, Filtering Your API Results
- filters (see scopes)
- find() method, DB, Ending/returning methods
- find() method, Eloquent, Get one
- findOrFail() method, DB, Ending/returning methods
- findOrFail() method, Eloquent, Get one
- first() method, Blueprint, Building extra properties fluently
- first() method, collection, A Few Methods
- first() method, DB, Ending/returning methods
- first() method, Eloquent, Get one
- firstOrCreate() method, Eloquent, firstOrCreate() and firstOrNew()
- firstOrFail() method, DB, Ending/returning methods
- firstOrFail() method, Eloquent, Get one
- firstOrNew() method, Eloquent, firstOrCreate() and firstOrNew()
- flag, defined, Glossary
- flash session storage, Flash Session Storage
- flash() method, Request, Persistence
- flash() method, Session, Flash Session Storage
- flashExcept() method, Request, Persistence
- flashOnly() method, Request, Persistence
- float() method, Blueprint, Creating columns
- fluent interface, Query Builder
- fluent, defined, Glossary
- flush() method, Cache, Methods Available on Cache Instances
- flush() method, Request, Persistence
- flush() method, Session, Methods Available on Session Instances
- Flysystem package, Local and Cloud File Managers, Adding Additional Flysystem Providers, Glossary
- @for directive, Blade, @for, @foreach, and @while
- forceDelete() method, Eloquent, Force-deleting soft-deleted entities
- @foreach directive, Blade, @for, @foreach, and @while
- @forelse directive, Blade, @forelse and @endforelse
- forever() method, Cache, Methods Available on Cache Instances
- Forge, Basic Queue Configuration, Forge, Glossary
- forget() method, Cache, Methods Available on Cache Instances
- forget() method, Session, Methods Available on Session Instances
- ForgotPasswordController, ForgotPasswordController
- form encoding, Uploaded Files
- form method spoofing, Form Method Spoofing
- form requests, Form Requests-Using a Form Request, Passing Parameters to Middleware
- forUser() method, Gate, The Gate Facade (and Injecting Gate)
- FQCN (fully qualified class name), Glossary
- Fractal package, Transforming Results
- frameworks, Why Use a Framework?-Laravel 5
- from() method, mailable, Methods Available in build()
- frontend components, Frontend Presets
- (see also Mix build tool)
- full-text search, Scout package for, Full-Text Search with Laravel Scout-Manually Triggering Indexing via the CLI
- functional tests (see application tests)
- functions (see helper functions)
G
- Gate facade, The Gate Facade (and Injecting Gate)
- GET method, The HTTP Verbs
- get() method, Cache, Methods Available on Cache Instances
- get() method, Cookie, The Cookie facade
- get() method, DB, Chaining with the Query Builder, Ending/returning methods
- get() method, Eloquent, Get many
- get() method, ParameterBag, Basic user input
- get() method, Route, Route Names
- get() method, Session, Methods Available on Session Instances
- get() method, Storage, Using the Storage Facade
- get() method, TestCase, Testing Basic Pages with $this->get() and Other HTTP Calls
- getFacadeAccessor() method, How Facades Work
- getJson() method, Testing JSON APIs with $this->getJson() and Other JSON HTTP Calls
- getRealPath() method, SplFileInfo, Basic File Uploads and Manipulation
- getVisibility() method, Storage, Using the Storage Facade
- .gitignore file, The Loose Files
- global scopes, Global scopes-Removing global scopes
- grant types, Passport, Passport’s Available Grant Types-Tokens from Laravel session authentication (synchronizer tokens)
- groupBy() method, collection, A Few Methods
- groupBy() method, DB, Modifying methods
- Grunt, Laravel Mix
- guard() method, Using Other Guards Without Changing the Default
- guards, Guards-Closure Request Guards
- @guest directive, Blade Authentication Directives
- guest middleware, Auth Middleware
- guest() method, Using the auth() Global Helper and the Auth Facade
- guest() method, redirects, Other Redirect Methods
- Gulp, Laravel Mix, Glossary
- gulpfile.js file, Laravel’s Directory Structure
H
- handle() method, events, Listening for an Event
- handle() method, jobs, Creating a job
- handle() method, requests, Laravel’s kernel, Creating Custom Middleware-Understanding middleware’s handle() method, Passing Parameters to Middleware
- has() method, Cache, Methods Available on Cache Instances
- has() method, Cookie, The Cookie facade
- has() method, Eloquent, Selecting only records that have a related item
- has() method, ParameterBag, Basic user input
- has() method, Request, $request->has()
- has() method, Session, Methods Available on Session Instances
- HasApiTokens trait, Installing Passport
- hasCookie() method, Request, Persistence
- hasFile() method, Request, Uploaded Files, Files
- hasMany() method, Eloquent, One to many
- hasManyThrough() method, Eloquent, Has many through
- hasOne() method, Eloquent, One to one
- hasOneThrough() method, Eloquent, Has one through
- having() method, DB, Modifying methods
- havingRaw() method, DB, Modifying methods
- HEAD method, The HTTP Verbs
- header() method, Request, User and request state, Reading Request Headers in Laravel
- header() method, Response, Sending Response Headers in Laravel
- headers (see request headers) (see response headers)
- $headers array, Trusted Proxies
- help command, Artisan, Basic Artisan Commands
- helper functions, Helpers-Miscellaneous
- helper methods
- here() method, Echo, Presence channels
- $hidden property, Transforming Results
- HMR (Hot Module Replacement; hot reloading), Hot Module Replacement, Glossary
- home() method, redirects, Other Redirect Methods
- Homestead, Laravel Homestead, Homestead, Glossary
- Horizon, Laravel Horizon, Horizon, Glossary
- Hot Module Replacement (HMR), Hot Module Replacement, Glossary
- .htaccess file, Bootstrapping the Application
- htmlentities() function, Echoing Data, Strings
- HTTP method spoofing, HTTP Method Spoofing in HTML Forms
- HTTP methods (verbs), The HTTP Verbs, Route Verbs, HTTP Verbs in Laravel
- HTTP redirects, Redirects-redirect()->with(), Miscellaneous, Miscellaneous
- HTTP requests, Aborting the Request, Laravel’s Request Lifecycle-Persistence, Trusted Proxies-Trusted Proxies
- (see also Request object)
- HTTP responses, Custom Responses, The Response Object-The Responsable interface, Miscellaneous
- (see also Response object)
- HTTP tests, HTTP Tests-Handling Exceptions in Application Tests
- HttpFoundation classes, The Request Object
- HTTPS requests, Trusted Proxies-Trusted Proxies
- hyphen, double (- -), preceding Artisan command options, Options—required values, value defaults, and shortcuts
I
- id() method, Using the auth() Global Helper and the Auth Facade
- @if directive, Blade, @if
- if statements, Easier Custom Directives for “if” Statements
- illuminate collections, Chaining with the Query Builder
- illuminate namespace, Glossary
- implicit route model binding, Implicit Route Model Binding
- @include directive, Blade, @include
- increment() method, Cache, Methods Available on Cache Instances
- increment() method, DB, Updates
- increments() method, Blueprint, Creating columns
- index() method, Blueprint, Building extra properties fluently
- index() method, resource controllers, The HTTP Verbs
- index.php file, Bootstrapping the Application
- info() method, Output
- @inject directive, Blade, Blade Service Injection
- input() method, Request, $request->input(), JSON Input (and $request->json()), Basic user input
- inRandomOrder() method, DB, Modifying methods
- insert() method, DB, Raw inserts, Inserts
- insertGetId() method, DB, Inserts
- installer tool, Installing Laravel with the Laravel Installer Tool, Up and Running, The Laravel Installer
- instance() method, Mockery, A Quick Introduction to Mockery
- instances, binding to, Binding to Singletons, Aliases, and Instances
- integer() method, Blueprint, Creating columns
- integration tests, Simple Unit Tests, Glossary
- intended() method, redirects, Other Redirect Methods
- InteractsWithQueue trait, Creating a job
- InteractsWithSockets trait, Excluding the current user from broadcast events
- interfaces (contracts), The User Model and Migration, Binding a Concrete Instance to an Interface
- Intervention library, Basic File Uploads and Manipulation
- invoke() method, Single Action Controllers
- IoC (inversion of control), A Quick Introduction to Dependency Injection, Testing, Glossary
- IoC container (see container)
- ip() method, Request, User and request state
- is() method, Request, User and request state
- isEmpty() method, collection, A Few Methods
- isJson() method, Request, User and request state
- isMethod() method, Request, $request->method() and ->isMethod()
- isNotEmpty() method, collection, A Few Methods
- isValid() method, File, Uploaded Files
J
- JavaScript
- JavaScript ES6, Processing JavaScript
- JavaScript files, Blade stacks for, Using Stacks
- JavaScript Object Notation (see JSON)
- jobs, Queued Jobs-Customizing the delay
- join() method, collection, A Few Methods
- join() method, DB, Joins
- join() method, Echo, Presence channels
- js() method, Mix, Vue and React
- JSON (JavaScript Object Notation)
- JSON Web Token (JWT), Tokens from Laravel session authentication (synchronizer tokens), Glossary
- json() method, Blueprint, Creating columns
- json() method, Request, JSON Input (and $request->json()), Basic user input
- json() method, Response, response()->json() and ->jsonp(), JSON responses
- jsonb() method, Blueprint, Creating columns
- jsonp() method, Response, response()->json() and ->jsonp()
- JWT (JSON Web Token), Tokens from Laravel session authentication (synchronizer tokens), Glossary
K
- keep() method, Session, Flash Session Storage
- kernel, Laravel’s kernel
- Kernel.php file, Binding global middleware
- key commands, Artisan, The Grouped Commands
- key, storing default string as, Storing the default string as the key with JSON
- keys() method, Dusk, Interactions with the page
- keys() method, ParameterBag, Basic user input
L
- Lambo package, Lambo: Super-Powered “Laravel New”
- Laravel
- advantages of, What’s So Special About Laravel?-How Laravel Achieves Developer Happiness
- community for, The Laravel Community
- documentation for, What This Book Is About
- ecosystem for, The Laravel Ecosystem-Other Resources
- installer, Installing Laravel with the Laravel Installer Tool, Up and Running, The Laravel Installer
- local development environments for, Local Development Environments-The Loose Files
- online resources, Other Resources
- PHP versions and extensions for, System Requirements
- starting, Up and Running
- system requirements, Who This Book Is For, System Requirements
- versions of (see versions of Laravel)
- Laravel Cashier, Cashier, Glossary
- Laravel Dusk (see Dusk)
- Laravel Echo (see Echo)
- Laravel Envoy, Envoy
- Laravel Envoyer (see Envoyer)
- Laravel Forge (see Forge)
- Laravel Homestead (see Homestead)
- Laravel Horizon (see Horizon)
- Laravel Lumen, Lumen
- Laravel Mix (see Mix build tool)
- laravel new command (Laravel installer), Installing Laravel with the Laravel Installer Tool, Up and Running
- Laravel Nova, Nova, Glossary
- Laravel Passport (see Passport package)
- Laravel Socialite, Socialite, Glossary
- Laravel Spark, Spark, Glossary
- Laravel Telescope, Telescope, Glossary
- Laravel Valet (see Valet package)
- laravel.log file, The log driver
- last() method, collection, A Few Methods
- lastModified() method, Storage, Using the Storage Facade
- later() method, Mail, Queues
- latest() method, DB, Modifying methods
- lazy loading, Eager loading, Lazy eager loading
- LengthAwarePaginator class, Manually Creating Paginators
- lifecycle of application, Laravel’s Request Lifecycle-boot(), register(), and deferring on service providers
- line() method, Output
- links() method, Paginating Database Results
- listen() method, Echo, Using Echo for basic event broadcasting
- listeners, for events, Listening for an Event-Configuration and Setup
- listenForWhisper() method, Echo, Client events
- loadMissing() method, Eloquent, Lazy eager loading
- local development environments, Local Development Environments-The Loose Files
- local disk, Configuring File Access
- local scopes, Local scopes
- localization, Localization-Translation and Localization
- Log facade, Facades and the Container-Real-Time Facades
- Log Fake package, Log
- logging, Facades and the Container-Real-Time Facades, Logging-Writing to specific log channels, The log driver
- logging out, manually, Manually Logging Out a User
- login() method, AuthenticatesUsers trait, Manually Authenticating Users
- loginAs() method, Dusk, Authentication and databases
- LoginController, LoginController-ThrottlesLogins trait
- loginUsingId() method, Manually Authenticating Users
- logoutOtherDevices() method, Invalidating Sessions on Other Devices
- longText() method, Blueprint, Creating columns
- $loop variable, @forelse and @endforelse
- loops (Blade), Loops-@forelse and @endforelse, @each
- Lumen, Lumen
M
- mail, Mail and Notifications-TL;DR
- attachments, Attachments and Inline Images
- capturing, Mailtrap.io
- classic mail, “Classic” Mail
- configuring, Mail
- creating, Basic “Mailable” Mail Usage-Basic “Mailable” Mail Usage
- customizing, Methods Available in build()
- drivers supported, Mail
- HTML vs. plain-text, Mail Templates
- inline images, Attachments and Inline Images
- local development, Local Development
- logging, The log driver
- mailable mail, Basic “Mailable” Mail Usage-Basic “Mailable” Mail Usage
- manually modifying, Methods Available in build()
- Markdown mailables, Markdown Mailables-Markdown components
- notifications, Notifications-Other notifications
- queues for, Queues, Queues Supporting Other Functions
- rendering mailables to the browser, Rendering Mailables to the Browser
- sending, Basic “Mailable” Mail Usage
- templates, Mail Templates
- testing, Local Development, Mail
- universal to, Universal to
- Mail facade, testing, Mail Fakes
- mail.php file, Mail, Universal to
- mailables, Glossary
- MailThief, Mail
- Mailtrap, Mailtrap.io
- make commands, Artisan, Writing Custom Artisan Commands
- make() method, app, The app() Global Helper
- make() method, Cookie, The Cookie facade
- make() method, model factories, Using a model factory
- make() method, Response, response()->make()
- make:controller command, Artisan, Controllers, Controllers, Resource Controllers
- make:event command, Artisan, Firing an Event
- make:factory command, Artisan, Creating a model factory
- make:job command, Artisan, Creating a job
- make:mail command, Artisan, Basic “Mailable” Mail Usage, Markdown Mailables
- make:middleware command, Artisan, Creating Custom Middleware
- make:migration command, Artisan, Creating a migration
- make:model command, Artisan, Creating and Defining Eloquent Models, Controller Organization and JSON Returns
- make:policy command, Artisan, Generating policies
- make:resource command, Artisan, Creating a Resource Class
- make:seeder command, Artisan, Creating a Seeder
- makeDirectory() method, Storage, Using the Storage Facade
- makeVisible() method, Eloquent, Hiding attributes from JSON
- makeWith() method, app, Method Injection
- many to many polymorphic relationships, Many to many polymorphic
- many-to-many relationships, Eloquent Relationships, Many to many-Getting data from the pivot table
- map() method, collection, A Few Methods
- mapApiRoutes() method, RouteServiceProvider, Using middleware groups
- mapWebRoutes() method, RouteServiceProvider, Using middleware groups
- Markdown
- markdown() method, Markdown Mailables, Markdown mail notifications
- mass assignment, Mass assignment, Eloquent Model Mass Assignment, Glossary
- max() method, DB, Ending/returning methods
- Mbstring PHP extension, System Requirements
- mediumInteger() method, Blueprint, Creating columns
- mediumText() method, Blueprint, Creating columns
- Memcached data store, Other Database Configuration Options, Glossary
- message bags, Message Bags-Named Error Bags, Testing Message and Error Bags
- message() method, Request, Custom Rule Objects
- MessageBag class, Message Bags-Named Error Bags
- method injection, A Quick Introduction to Dependency Injection, Method Injection
- method() method, Request, $request->method() and ->isMethod(), User and request state
- methods, Route Names
- middleware, Route Definitions, Laravel and Middleware-Passing Parameters to Middleware
- middleware() method, Applying middleware in controllers, Using middleware groups
- migrate command, Artisan, Running Migrations, Basic Artisan Commands, The Grouped Commands, Controller Organization and JSON Returns
- migrate:fresh command, Artisan, DatabaseMigrations
- migrations, Migrations-Running Migrations
- columns, creating, Creating columns-Building extra properties fluently
- columns, modifying, Modifying columns-Adding and removing foreign keys
- creating with Eloquent model, Creating and Defining Eloquent Models
- defined, Glossary
- defining, Defining Migrations-Adding and removing foreign keys
- field properties, Building extra properties fluently
- foreign keys, Adding and removing foreign keys
- indexes, adding, Indexes and foreign keys
- indexes, removing, Removing indexes
- running, Running Migrations
- tables, creating, Creating tables
- tables, dropping, Dropping tables
- min() method, DB, Ending/returning methods
- Mix build tool, Laravel Mix-Environment variables in Mix
- as part of Laravel ecosystem, Mix
- copying files or directories, Copying files or directories
- defined, Glossary
- directory structure for, Mix Folder Structure
- environment variables, Environment variables in Mix
- HMR, Hot Module Replacement
- JavaScript, concatenating, Concatenating JavaScript
- JavaScript, processing, Processing JavaScript
- pre- and post-processors, Pre- and post-processors
- preprocessorless CSS, Preprocessorless CSS
- running, Running Mix
- source maps, generating, Source maps
- vendor extraction, Vendor extraction
- versioning, Versioning-Versioning
- Vue and React components, Vue and React
- mix() helper, Versioning, Hot Module Replacement
- mix.version() method, Versioning
- Mockery library, Testing, A Quick Introduction to Mockery-Faking Other Facades, Glossary
- mocking, Mocking-Faking Other Facades
- model
- model factories, Model Factories-Defining and accessing multiple model factory states, Using Model Factories in Tests, Glossary
- Model-View-Controller (MVC) pattern (see MVC pattern)
- modelKeys() method, collection, What Eloquent collections add
- morphs() method, Blueprint, Creating columns
- move() method, Storage, Using the Storage Facade
- multitenancy, Example: Using Custom Blade Directives for a Multitenant App, Glossary
- mutators, Mutators, Glossary
- MVC (Model-View-Controller) pattern, What Is MVC?
N
- name prefixes, route groups for, Name Prefixes
- name() method, Route Names
- namespace prefixes, route groups for, Namespace Prefixes
- namespaces
- default App namespace, replacing, The Grouped Commands
- escaping backslashes in JavaScript, Simple WebSockets listening with Pusher
- facades for namespaced classes, Aliasing a component to be a directive
- for contracts, The User Model and Migration
- for controllers, Controllers
- for facades, JSON Input (and $request->json()), Facades and the Container
- Illuminate, Bootstrapping the Application
- make namespace, for Artisan, Writing Custom Artisan Commands
- Nexmo, SMS notifications
- Nginx, Glossary
- Node.js, installing, Running Mix
- Notifiable trait, Sending Notifications
- Notification facade, Notification Fakes, Sending Notifications
- notifications, Notifications-Other notifications
- broadcast notifications, Broadcast notifications
- channels for, Notifications
- creating, Notifications-Notifications
- database notifications, Database notifications
- defined, Glossary
- drivers supported, Out-of-the-Box Notification Types
- Markdown, Markdown mail notifications
- queueing, Queueing Notifications
- sending, Sending Notifications
- Slack notifications, Slack notifications
- SMS notifications, SMS notifications
- subscribing to, Subscribing to notifications with Echo
- testing, Notifications
- notifications commands, Artisan, The Grouped Commands
- notify() method, Notifiable, Sending notifications using the Notifiable trait
- Nova, Nova, Glossary
- now() helper, Signing a Route
- NPM (Node Package Manager), Glossary
- npm install command, Bringing Echo into your project
- nullable() method, Blueprint, Building extra properties fluently
- nullableTimestamps() method, Blueprint, Creating columns
O
- OAuth 2.0, A Brief Introduction to OAuth 2.0, Glossary
- (see also Passport package)
- object-relational mapper (ORM), Dynamic rate limiting, Glossary
- old() helper, redirect()->with(), Miscellaneous
- old() method, Request, Persistence
- oldest() method, DB, Modifying methods
- once() method, Manually Authenticating Users
- onceUsingId() method, Manually Authenticating Users
- onConnection() method, jobs, Customizing the connection
- onConnection() method, mailable, Queues
- one-to-many relationships, Eloquent Relationships, One to many-Selecting only records that have a related item
- one-to-one relationships, One to one-One to one
- online resources
- only() method, Request, Mass assignment, $request->except() and $request->only(), Eloquent Model Mass Assignment, Basic user input
- only() method, Session, Methods Available on Session Instances
- onlyTrashed() method, Eloquent, Querying with soft deletes
- onQueue() method, events, Customizing the queue
- onQueue() method, jobs, Customizing the queue
- onQueue() method, mailable, Queues
- onUserSubscription() method, events, Event subscribers
- OpenSSL PHP extension, System Requirements
- operating system requirements, Who This Book Is For, System Requirements
- optimize command, Artisan, Basic Artisan Commands
- option()/options() methods, Artisan, option() and options(), Glossary
- OPTIONS method, The HTTP Verbs
- orderBy() method, DB, Modifying methods
- orderBy() method, Eloquent, Retrieving Data with Eloquent
- ORM (object-relational mapper), Dynamic rate limiting, Glossary
- orWhere() method, DB, Constraining methods
P
- package commands, Artisan, The Grouped Commands
- package.json file, The Loose Files
- Package::make() method, Eloquent, Simple Unit Tests
- page class, Dusk, Pages-Pages
- page tests, Testing Basic Pages with $this->get() and Other HTTP Calls
- paginate() method, Paginating Database Results, Eloquent Pagination
- pagination, Pagination-Manually Creating Paginators, Using Pagination with API Resources
- Paginator class, Manually Creating Paginators
- parameter binding, PDO, Parameter bindings and named bindings
- ParameterBag class, Basic user input
- @parent directive, Blade, @parent
- passes() method, Request, Custom Rule Objects
- Passport package, Installing Passport-Deploying Passport
- passport:keys command, Artisan, Deploying Passport
- PassportServiceProvider, Installing Passport
- password grant, Passport, Password grant
- PATCH method, The HTTP Verbs
- path prefixes, route groups for, Path Prefixes
- path() method, Request, User and request state
- paths
- pause() method, Dusk, Waiting
- PDO parameter binding, Parameter bindings and named bindings
- PDO PHP extension, System Requirements
- personal access client, Personal access tokens
- personal access tokens, Passport, Personal access tokens
- PHP
- PHPSpec, Glossary
- PHPUnit testing framework, Testing, Testing, Glossary
- phpunit.xml file, The Loose Files, The Testing Environment
- pingBefore() method, tasks, Handling Task Output
- pivot table, Many to many-Getting data from the pivot table
- pjax() method, Request, User and request state
- pluck() method, collection, A Few Methods
- pluralization, The String Helpers and Pluralization, Pluralization in localization
- polymorphic relationships, Eloquent Relationships, Polymorphic-Many to many polymorphic, Glossary
- POST method, The HTTP Verbs
- prepend() method, Storage, Using the Storage Facade
- preprocessor, Glossary
- preset command, Artisan, Basic Artisan Commands
- primary key, Glossary
- primary() method, Blueprint, Building extra properties fluently
- priority() method, mailable, Methods Available in build()
- private() method, Echo, Private channels and basic authentication
- progress bars, Progress bars
- progressAdvance() method, Progress bars
- progressFinish() method, Progress bars
- projects
- provides() method, service providers, boot(), register(), and deferring on service providers
- $proxies array, Trusted Proxies
- proxies, trusted, Trusted Proxies-Trusted Proxies
- pub/sub pattern, Events, Broadcasting Events over WebSockets, and Laravel Echo
- public disk, Configuring File Access
- public folder, The Folders
- pull() method, Cache, Methods Available on Cache Instances
- pull() method, Session, Methods Available on Session Instances
- push() method, Session, Methods Available on Session Instances
- Pusher, Broadcasting Events over WebSockets, and Laravel Echo, Receiving the Message-Binding authorization definitions for WebSocket channels
- PUT method, The HTTP Verbs
- put() method, Cache, Methods Available on Cache Instances
- put() method, Session, Methods Available on Session Instances
- put() method, Storage, Using the Storage Facade, Basic File Uploads and Manipulation
- putFile() method, Storage, Using the Storage Facade
Q
- query builder, Query Builder-Transactions
- (see also Eloquent)
- aggregates, Aggregates
- chaining methods with, Chaining with the Query Builder-JSON operations
- conditional methods, Modifying methods
- constraining queries, Constraining methods-Constraining methods
- DB facade for, Basic Usage of the DB Facade
- deletes, Deletes
- inserts, Inserts
- joins, Joins
- JSON operations, JSON operations
- modifying queries, Modifying methods
- multiple query results, format for, Chaining with the Query Builder
- pagination for, Paginating Database Results, Eloquent Pagination
- parameter binding, Parameter bindings and named bindings
- raw SQL queries, Raw SQL, Writing raw queries inside query builder methods with DB::raw
- relationships as, Using relationships as query builders
- returning results, Ending/returning methods
- transactions, Transactions
- unions, Unions
- updates, Updates
- query parameters, versioning assets with, Versioning
- question mark (?)
- question() method, Output
- queue commands, Artisan, The Grouped Commands
- Queue facade, testing, Bus and Queue Fakes
- queue() method, Cookie, The Cookie facade
- queue() method, Mail, Queues
- queue.php file, Basic Queue Configuration
- queue:failed command, Artisan, Handling failed jobs
- queue:failed-table command, Artisan, Handling failed jobs
- queue:flush command, Artisan, Handling failed jobs
- queue:forget command, Artisan, Handling failed jobs
- queue:listen command, Artisan, Limiting the number of tries
- queue:retry all command, Artisan, Handling failed jobs
- queue:retry command, Artisan, Handling failed jobs
- queue:work command, Artisan, Running a Queue Worker, Limiting the number of tries
- Queueable trait, Creating a job
- queues, Queues-Queues Supporting Other Functions
- benefits of, Why Queues?
- configuring, Basic Queue Configuration
- creating jobs in, Creating a job-Creating a job
- defined, Glossary
- deleting jobs in, Controlling the Queue
- dispatching jobs in, Miscellaneous
- error handling, Handling Errors-Handling failed jobs
- for Artisan commands, The Grouped Commands, Queues Supporting Other Functions
- for jobs, Queued Jobs-Customizing the delay
- for mail, Queues, Queues Supporting Other Functions
- number of tries for jobs, Limiting the number of tries
- providers and drivers for, Queues
- pushing jobs onto, Pushing a job onto a queue
- releasing jobs back to, Controlling the Queue
- testing, Testing-Testing
- workers, Running a Queue Worker
R
- radio() method, Dusk, Interactions with the page
- randomly generated data, Creating a model factory
- rate limiting, Rate limiting
- raw() method, DB, Writing raw queries inside query builder methods with DB::raw
- React, Vue and React, Glossary
- react() method, Mix, Vue and React
- read-evaluate-print-loop (REPL) (see Tinker)
- readme.md file, The Loose Files
- real-time facades, Real-Time Facades, Glossary
- redirect() helper, Redirects-redirect()->with(), Redirect responses, Miscellaneous
- redirectPath() method, RegistersUsers trait
- redirects, Redirects-redirect()->with()
- Redis, Other Database Configuration Options, Laravel Horizon, Receiving the Message, Simple WebSockets listening with Pusher, Glossary
- reduce() method, collection, A Few Methods
- reflash() method, Session, Flash Session Storage
- refresh tokens, Authorization code grant
- refresh() method, redirects, Other Redirect Methods
- RefreshDatabase trait, RefreshDatabase
- regenerate() method, Session, Methods Available on Session Instances
- register() method, RegisterUsers, RegistersUsers trait
- register() method, service providers, boot(), register(), and deferring on service providers, Binding to a Closure, Service Providers
- RegisterController, RegisterController-RegistersUsers trait
- RegistersUsers trait, RegistersUsers trait
- regression tests, Testing Basics
- regular expressions
- reject() method, collection, A Few Methods
- relationships, Eloquent Relationships-Many to many polymorphic
- release() method, jobs, Controlling the Queue
- remember me access token, “Remember Me”
- remember() method, Cache, Methods Available on Cache Instances
- rememberForever() method, Cache, Methods Available on Cache Instances
- rememberToken() method, Blueprint, Creating columns
- render() method, pagination, Paginating Database Results
- REPL (read-evaluate-print-loop) (see Tinker)
- Representational State Transfer (REST), The Basics of REST-Like JSON APIs-The Basics of REST-Like JSON APIs
- Request facade, Injecting a Request Object
- request headers, Reading and Sending Headers, Reading Request Headers in Laravel
- Request object, Injecting a Request Object-JSON Input (and $request->json()), The Request Object-Persistence
- accessing, Getting a Request Object in Laravel-Persistence
- array input, accessing, Array Input
- capturing directly, The Request Object
- file handling methods, Files
- form requests, Passing Parameters to Middleware
- headers for, Reading and Sending Headers, Reading Request Headers in Laravel
- JSON input, accessing, JSON Input (and $request->json())
- lifecycle of, Laravel’s Request Lifecycle-Laravel’s kernel
- persistence of, for session interaction, Persistence
- reading cookies from, Reading cookies from Request objects
- testing, Testing-Testing
- typehinting in constructors, Injecting Dependencies into Controllers
- user and request state methods, User and request state
- user input methods, Basic user input
- validate() on, validate() on the Request Object
- request() helper, Injecting a Request Object, JSON Input (and $request->json()), Getting a Request Object in Laravel, Filtering Your API Results
- reset() method, ResetPasswordController
- resetPassword() method, ResetPasswordController
- ResetPasswordController, ResetPasswordController
- resource controller binding, Binding a resource controller
- resource controllers, Resource Controllers-Single Action Controllers, Controller Organization and JSON Returns-Controller Organization and JSON Returns
- resource gates, Resource Gates
- resource() method, Resource Gates
- resources folder, The Folders, Mix Folder Structure
- resources, API, The Basics of REST-Like JSON APIs, Nesting and Relationships with Custom Transformers-Nesting and Relationships with Custom Transformers
- resources, online (see online resources)
- respondWithRoute() method, API resource, Triggering the Fallback Route
- Responsable interface, The Responsable interface-The Responsable interface
- response headers, Sending Response Headers in Laravel
- Response object, The Response Object-The Responsable interface
- creating, Using and Creating Response Objects in Controllers
- custom, Custom Responses
- custom response macros, Custom response macros
- download responses, Download responses
- file responses, File responses
- headers for, Sending Response Headers in Laravel
- JSON responses, JSON responses
- lifecycle of, Laravel’s Request Lifecycle-Laravel’s kernel
- redirect responses, Redirect responses-Redirect responses
- Responsable interface, The Responsable interface-The Responsable interface
- setting cookies on, Setting cookies on Response objects
- testing, Testing-Testing
- view responses, View responses
- $response object, Testing Basic Pages with $this->get() and Other HTTP Calls-Assertions Against $response
- response() helper, Custom Responses, Redirect responses, Miscellaneous
- REST (Representational State Transfer), What Is REST?, The Basics of REST-Like JSON APIs-The Basics of REST-Like JSON APIs, Glossary
- restore() method, Eloquent, Restoring soft-deleted entities
- reverse() method, collection, A Few Methods
- right angle bracket, triple (> > > ), Tinker prompt, Tinker
- rollBack() method, DB, Transactions
- route commands, Artisan, The Grouped Commands
- route groups, Route Groups-Name Prefixes
- route middleware, Auth Middleware, The Authorize Middleware, Binding route middleware
- route model binding, Route Model Binding-Custom Route Model Binding
- route() helper, Route Names, URLs
- route() method, redirect()->route()
- Route::apiResource() method, Controller Organization and JSON Returns
- Route::fallback() method, Customizing 404 Responses
- Route::view(), Returning Simple Routes Directly with Route::view()
- route:cache command, Artisan, Route Caching
- route:list command, Artisan, Binding a resource controller
- routes
- caching, Route Caching
- data from URL, Route Data
- defined, Glossary
- defining, Route Definitions-Route Names
- exiting, Aborting the Request
- fluent definitions of, Route Names
- handling, Route Handling
- modifying to allow signed links, Modifying Routes to Allow Signed Links
- naming, Route Names
- parameters for, Route Parameters, Route Model Binding-Custom Route Model Binding, From Route Parameters
- signed, Signed Routes-Modifying Routes to Allow Signed Links
- testing, Testing
- verbs for, Route Verbs
- routes folder, The Folders
- routes() method, Auth, Auth::routes()
- routes.php file, Route Definitions, Using middleware groups
- RouteServiceProvider, Service Providers, Using middleware groups
- rules (abilities) for authorization, Defining Authorization Rules
- rules() method, form request, Creating a Form Request
S
- S3 cloud storage, Configuring File Access, Glossary
- s3 disk, Configuring File Access
- SaaS (Software as a Service), Glossary
- Sass, Laravel Mix
- save() method, Eloquent, Inserts
- schedule commands, Artisan, The Grouped Commands
- schedule:run command, Artisan, Scheduler
- scheduler, Scheduler-Task Hooks
- Artisan commands as tasks, Available Task Types
- avoiding tasks overlapping, Blocking and Overlap
- closures as tasks, Available Task Types, Handling Task Output
- defining time zones for scheduled commands, Defining Time Zones for Scheduled Commands
- shell commands as tasks, Available Task Types
- task output, handling, Handling Task Output
- task types, Available Task Types
- time frames for, setting, Available Time Frames
- scheduleTimezone() method, tasks, Defining Time Zones for Scheduled Commands
- scopes (filters), Eloquent, Scopes-Removing global scopes, Glossary
- scopes (privileges), OAuth, Passport Scopes-Passport Scopes
- Scout package, Full-Text Search with Laravel Scout-Manually Triggering Indexing via the CLI
- conditional indexing, Conditionally Indexing Models
- defined, Glossary
- drivers supported, Full-Text Search with Laravel Scout
- installing and configuring, Installing Scout
- manually triggering, Manually Triggering Indexing via Code
- marking model for indexing, Marking Your Model for Indexing
- performing operations without indexing, Performing Operations Without Indexing
- queuing actions of, Queues and Scout
- searching index, Searching Your Index
- testing, Scout
- ScoutServiceProvider, Installing Scout
- script injection, {{ Versus {!!
- Searchable trait, Marking Your Model for Indexing
- searchable() method, Manually Triggering Indexing via Code
- searchableAs() method, Marking Your Model for Indexing
- secret() method, Prompts
- @section directive, Blade, Defining Sections with @section/@show and @yield-@parent
- sections, Blade, Defining Sections with @section/@show and @yield-@parent
- secure() method, redirects, Other Redirect Methods
- secure() method, Request, User and request state
- security
- seeCookie() method, TestCase, Cookies
- seeders, Seeding-Defining and accessing multiple model factory states
- seeding, Seeding in Tests
- seePlainCookie() method, TestCase, Cookies
- segment() method, Request, From Request
- segments() method, Request, From Request
- select() method, DB, Raw selects, Constraining methods
- select() method, Dusk, Interactions with the page
- selectRaw() method, DB, Writing raw queries inside query builder methods with DB::raw
- send() method, Mail, “Classic” Mail
- sendOutputTo() method, tasks, Handling Task Output
- serialization, Eloquent Serialization-Hiding attributes from JSON, Glossary
- SerializesModels trait, Creating a job
- serve command, Artisan, Basic Artisan Commands
- server() method, Request, User and request state
- server.php file, The Loose Files
- service container (see container)
- service providers, Service Providers-boot(), register(), and deferring on service providers, Service Providers, Glossary
- (see also specific service providers)
- services, injecting into a view, Blade Service Injection-Blade Service Injection
- services.php file, Mail
- session commands, Artisan, The Grouped Commands
- Session facade, Accessing the Session
- session() helper, Accessing the Session
- session() method, Request, Accessing the Session
- sessions, Sessions-Flash Session Storage
- setter injection, A Quick Introduction to Dependency Injection-A Quick Introduction to Dependency Injection
- setUp() method, Testing
- setVisibility() method, Storage, Using the Storage Facade
- share() method, Sharing a variable globally
- shell commands, scheduling as tasks, Available Task Types
- shouldBeSearchable() method, Conditionally Indexing Models
- ShouldBroadcast interface, Broadcasting an Event
- ShouldBroadcastNow contract, Broadcasting an Event
- shouldHaveReceived() method, Mockery, Faking Other Facades
- shouldIgnoreMissing() method, Mockery, A Quick Introduction to Mockery
- shouldReceive() method, Mockery, A Quick Introduction to Mockery
- @show directive, Blade, Defining Sections with @section/@show and @yield
- show() method, resource controllers, The HTTP Verbs
- showLinkRequestForm() method, ForgotPasswordController
- showLoginForm() method, AuthenticatesUsers trait
- showRegistrationForm() method, RegistersUsers trait
- showResetForm() method, ResetPasswordController
- shuffle() method, collection, A Few Methods
- signed routes, Signed Routes-Modifying Routes to Allow Signed Links
- signed URLs, Signed Routes
- signedRoute() method, Signing a Route
- single action controllers, Single Action Controllers
- single log channel, The single channel
- singleton() method, Binding to Singletons, Aliases, and Instances
- singletons, binding to, Binding to Singletons, Aliases, and Instances
- size() method, Storage, Using the Storage Facade
- skip() method, DB, Modifying methods
- slack log channel, The slack channel
- Slack notifications, Slack notifications
- slash (/), escaping in Artisan commands, Controller Organization and JSON Returns
- @slot directive, Blade, Multiple slots
- slots, Blade, Using Components and Slots-Aliasing a component to be a directive
- smallInteger() method, Blueprint, Creating columns
- SMS notifications, SMS notifications
- Socialite, Socialite, Glossary
- soft deletes, Soft deletes-Force-deleting soft-deleted entities, Glossary
- softDeletes() method, Blueprint, Creating columns, Enabling soft deletes
- sort() method, collection, A Few Methods
- sortBy() method, collection, A Few Methods
- sortByDesc() method, collection, A Few Methods
- sorting API results, Sorting and Filtering-Sorting Your API Results
- source maps, Mix, Source maps
- Spark, Spark, Glossary
- SplFileInfo class, Basic File Uploads and Manipulation
- SQL queries, raw, Raw SQL
- SQLite
- stack log channel, The stack channel
- stacks, Blade, Using Stacks
- state() method, model factories, Defining and accessing multiple model factory states
- stateless APIs, The Basics of REST-Like JSON APIs
- statement() method, DB, Raw SQL
- static calls, Route Definitions
- stdClass object
- storage, Storage and Retrieval-TL;DR
- (see also databases)
- adding providers, Adding Additional Flysystem Providers
- cache, Cache-Methods Available on Cache Instances
- configuring file access, Configuring File Access
- cookies, Cookies-Setting cookies on Response objects
- downloads, Simple File Downloads
- file managers, Local and Cloud File Managers-Adding Additional Flysystem Providers
- flash session storage, Flash Session Storage
- injecting instance for, Using the Storage Facade
- logging, Logging-Writing to specific log channels
- session storage, Sessions-Flash Session Storage
- Storage facade methods for, Using the Storage Facade-Using the Storage Facade
- testing, Testing-Scout
- uploads and manipulation, Basic File Uploads and Manipulation-Basic File Uploads and Manipulation
- storage commands, Artisan, The Grouped Commands
- Storage facade, Storage Fakes, Using the Storage Facade-Using the Storage Facade
- storage folder, The Folders
- storage:link command, Artisan, Configuring File Access
- storage_path() helper, Configuring File Access, Application Paths
- Store class, Accessing the Session
- store() method, resource controllers, The HTTP Verbs
- store() method, UploadedFile, Uploaded Files, Basic File Uploads and Manipulation
- storeAs() method, UploadedFile, Uploaded Files, Basic File Uploads and Manipulation
- Str::camel()() helper, The String Helpers and Pluralization
- Str::contains() helper, The String Helpers and Pluralization, Strings
- Str::endsWith() helper, The String Helpers and Pluralization, Strings
- Str::is() helper, The String Helpers and Pluralization, Strings
- Str::kebab() helper, The String Helpers and Pluralization
- Str::limit() helper, Strings
- Str::plural() helper, The String Helpers and Pluralization, Strings
- Str::random() helper, Strings
- Str::singular() helper, The String Helpers and Pluralization
- Str::slug() helper, The String Helpers and Pluralization, Strings
- Str::snake() helper, The String Helpers and Pluralization
- Str::startsWith() helper, The String Helpers and Pluralization, Strings
- Str::studly() helper, The String Helpers and Pluralization
- Str::title() helper, The String Helpers and Pluralization
- streamDownload() method, Response, response()->download(), ->streamDownload(), and ->file()
- string() method, Blueprint, Creating columns
- strings
- subdomain routing, Subdomain Routing
- subject() method, mailable, Methods Available in build()
- subscribe() method, events, Event subscribers
- sum() method, collection, A Few Methods
- sum() method, DB, Ending/returning methods
- Symfony, Laravel 4, Glossary
- sync() method, Eloquent, Getting data from the pivot table
- synchronizer tokens, Passport, Tokens from Laravel session authentication (synchronizer tokens)-Tokens from Laravel session authentication (synchronizer tokens)
- system requirements, Who This Book Is For, System Requirements
T
- table() method, Table output
- take() method, collection, A Few Methods
- take() method, DB, Modifying methods
- tap() helper, Miscellaneous
- Task::all() query, Views, Controllers
- tasks, scheduling (see scheduler)
- Telescope, Telescope, Glossary
- templates (see Blade) (see views)
- temporarySignedRoute() method, Signing a Route
- @test docblock, Naming Tests
- TestCase class, TestCase
- TestCase.php file, Testing Basics
- testing, Testing-TL;DR
- APIs, Testing
- Artisan commands, Testing, Testing Artisan Commands-Asserting Against Artisan Command Syntax
- authentication and authorization, Testing-Testing
- basics, Testing Basics-Testing Basics
- browsers, Browser Tests-Components
- bus fakes, Bus and Queue Fakes
- cache, Cache
- cookies, Cookies
- database operations, Testing-Testing
- database tests, Database Tests
- dependency injection in, Testing
- environment for, The Testing Environment
- event fakes, Event Fakes
- failed test results, Testing Basics
- frontend components, Testing
- HTTP tests, HTTP Tests-Handling Exceptions in Application Tests
- inversion of control in, Testing
- log, Log
- mail, Mail
- mail fakes, Mail Fakes
- mocking, Mocking-Faking Other Facades
- model factories in, Using Model Factories in Tests
- names for methods prior to Laravel 5.4, Testing
- naming tests, Naming Tests
- notification fakes, Notification Fakes
- notifications, Notifications
- queue fakes, Bus and Queue Fakes
- queues, Testing-Testing
- requests and responses, Testing-Testing
- routes, Testing
- running tests, Testing
- Scout, Scout
- seeding in, Seeding in Tests
- sessions, Session
- storage, Testing-Scout
- Storage fakes, Storage Fakes
- traits for, The Testing Traits-DatabaseTransactions
- user input, Testing
- views, Testing-Testing
- writing tests, Testing
- tests folder, The Folders, Testing Basics
- text() method, Blueprint, Creating columns
- text() method, Dusk, Interactions with the page
- text() method, mailable, Mail Templates
- thenPing() method, tasks, Handling Task Output
- time() method, Blueprint, Creating columns
- times and dates (see Carbon package) (see scheduler) (see timestamps)
- timestamp() method, Blueprint, Creating columns
- timestamps, Creating columns, Updates
- timestamps() method, Blueprint, Creating columns
- timezone() method, tasks, Defining Time Zones for Scheduled Commands
- Tinker, Tinker, Glossary
- tinker command, Artisan, Basic Artisan Commands
- tinyInteger() method, Blueprint, Creating columns
- TL;DR, How This Book Is Structured, Glossary
- to() method, redirect()->to()
- toArray() method, API resource, Creating a Resource Class
- toArray() method, collection, A Few Methods
- toArray() method, Eloquent, Eloquent Serialization
- toBroadcast() method, notification, Broadcast notifications
- toDatabase() method, notification, Database notifications
- toJson() method, Eloquent, Eloquent Serialization
- Tokenizer PHP extension, System Requirements
- tokens, CSRF, CSRF Protection-CSRF Protection
- toMail() method, notification, Email notifications
- toNexmo() method, notification, SMS notifications
- toOthers() method, events, Excluding the current user from broadcast events, Excluding the current user
- toResponse() method, Response, The Responsable interface
- toSearchableArray() method, Marking Your Model for Indexing
- toSlack() method, notification, Slack notifications
- trans() helper, Basic localization
- transaction() method, DB, Transactions
- transactions, Transactions
- translation (see localization)
- Translation component, Symfony, Pluralization in localization
- trashed() method, Eloquent, Querying with soft deletes
- truncate() method, DB, Deletes
- TrustedProxy package, Trusted Proxies-Trusted Proxies
- Twig Bridge package, Blade Templating
- type() method, Dusk, Interactions with the page
- typehint, Injecting Dependencies into Controllers, Glossary
- typehinting, Binding a Concrete Instance to an Interface
U
- ui:auth command, Artisan, The Auth Scaffold
- uncheck() method, Dusk, Interactions with the page
- union() method, DB, Unions
- unionAll() method, DB, Unions
- unique() method, Blueprint, Building extra properties fluently
- unique() method, Faker, Creating a model factory
- unit tests
- universal to, for mail, Universal to
- @unless directive, Blade, @unless and @endunless
- unless() parameter, DB, Conditional methods
- unsearchable() method, Manually Triggering Indexing via Code
- unsigned() method, Blueprint, Building extra properties fluently
- up command, Artisan, Basic Artisan Commands
- up() method, migrations, Defining Migrations
- update() method, DB, Raw updates, Updates
- update() method, Eloquent, Updates-Mass assignment
- update() method, resource controllers, The HTTP Verbs
- updateExistingPivot() method, Eloquent, Getting data from the pivot table
- uploaded files, Uploaded Files-Uploaded Files, Basic File Uploads and Manipulation-Basic File Uploads and Manipulation, Uploading fake files
- UploadedFile class, Uploaded Files, Files, Uploading fake files
- url() helper, Route Names, URLs
- url() method, Dusk, Pages
- url() method, Request, User and request state
- URLs
- user authentication (see authentication)
- user authorization (see authorization)
- user input
- Artisan commands, Using Input-Prompts
- custom rule objects, Custom Rule Objects
- Eloquent model, Eloquent Model Mass Assignment
- form requests, Form Requests-Using a Form Request
- getting and handling with controllers, Getting User Input-Getting User Input
- Request object, Injecting a Request Object-JSON Input (and $request->json()), Basic user input
- route parameters, From Route Parameters
- testing, Testing
- uploaded files, Uploaded Files-Uploaded Files
- URLs, From Request
- validating, Validation-validate() on the Request Object
- User model, The User Model and Migration
- user() method, Using the auth() Global Helper and the Auth Facade, Changing the Default Guard
- username() method, AuthenticatesUsers trait
- uuid() method, Blueprint, Creating columns
V
- Vagrant, Running Migrations
- Valet package, Laravel Valet, Valet, Glossary
- validate() method, redirect()->with()
- validate() method, controller, Validation-Displaying Validation Error Messages
- validateLogin() method, AuthenticatesUsers trait
- validation of user input, Validation-validate() on the Request Object
- Validator class, Manual Validation
- validator() method, RegistersUsers trait
- validators, Message Bags
- value() method, DB, Ending/returning methods
- value() method, Dusk, Interactions with the page
- vendor commands, Artisan, The Grouped Commands
- vendor folder, The Folders
- vendor.js file, Vendor extraction
- VerificationController, VerificationController
- VerifiesEmails, VerificationController
- versioning, in Mix, Versioning-Versioning
- versions of Laravel, About the Second Edition
- versions of Laravel, after 5.1
- versions of Laravel, after 5.2
- versions of Laravel, after 5.3
- versions of Laravel, after 5.4
- versions of Laravel, after 5.5
- versions of Laravel, after 5.6
- versions of Laravel, after 5.7
- assertions against $response, Assertions Against $response
- binding Mockery instances to the container, A Quick Introduction to Mockery
- calling Artisan commands, Calling Artisan Commands in Normal Code
- DeferrableProvider interface, boot(), register(), and deferring on service providers
- defining cache duration, Cache
- defining time zones for scheduled commands, Defining Time Zones for Scheduled Commands
- helper functions, Helpers
- policy auto-discovery, Generating policies
- SMS notifications, SMS notifications
- stack log channel, The stack channel
- versions of Laravel, prior to 5.2
- versions of Laravel, prior to 5.3
- API token authentication, API Token Authentication
- assertViewHas() method, Testing
- authentication controllers, User Authentication and Authorization
- classic mail, “Classic” Mail
- DB facade results, Chaining with the Query Builder
- Eloquent results, Get many
- $expression parameter, Parameters in Custom Blade Directives
- factory states, Defining and accessing multiple model factory states
- form requests, Creating a Form Request
- generating resource controllers, Controllers
- $loop variable, @forelse and @endforelse
- PHP and extensions, System Requirements
- policy methods, Generating policies
- routes file, Route Definitions
- withCookie() method, Response, Setting cookies on Response objects
- versions of Laravel, prior to 5.4
- versions of Laravel, prior to 5.5
- versions of Laravel, prior to 5.6
- versions of Laravel, prior to 5.7
- versions of Laravel, prior to 5.8
- via() method, notification, Notifications, Defining the via() Method for Your Notifiables
- viaRemember() method, “Remember Me”
- viaRequest() auth method, Closure Request Guards
- view commands, Artisan, The Grouped Commands
- view composers, Using View Composers to Share Variables with Every View, Binding Data to Views Using View Composers-View-scoped view composers with classes, Glossary
- view partials, Including View Partials-@each
- view responses, View responses
- view() helper, Sharing a variable globally, View responses, Miscellaneous
- view() method, Response, View responses
- views, Views-Using View Composers to Share Variables with Every View
- $visible property, Transforming Results
- Vue, Vue and React, The Vue components-The Vue components, Glossary
- Vue Resource, CSRF Protection
W
- waitFor() method, Dusk, Waiting
- waitForLink() method, Dusk, Waiting
- waitForLocation() method, Dusk, Waiting
- waitForMissing() method, Dusk, Waiting
- waitForReload() method, Dusk, Waiting
- waitForRoute() method, Dusk, Waiting
- waitForText() method, Dusk, Waiting
- waitUntil() method, Dusk, Waiting
- wantsJson() method, Request, User and request state
- web guard, Guards
- web middleware group, Using middleware groups
- web routes, Route Definitions
- web.php file, Route Definitions
- Webpack, Laravel Mix, Processing JavaScript, Glossary
- webpack.mix.js file, The Loose Files, Laravel Mix
- website resources (see online resources)
- WebSocket authentication (see Echo)
- WebSockets, Broadcasting Events over WebSockets, and Laravel Echo-Client events
- authorization for channels, Binding authorization definitions for WebSocket channels-Binding authorization definitions for WebSocket channels
- broadcasting events, Broadcasting an Event-Broadcasting an Event
- channels for, Broadcasting an Event, Binding authorization definitions for WebSocket channels-Binding authorization definitions for WebSocket channels
- configuring, Configuration and Setup
- drivers supported, Configuration and Setup
- Echo for, Simple WebSockets listening with Pusher
- event structure for, Broadcasting an Event
- excluding user from events, Excluding the current user from broadcast events
- pub/sub pattern used by, Broadcasting Events over WebSockets, and Laravel Echo
- receiving event messages, Receiving the Message-Client events
- service provider configuration, The broadcast service provider-Binding authorization definitions for WebSocket channels
- when() parameter, DB, Conditional methods
- whenAvailable() method, Dusk, Waiting
- where() method, collection, A Few Methods
- where() method, DB, Constraining methods
- where() method, Eloquent, Get many
- whereBetween() method, DB, Constraining methods
- whereExists() method, DB, Constraining methods
- whereIn() method, DB, Constraining methods
- whereNull() method, DB, Constraining methods
- whereRaw() method, DB, Constraining methods
- @while directive, Blade, @for, @foreach, and @while
- whisper() method, Echo, Client events
- with() method, redirect()->with()-redirect()->with(), View-scoped view composers with closures
- with() method, Eloquent, Constraining eager loads
- withCookie() method, Response, Setting cookies on Response objects
- withcount() method, Eloquent, Eager loading only the count
- withErrors() method, Named Error Bags
- withExceptionHandling() method, Handling Exceptions in Application Tests
- withHeaders() method, A Few Other Customizations to Your HTTP Tests
- withInput() method, redirect()->with()
- withoutExceptionHandling() method, Handling Exceptions in Application Tests
- withoutGlobalScope() method, Removing global scopes
- withoutGlobalScopes() method, Removing global scopes
- WithoutMiddleware trait, WithoutMiddleware
- withoutOverlapping() method, tasks, Blocking and Overlap
- withoutSyncingToSearch() method, Performing Operations Without Indexing
- withPivot() method, Eloquent, Getting data from the pivot table
- withSession() method, A Few Other Customizations to Your HTTP Tests
- withSwiftMessage() method, mailable, Methods Available in build()
- withTrashed() method, Eloquent, Querying with soft deletes
- workers for queues, Running a Queue Worker
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.