Book description
What sets Laravel apart from other PHP web frameworks? Speed and simplicity, for starters. This rapid application development framework and its vast ecosystem of tools let you quickly build new sites and applications with clean, readable code. With this practical guide, Matt Stauffer—a leading teacher and developer in the Laravel community—provides the definitive introduction to one of today’s most popular web frameworks.
The book’s high-level overview and concrete examples will help experienced PHP web developers get started with Laravel right away. By the time you reach the last page, you should feel comfortable writing an entire application in Laravel from scratch.
Dive into several features of this framework, including:
- Blade, Laravel’s powerful, custom templating tool
- Tools for gathering, validating, normalizing, and filtering user-provided data
- Laravel’s Eloquent ORM for working with the application’s databases
- The Illuminate request object, and its role in the application lifecycle
- PHPUnit, Mockery, and PHPSpec for testing your PHP code
- Laravel’s tools for writing JSON and RESTful APIs
- Interfaces for file system access, sessions, cookies, caches, and search
- Tools for implementing queues, jobs, events, and WebSocket event publishing
- Laravel’s specialty packages: Scout, Passport, Cashier, Echo, Elixir, Valet, and Socialite
Publisher resources
Table of contents
- Preface
- 1. Why Laravel?
- 2. Setting Up a Laravel Development Environment
- 3. Routing and Controllers
- 4. Blade Templating
- 5. Frontend Components
- 6. Collecting and Handling User Data
- 7. Artisan and Tinker
-
8. Database and Eloquent
- Configuration
- Migrations
- Seeding
- Query Builder
-
Introduction to Eloquent
- Creating and Defining Eloquent Models
- Retrieving Data with Eloquent
- Inserts and Updates with Eloquent
- Deleting with Eloquent
- Scopes
- Customizing Field Interactions with Accessors, Mutators, and Attribute Casting
- Eloquent Collections
- Eloquent Serialization
- Eloquent Relationships
- Child Records Updating Parent Record Timestamps
- Eloquent Events
- Testing
- TL;DR
- 9. User Authentication and Authorization
- 10. Requests and Responses
- 11. The Container
- 12. Testing
- 13. Writing APIs
- 14. Storage and Retrieval
- 15. Mail and Notifications
- 16. Queues, Jobs, Events, Broadcasting, and the Scheduler
- 17. Helpers and Collections
- Glossary
- Index
Product information
- Title: Laravel: Up and Running
- Author(s):
- Release date: November 2016
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491936085
You might also like
book
Laravel: Up & Running, 2nd Edition
What sets Laravel apart from other PHP web frameworks? Speed and simplicity, for starters. This rapid …
book
Domain-Driven Laravel: Learn to Implement Domain-Driven Design Using Laravel
Map concepts and ideas in domain-driven design (DDD) and transpose them into clean, testable, and quality …
book
Hands-On Full Stack Web Development with Angular 6 and Laravel 5
Build modern, fast, and progressive web applications using modern features of PHP 7 and TypeScript Key …
book
Beginning Laravel: Build Websites with Laravel 5.8
Develop cutting-edge websites and applications using the new features of Laravel 5.8. This book starts with …