Laravel 5 Essentials

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

Laravel 5 Essentials

Essentials
Martin Bean

2 customer reviews
Explore the fundamentals of Laravel, one of the most expressive and robust PHP frameworks available
$23.99
$29.99
RRP $23.99
RRP $29.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to get that next promotion or to land that dream job. Cancel anytime.

Free Sample

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 2 reviews

Read More Reviews