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
The Joys of Hashing: Hash Table Programming with C
Build working implementations of hash tables, written in the C programming language. This book starts with …
book
Learning Debian GNU/Linux
Linux and Open Source are attracting unprecedented attention in the high tech world. Debian GNU/Linux is …
book
Learn PostgreSQL
A comprehensive guide to building, managing, and securing scalable and reliable database and data warehousing applications …
book
Learning TypeScript
TypeScript has conquered the world of JavaScript: it's one of the world's fastest growing and most …