Leanpub Header

Skip to main content

Easy Laravel 5

A Hands On Introduction Using a Real-World Project

Easy Laravel 5 is a fun, hands-on guide to the popular Laravel framework. You’ll learn by following along with countless examples based on a real-world Laravel-driven web application. This third edition is now available, and has been updated for Laravel 5.5. A new 27 page chapter introducing Vue.js is available in this latest release!

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
765
Readers
0
Pages
0Words
About

About

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

Categories

Price

Pick Your Price...

Minimum price

$28.00

$31.00

You pay

$31.00

Author earns

$24.80
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 2)

2
The author will earn $24.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

W. Jason Gilmore

Jason Gilmore loves technology. And he loves to talk. Over the years he's conducted more than 2,000 technical sales demos, and currently spends his days helping companies like Appsembler, UXPin, and MetricFire identify aha! moments within their products that turn users into fans.

After spending almost 20 years building software products for organizations involved in telecom, education, publishing, architecture, and other industries, Jason transitioned to a series of executive roles in several technology companies. He served for several years as CTO of DreamFactory Software prior to joining the online coding and design school trailblazer Treehouse as CEO. He's currently the CTO of the no-code mobile app builder Adalo.

Jason resides in Dublin, Ohio with his wife Carli and three children. Away from the keyboard, he enjoys reading, fishing, golf, and things that go fast. But most of all, he loves programming.

Leanpub Podcast

Episode 104

An Interview with W. Jason Gilmore

Contents

Table of Contents

Introduction

  1. Introducing the HackerPair Companion Project
  2. About this Book
  3. About W. Jason Gilmore
  4. Errata and Suggestions

Chapter 1. Introducing Laravel

  1. Installing the Laravel Installer
  2. Managing Your Local Laravel Project Hosting Environment
  3. Perusing the HackerPair Skeleton Code
  4. Configuring Your Laravel Application
  5. Useful Development and Debugging Tools
  6. Testing Your Laravel Application
  7. Conclusion

Chapter 2. Managing Your Project Controllers, Layout, Views, and Other Assets

  1. Creating Your First View
  2. Creating Your First Controller
  3. Managing Your Application Routes
  4. Introducing the Blade Template Engine
  5. Integrating Images, CSS and JavaScript
  6. Introducing Laravel Mix
  7. Project Exercise: Build the HackerPair Skeleton
  8. Testing the Project Skeleton with Laravel Dusk
  9. Conclusion

Chapter 3. Talking to the Database

  1. Configuring Your Project Database
  2. Introducing the Eloquent ORM
  3. Creating Your First Model
  4. Introducing Migrations
  5. Seeding the Database
  6. Introducing Resourceful (RESTful) Controllers
  7. Creating a Resourceful Controller
  8. Tweaking Your Eloquent Queries
  9. Introducing Query Builder
  10. Summary

Chapter 4. Customizing Your Models

  1. Managing Model Dates and Times
  2. Defining Accessors and Mutators
  3. Introducing Query Scopes
  4. Creating Sluggable URLs
  5. Testing Your Models
  6. Summary

Chapter 5. Creating, Updating, and Deleting Data

  1. Inserting Records Into the Database
  2. Updating Existing Records
  3. Deleting Records
  4. Implementing the Event Controller’s Remaining Resourceful Actions
  5. Integrating Flash Notifications
  6. Updating an Event
  7. Conclusion

Chapter 6. Validating User Input

  1. Introducing Validation Rules
  2. Introducing Form Requests

Chapter 7. Creating and Managing Model Relationships

  1. Introducing Relations
  2. Introducing One-to-One Relations
  3. Introducing the Belongs To Relationship
  4. Introducing One-to-Many (Has Many) Relationships
  5. Introducing Many-to-Many Relations
  6. Introducing Has Many Through Relations
  7. Introducing Polymorphic Relations
  8. Eager Loading
  9. Conclusion

Chapter 8. Sending E-mails

  1. Creating the Contact Form
  2. Creating the Contact Form Request
  3. Configuring Laravel’s Mail Component
  4. Generating the Mailable Class
  5. Protecting Your Form with a CAPTCHA
  6. Summary

Chapter 9. Authenticating and Managing Your Users

  1. Registering Users
  2. Retrieving the Authenticated User
  3. Restricting Forms to Authenticated Users
  4. Adding Custom Fields to the Registration Form
  5. Allowing Login Using a Username
  6. Integrating OAuth with Laravel Socialite
  7. Summary

Chapter 10. Creating a Restricted Administration Console

  1. Identifying Administrators
  2. Creating the Administration Controllers
  3. Restricting Access to the Administration Console
  4. Summary

Chapter 11. Introducing Events and Notifications

Chapter 11. Introducing Vue.js

  1. Installing Vue
  2. Creating Your First Component
  3. Responding to Browser Events
  4. Working with Props
  5. Rendering Lists
  6. Nesting Components
  7. Integrating AJAX Requests with Axios
  8. Summary

Chapter 12. Creating an Application API with Laravel Passport

  1. API Fundamentals
  2. Introducing Laravel’s API Infrastructure
  3. Creating an API Endpoint
  4. Creating New Events via the API
  5. Introducing Laravel Passport
  6. Conclusion

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

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

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

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. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub