Skip to main content
  • Book
  • © 2019

Beginning Laravel

Build Websites with Laravel 5.8

Apress

Authors:

  • Updates this popular beginner's guide to Laravel 5.8 for today's web developers
  • Covers all the new features such as dump server and email verification
  • Includes database handling with Tinker and establishes complex model relationships

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (12 chapters)

  1. Front Matter

    Pages i-xvii
  2. Introduction to Laravel

    • Sanjib Sinha
    Pages 1-10
  3. Setting Up Your Environment

    • Sanjib Sinha
    Pages 11-39
  4. Working with Models

    • Sanjib Sinha
    Pages 75-111
  5. Database Migration and Eloquent

    • Sanjib Sinha
    Pages 113-166
  6. Handling User Data and Redirects

    • Sanjib Sinha
    Pages 167-205
  7. Using Tinker

    • Sanjib Sinha
    Pages 207-212
  8. Containers and Facades

    • Sanjib Sinha
    Pages 293-312
  9. Working with the Mail Template

    • Sanjib Sinha
    Pages 313-339
  10. Events and Broadcasting

    • Sanjib Sinha
    Pages 341-366
  11. Working with APIs

    • Sanjib Sinha
    Pages 367-398
  12. Back Matter

    Pages 399-422

About this book

Develop cutting-edge websites and applications using the new features of Laravel 5.8. This book starts with an introduction to Laravel and takes a glance at its newly introduced features. Moving on to setting up your development environment, you will learn how the composer works. In addition to this, you will be introduced to Valet, Homestead, Virtual Box, Vagrant, and Forge in Laravel. With this foundation, you will be ready to get started writing your first Laravel apps.

To do so, you will learn to manage routes and controllers and how the Blade template works. Moving on to models, you will work with route model binding and get to know the relationship between models, databases, and Eloquent. Along the way you will define methods on your Eloquent model classes using different types of relationships. 

Shifting focus to handling user data, you will see how redirect methods work. You will also get to know the inner workings of requests and responses. Continuing the data theme, Beginning Laravel covers basic and grouped artisan commands and how to handle databases with Tinker. By being able to handle data effectively, your applications will come alive for your users, giving them the functionality they need.

The last section of the book handles core concepts such as sending emails, alerting users via notifications, and implementing SOLID design principles. You will see how to decouple your application classes by using events and listeners. 

What You Will Learn

  • Protect your app with authentication and authorization 
  • Build a complex relationship between entities using Eloquent models
  • Take advantage of containers and facades
  • Use the mail template 
  • Create and configure events 
  • Work with Laravel Passport
  • Deploy API authentication 
  • Discover new Laravel 5.8 features such as dump server and email verification


Who This Book Is For

Those new to Laravel and PHP web development or those who have some background in PHP/Laravel who are new to Laravel's newest release.


Authors and Affiliations

  • Howrah, India

    Sanjib Sinha

About the author

Sanjib Sinha is a certified .NET Windows and web developer, specializing in Python, security programming, PHP and JavaScript; he won Microsoft's Community Contributor Award in 2011. As a published author, Sanjib Sinha has written Beginning Ethical Hacking with Kali LInux, Beginning Ethical Hacking with Python, and Beginning Laravel for Apress.

Bibliographic Information

  • Book Title: Beginning Laravel

  • Book Subtitle: Build Websites with Laravel 5.8

  • Authors: Sanjib Sinha

  • DOI: https://doi.org/10.1007/978-1-4842-4991-8

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: Sanjib Sinha 2019

  • Softcover ISBN: 978-1-4842-4990-1Published: 06 September 2019

  • eBook ISBN: 978-1-4842-4991-8Published: 06 September 2019

  • Edition Number: 2

  • Number of Pages: XVII, 422

  • Number of Illustrations: 77 b/w illustrations

  • Topics: Web Development

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access