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
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
JavaScript: The Definitive Guide, 7th Edition
JavaScript is the programming language of the web and is used by more software developers today …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …