Easy Laravel 5
Easy Laravel 5
$28.00
Minimum price
$31.00
Suggested price
Easy Laravel 5

This book is 100% complete

Completed on 2018-02-16

About the Book

Easy Laravel 5 is a fun, hands-on guide to the powerful Laravel framework. You'll learn how to quickly implement your own project idea by following along with the creation of a real-world project covering concepts such as models, views, resourceful controllers and forms integration. You'll also learn all about key Laravel features, including Eloquent, model relationships, form requests, Laravel Mix, user account registration, authentication, and management, and Vue.js.

Check out the revamped http://www.easylaravelbook.com for more information about the author, table of contents, and companion videos. You'll also find dozens of adapted book excerpts over on the blog.

  • Share this book

About the Author

W. Jason Gilmore
W. Jason Gilmore

W. Jason Gilmore is a Dublin, Ohio-based software developer, writer and consultant. He has spent much of the past 15 years helping companies of all sizes build amazing solutions. Recent projects include a Stripe-powered SaaS for the interior design and architecture market, an e-commerce analytics application for a globally recognized publisher, a Linux-powered autonomous environmental monitoring buoy, and a 10,000+ product online store.

Jason is the author of nine books, including the bestselling "Easy E-Commerce Using Laravel and Stripe", "Beginning PHP and MySQL, Fourth Edition", "Easy PHP Websites with the Zend Framework", and "Easy Active Record for Rails Developers". Over the years Jason has published more than 300 articles within popular publications such as Developer.com, JSMag, and Linux Magazine, and instructed hundreds of students in the United States and Europe.

Jason is cofounder of the wildly popular CodeMash Conference, the largest multi-day developer event in the Midwest. Away from the keyboard, you’ll often find Jason hunched over a chess board or having fun with DIY electronics.

Table of Contents

  • Introduction
    • Introducing the HackerPair Companion Project
    • About this Book
    • About W. Jason Gilmore
    • Errata and Suggestions
  • Chapter 1. Introducing Laravel
    • Installing the Laravel Installer
    • Managing Your Local Laravel Project Hosting Environment
    • Perusing the HackerPair Skeleton Code
    • Configuring Your Laravel Application
    • Useful Development and Debugging Tools
    • Testing Your Laravel Application
    • Conclusion
  • Chapter 2. Managing Your Project Controllers, Layout, Views, and Other Assets
    • Creating Your First View
    • Creating Your First Controller
    • Managing Your Application Routes
    • Introducing the Blade Template Engine
    • Integrating Images, CSS and JavaScript
    • Introducing Laravel Mix
    • Project Exercise: Build the HackerPair Skeleton
    • Testing the Project Skeleton with Laravel Dusk
    • Conclusion
  • Chapter 3. Talking to the Database
    • Configuring Your Project Database
    • Introducing the Eloquent ORM
    • Creating Your First Model
    • Introducing Migrations
    • Seeding the Database
    • Introducing Resourceful (RESTful) Controllers
    • Creating a Resourceful Controller
    • Tweaking Your Eloquent Queries
    • Introducing Query Builder
    • Summary
  • Chapter 4. Customizing Your Models
    • Managing Model Dates and Times
    • Defining Accessors and Mutators
    • Introducing Query Scopes
    • Creating Sluggable URLs
    • Testing Your Models
    • Summary
  • Chapter 5. Creating, Updating, and Deleting Data
    • Inserting Records Into the Database
    • Updating Existing Records
    • Deleting Records
    • Implementing the Event Controller’s Remaining Resourceful Actions
    • Integrating Flash Notifications
    • Updating an Event
    • Conclusion
  • Chapter 6. Validating User Input
    • Introducing Validation Rules
    • Introducing Form Requests
  • Chapter 7. Creating and Managing Model Relationships
    • Introducing Relations
    • Introducing One-to-One Relations
    • Introducing the Belongs To Relationship
    • Introducing One-to-Many (Has Many) Relationships
    • Introducing Many-to-Many Relations
    • Introducing Has Many Through Relations
    • Introducing Polymorphic Relations
    • Eager Loading
    • Conclusion
  • Chapter 8. Sending E-mails
    • Creating the Contact Form
    • Creating the Contact Form Request
    • Configuring Laravel’s Mail Component
    • Generating the Mailable Class
    • Protecting Your Form with a CAPTCHA
    • Summary
  • Chapter 9. Authenticating and Managing Your Users
    • Registering Users
    • Retrieving the Authenticated User
    • Restricting Forms to Authenticated Users
    • Adding Custom Fields to the Registration Form
    • Allowing Login Using a Username
    • Integrating OAuth with Laravel Socialite
    • Summary
  • Chapter 10. Creating a Restricted Administration Console
    • Identifying Administrators
    • Creating the Administration Controllers
    • Restricting Access to the Administration Console
    • Summary
  • Chapter 11. Introducing Events and Notifications
  • Chapter 11. Introducing Vue.js
    • Installing Vue
    • Creating Your First Component
    • Responding to Browser Events
    • Working with Props
    • Rendering Lists
    • Nesting Components
    • Integrating AJAX Requests with Axios
    • Summary
  • Chapter 12. Creating an Application API with Laravel Passport
    • API Fundamentals
    • Introducing Laravel’s API Infrastructure
    • Creating an API Endpoint
    • Creating New Events via the API
    • Introducing Laravel Passport
    • Conclusion

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub