O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Extending Laravel with First Party Packages

Video Description

Extend your Laravel packages by adding more functionality to your applications

About This Video

  • A comprehensive video tutorial that shows you how to use Laravel Cashier to charge a credit card and make a payment
  • This video course will also help you manage different types of search and multiple indexes easily with the help of Laravel Scout
  • You will also be introduced to one of the coolest applications on the internet: using Laravel Echo and Vue.js to update live and broadcast without refreshing the page

In Detail

Laravel is a prominent member of a new generation of web frameworks. It is one of the most popular PHP frameworks and is also free and open source. Laravel 5 is a substantial upgrade with a lot of new toys, at the same time retaining the features that made Laravel wildly successful. It comes with plenty of architectural as well as design-based changes. Extending Laravel with First-Party packages focuses on using packages with a specific emphasis on First-Party packages that are built by the Laravel team to add functionality shared by many apps. You will be able to add additional and essential functionalities to the core framework that you can pull in as needed, without adding unnecessary bloat to the framework.

The course begins by extending the basic traditional authentication and you will now learn how to add social sign-on capabilities with the Laravel Socialite package.

You will then see how different types of search and multiple indexes can be managed easily with the help of Laravel Scout and how Laravel manages and updates servers.

Finally, you will master using Laravel Cashier to connect with popular payment gateways to make it easy to start accepting payments.

Towards the end of the video course, you will get your hands dirty with one of the coolest applications on the internet now—update live and broadcast—without refreshing the page. You will be known as soon as a user comments on a post, with the page refreshing in real time.

Table of Contents

  1. Chapter 1 : Laravel Socialite
    1. The Course Overview 00:06:39
    2. Configuration and Install of Socialite 00:10:22
    3. How Social Sign-on Works? 00:11:14
    4. Socialite Controller and Model Setup 00:10:50
    5. Logging in Existing Users and Creating New Ones 00:13:28
    6. Building the FindOrCreateUser Method 00:14:57
    7. Setup Facebook Sign-on 00:16:00
    8. Setup Twitter Sign-on 00:10:36
    9. Using Other Social Providers for Social Login 00:05:31
  2. Chapter 2 : Laravel Scout
    1. Setup Our Project 00:11:19
    2. Configuring and Installing Laravel Scout 00:05:01
    3. How Search Indexing Works 00:07:16
    4. Setup Algolia 00:06:25
    5. Start Indexing Our Models 00:08:36
    6. Customizing Search Result Ranking 00:06:21
    7. Server-side Searches 00:10:34
    8. Server-side Searches (Continued) 00:08:48
    9. Client-side Searches 00:12:04
    10. Client-side Searches (Continued) 00:09:57
  3. Chapter 3 : Laravel Cashier
    1. Configure and Install Laravel Cashier 00:08:38
    2. Setup a Stripe Test Account 00:09:39
    3. Create a Subscription Form 00:11:51
    4. Subscribe a User 00:11:28
    5. Display a User’s Subscription Status 00:04:52
    6. Modifying a User’s Subscription 00:09:49
    7. Cancelling a Subscription 00:07:49
    8. Setting a Free Trial or Coupons 00:09:26
    9. Generate a PDF Invoice 00:07:57
  4. Chapter 4 : Laravel Echo
    1. Configure and Install Laravel Echo 00:10:16
    2. Setup Pusher Account 00:04:00
    3. Create a Blog Comments System 00:07:53
    4. Create a Presence Channel for Blog Posts 00:08:31
    5. Listen to Echo Channel and Upgrade Room Count 00:06:34
    6. Add Authentication to the Presence Channel 00:10:42
    7. Accessing Subscribers Information Within a Presence Channel 00:09:39
    8. Live Updating Comments 00:08:04
    9. Getting All Comments 00:11:41
    10. Submit New Comments 00:09:26
    11. Debugging Comment Submissions 00:08:27
    12. Creating an Event for New Comments 00:08:55
    13. Listening to the Event and Preventing Duplication 00:13:08