Laravel Starter [Instant]

This title is available as an eBook only
Laravel Starter [Instant]
eBook: $12.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print & eBook also available on:
Learn in an Instant - Short, Fast, Focused
Table of Contents
Sample Chapters
  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Create databases using Laravel's migrations
  • Learn how to implement powerful relationships with Laravel's own "Eloquent" ActiveRecord implementation
  • Learn about maximizing code reuse with the bundles
  • Get started by building a useful real-world application

Book Details

Language : English
eBook : 64 pages
Release Date : November 2012
ISBN : 1782160906
ISBN 13 : 9781782160908
Author(s) : Shawn McCool
Topics and Technologies : All Books, Web Development, Open Source
Sorry, the table of contents for this book is not yet available.

Shawn McCool

Shawn McCool is the co-founder of the web agency Big Name. He has been involved in professional web-application development for 15 years. His work emphasizes a philosophy of long-term software maintainability. Shawn joined the Laravel team in 2012 and has been involved in updating and improving the official documentation. Shawn is highly involved in community education and regularly creates education content and makes it freely available on his company site Shawn spends much of his time involved with the Laravel community and can usually be found providing help in the official #Laravel IRC channel on FreeNode.
Sorry, we don't have any reviews for this title yet.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


- 5 submitted: last submission 16 Jul 2013

On page number 8, the fourth code line is as follows:

# php artisan migrate:makecreate_users_table

It should be as follows:

# php artisan migrate:make create_users_table

(Space between make and create_users_table)

On page 19, first line in the first code snippet under the heading Step 10 – RESTful controllers is as follows:

classBase_Controller extends Controller

It should be as follows:

class Base_Controller extends Controller

(Space between class and Base_Controller )

On page 13, the fifth sentence in the first paragraph under the heading Step 4 – Routing to a closure is as follows:

As we'll be going over controllers in more detail later, let's start by looking at how we can route to a closuRoutes in Laravel are declared in application/routes.php.

It should be as follws:

As we'll be going over controllers in more detail later, let's start by looking at how we can route to a closure. Routes in Laravel are declared in application/routes.php.

On page number 20, the first code line in the code snippet below the fifth paragraph is as follows:

classUsers_Controller extends Base_Controller

This line should be as follows:

class Users_Controller extends Base_Controller

(space betwwen "class" and "Users_Controller")

The sixth paragraph on the page number 24 is as follows:

Of course, our work here won't be finished until we update our application/views/user/index.php file to give us links to delete each user.

It should be as follows

Of course, our work here won't be finished until we update our application/views/users/index.blade.php fle to give us links to delete each user.

Sorry, there are currently no downloads available for this title.

Frequently bought together

Laravel Starter [Instant] +    Web Application Development with Yii and PHP =
50% Off
the second eBook
Price for both: £18.45

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • How to install and configure Laravel
  • Creating and using Eloquent models
  • How to understand and utilize Eloquent relationships
  • Routing to controllers and closures
  • Using Laravel’s authentication system
  • Utilizing filters to secure your site’s private areas
  • Learn how to use bundles to add functionality to your site
  • Use Laravel’s validator class to validate your forms or anything else
  • Use form and HTML helpers to abstract and ease working with some HTML elements

In Detail

Laravel is fundamentally changing the PHP web-development landscape. Laravel is bringing the paradigm-shifts that PHP developers have been craving. We now can take control of our application architecture and advance our craft without needing to fight against our tools. Laravel’s philosophy is to provide a highly flexible architecture and an extremely expressive API while emphasizing PHP’s strengths and abstracting out its weaknesses. For these reasons Laravel is ideal for quickly creating high performance, robust applications. By providing developers with tools for automating tasks including database schema modification, CRUD operations, and testing we’re able to reduce our workload, application complexity, and human-error.

"Laravel Starter" is the ideal introduction to this game-changing framework. Learn best-practiced approaches to web-application development with Laravel from a seasoned professional.

It starts out by installing and configuring the framework step-by-step. Then you’ll use Laravel best-practices to create a private user administration system that is ready for real-world use. The later part deals with digging deep into Eloquent relationships, exploring the different relationship types and how Eloquent is working under-the-hood to simplify your life without forcing you to relinquish control. Exploring Laravel’s simple yet flexible authentication system, data validation, and filters allows you to easily run code before and after your controller actions. Finally, it discusses Laravel bundles, the most flexible PHP modular code implementation in its weightclass.

Focused on the how as much as the why, Laravel Starter gives you the tools to immediately begin creating professional web-applications with Laravel.


Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. This book is a practical, task-based, step-by-step tutorial that demonstrates topics ranging from MVC code-separation, to code-modularity, to utilizing ActiveRecord for data abstraction which are explained from the ground-up to provide a strong framework of understanding for creating professional web-applications with Laravel.

Who this book is for

This book is ideal for programmers familiar with PHP who are interested in learning the Laravel way of solving the common problems faced in their day to day work.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software