Laravel 5 Essentials

Explore the fundamentals of Laravel, one of the most expressive and robust PHP frameworks available
Preview in Mapt

Laravel 5 Essentials

Martin Bean

1 customer reviews
Explore the fundamentals of Laravel, one of the most expressive and robust PHP frameworks available
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$29.99
$29.99 p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Laravel 5 Essentials Book Cover
Laravel 5 Essentials
$ 23.99
$ 16.80
Unity 2017 Game Development Essentials - Third Edition Book Cover
Unity 2017 Game Development Essentials - Third Edition
$ 39.99
$ 28.00
Buy 2 for $34.30
Save $29.68
Add to Cart

Book Details

ISBN 139781785283017
Paperback144 pages

Book Description

Laravel has established itself as one of the most popular PHP frameworks over the past couple of years. Its popularity comes due to its ease of use, expressive syntax, and the number of components it has, allowing you to achieve practically any task in a modern PHP application.

If you've not had the opportunity to dive into Laravel yet, then this book will be the perfect companion, as it covers the fundamentals Laravel is built on in a thorough yet easy-to-follow manner. To make this book your best learning source, we have covered integral topics such as preparing an environment for working with Laravel applications, creating your first Laravel application from start to finish, a tour of Laravel's ORM Eloquent, and more advanced topics such as testing, user authentication, and security. Being one of the most interesting features in Laravel, we also cover an overview of Artisan, including descriptions of some of its tasks. Post this, we talk about testing and security. By the end of this book, you will be able to create robust PHP websites and web applications quickly and efficiently.

Table of Contents

Chapter 1: An Introduction to Laravel
The need for frameworks
A new approach to developing PHP applications
Laravel's main features and sources of inspiration
Structure of a Laravel application
Summary
Chapter 2: Setting Up a Development Environment
Meeting Composer
Working with the command line
Meet Homestead
Creating a new Laravel application
Summary
Chapter 3: Your First Application
Planning our application
Starting the application
Writing the first routes
Preparing the database
Mastering Blade
Back to the routes
Moving from simple routing to powerful controllers
Summary
Chapter 4: Eloquent ORM
Eloquent conventions
Retrieving data
Saving data
Deleting data
Query scopes
Relationships
Model events
Collections
Summary
Chapter 5: Testing – It's Easier Than You Think
The benefits of testing
The anatomy of a test
Unit testing with PHPUnit
End-to-end testing
Summary
Chapter 6: A Command-line Companion Called Artisan
Keeping up with the latest changes
Inspecting and interacting with your application
Rolling out your own Artisan commands
Scheduling commands
Summary
Chapter 7: Authentication and Security
Authenticating users
Securing your application
Summary

What You Will Learn

  • Set up a development environment for working with Laravel apps
  • Create a working Laravel application from start to finish
  • Interact with data and discover Eloquent, Laravel's own ORM
  • Create and run migrations and seeds
  • Simplify command-line tasks by building Artisan commands
  • Protect your app by securing it from common security vulnerabilities
  • Perform end-to-end testing after learning the basics of testing in Laravel
  • Learn about Laravel's other features including service providers, packages, queue workers, and helpers for working with strings and arrays

Authors

Table of Contents

Chapter 1: An Introduction to Laravel
The need for frameworks
A new approach to developing PHP applications
Laravel's main features and sources of inspiration
Structure of a Laravel application
Summary
Chapter 2: Setting Up a Development Environment
Meeting Composer
Working with the command line
Meet Homestead
Creating a new Laravel application
Summary
Chapter 3: Your First Application
Planning our application
Starting the application
Writing the first routes
Preparing the database
Mastering Blade
Back to the routes
Moving from simple routing to powerful controllers
Summary
Chapter 4: Eloquent ORM
Eloquent conventions
Retrieving data
Saving data
Deleting data
Query scopes
Relationships
Model events
Collections
Summary
Chapter 5: Testing – It's Easier Than You Think
The benefits of testing
The anatomy of a test
Unit testing with PHPUnit
End-to-end testing
Summary
Chapter 6: A Command-line Companion Called Artisan
Keeping up with the latest changes
Inspecting and interacting with your application
Rolling out your own Artisan commands
Scheduling commands
Summary
Chapter 7: Authentication and Security
Authenticating users
Securing your application
Summary

Book Details

ISBN 139781785283017
Paperback144 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Laravel 5.x Cookbook Book Cover
Laravel 5.x Cookbook
$ 39.99
$ 28.00
Mastering Laravel Book Cover
Mastering Laravel
$ 39.99
$ 28.00
Learning Vue.js 2 Book Cover
Learning Vue.js 2
$ 35.99
$ 25.20
Learning PHP 7 Book Cover
Learning PHP 7
$ 39.99
$ 8.00
Mastering PHP Design Patterns Book Cover
Mastering PHP Design Patterns
$ 35.99
$ 25.20
Object-Oriented JavaScript - Second Edition Book Cover
Object-Oriented JavaScript - Second Edition
$ 29.99
$ 21.00