E-book details

Laravel Application Development Cookbook. Since Laravel is so versatile, one of the best learning routes is a cookbook. We've included lots of recipes and guidance on building web application, both simple and complex. It's a pick & mix approach that works brilliantly

Laravel Application Development Cookbook. Since Laravel is so versatile, one of the best learning routes is a cookbook. We've included lots of recipes and guidance on building web application, both simple and complex. It's a pick & mix approach that works brilliantly

Terry Matula

Ebook
When creating a web application, there are many PHP frameworks from which to choose. Some are very easy to set up, and some have a much steeper learning curve. Laravel offers both paths. You can do a quick installation and have your app up-and-running in no time, or you can use Laravel's extensibility to create an advanced and fully-featured app.Laravel Application Development Cookbook provides you with working code examples for many of the common problems that web developers face. In the process, it will also allow both new and existing Laravel users to expand their knowledge of the framework.This book will walk you through all aspects of Laravel development. It begins with basic set up and installation procedures, and continues through more advanced use cases. You will also learn about all the helpful features that Laravel provides to make your development quick and easy. For more advanced needs, you will also see how to utilize Laravel's authentication features and how to create a RESTful API.In the Laravel Application Development Cookbook, you will learn everything you need to know about a great PHP framework, with working code that will get you up-and-running in no time.
  • Laravel Application Development Cookbook
    • Table of Contents
    • Laravel Application Development Cookbook
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Setting Up and Installing Laravel
      • Introduction
      • Installing Laravel as a git submodule
        • Getting ready
        • How to do it...
        • How it works...
        • Theres more...
      • Setting up a virtual host and development environment in Apache
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Creating "clean" URLs
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Configuring Laravel
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using Laravel with Sublime Text 2
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Setting up your IDE to autocomplete Laravel's namespaces
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using Autoloader to map a class name to its file
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Creating advanced Autoloaders with namespaces and directories
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
    • 2. Using Forms and Gathering Input
      • Introduction
      • Creating a simple form
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Gathering form input to display on another page
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Validating user input
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Creating a file uploader
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Validating a file upload
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Creating a custom error message
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Adding a honey pot to a form
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Uploading an image using Redactor
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Cropping an image with Jcrop
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Creating an autocomplete text input
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Making a CAPTCHA-style spam catcher
        • Getting ready
        • How to do it...
        • How it works...
    • 3. Authenticating Your Application
      • Introduction
      • Setting up and configuring the Auth library
        • Getting ready
        • How to do it...
        • How it works...
      • Creating an authentication system
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Retrieving and updating user info after logging in
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Restricting access to certain pages
        • Getting ready
        • How to do it...
        • How it works...
      • Setting up OAuth with the HybridAuth package
        • Getting ready
        • How to do it...
        • How it works...
      • Using OpenID for logins
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Logging in using Facebook credentials
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Logging in using Twitter credentials
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Logging in using LinkedIn
        • Getting ready
        • How to do it...
        • How it works...
    • 4. Storing and Using Data
      • Introduction
      • Creating data tables using migrations and schemas
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
      • Querying using raw SQL statements
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Querying using Fluent
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Querying using Eloquent ORM
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Using automatic validation in models
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using advanced Eloquent and relationships
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Creating a CRUD system
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Importing a CSV using Eloquent
        • Getting ready
        • How to do it...
        • How it works...
      • Using RSS as a data source
        • Getting ready
        • How to do it...
        • How it works...
      • Using attributes to change table column names
        • Getting ready
        • How to do it...
        • How it works...
      • Using a non-Eloquent ORM in Laravel
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
    • 5. Using Controllers and Routes for URLs and APIs
      • Introduction
      • Creating a basic controller
        • Getting ready
        • How to do it...
        • How it works...
      • Creating a route using a closure
        • Getting ready
        • How to do it...
        • How it works...
      • Creating a RESTful controller
        • Getting ready
        • How to do it...
        • How it works...
      • Using advanced routing
        • Getting ready
        • How to do it
        • How it works...
      • Using a filter on the route
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using route groups
        • Getting ready
        • How to do it
        • How it works...
      • Building a RESTful API with routes
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using named routes
        • Getting ready
        • How to do it...
        • How it works...
      • Using a subdomain in your route
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
    • 6. Displaying Your Views
      • Introduction
      • Creating and using a basic view
        • Getting ready
        • How to do it...
        • How it works...
      • Passing data into a view
        • Getting ready
        • How to do it
        • How it works...
        • There's more...
      • Loading a view into another view/nested views
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Adding assets
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Creating a view using Blade
        • Getting ready
        • How to do it...
        • How it works...
      • Using TWIG templates
        • Getting ready
        • How to do it
        • How it works...
      • Utilizing advanced Blade usage
        • Getting ready
        • How to do it...
        • How it works...
      • Creating localization of content
        • Getting ready
        • How to do it...
        • How it works...
      • Creating menus in Laravel
        • Getting ready
        • How to do it...
        • How it works...
      • Integrating with Bootstrap
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Using named views and view composers
        • Getting ready
        • How to do it...
        • How it works...
        • See also
    • 7. Creating and Using Composer Packages
      • Introduction
      • Downloading and installing packages
        • Getting ready
        • How to do it...
        • How it works...
      • Using the Generators package to set up an app
        • Getting ready
        • How to do it
        • How it works...
      • Creating a Composer package in Laravel
        • Getting ready
        • How to do it
        • How it works...
        • There's more...
      • Adding your Composer package to Packagist
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Adding a non-Packagist package to Composer
        • Getting ready
        • How to do it...
        • How it works...
      • Creating a custom artisan command
        • Getting ready
        • How to do it...
        • How it works...
    • 8. Using Ajax and jQuery
      • Introduction
      • Getting data from another page
        • Getting ready
        • How to do it...
        • How it works...
      • Setting up a controller to return JSON data
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Creating an Ajax search function
        • Getting ready
        • How to do it...
        • How it works...
      • Creating and validating a user using Ajax
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Filtering data based on checkbox selection
        • Getting ready
        • How to do it...
        • How it works...
      • Making an Ajax newsletter sign-up box
        • Getting ready
        • How to do it
        • How it works...
        • There's more...
        • See also
      • Sending an e-mail using Laravel and jQuery
        • Getting ready
        • How to do it...
        • How it works...
      • Creating a sortable table using jQuery and Laravel
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
    • 9. Using Security and Sessions Effectively
      • Introduction
      • Encrypting and decrypting data
        • Getting ready
        • How to do it...
        • How it works...
      • Hashing passwords and other data
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using CSRF tokens and filters in forms
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using advanced validation in forms
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Building a shopping cart
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using Redis to save sessions
        • Getting ready
        • How to do it...
        • How it works...
      • Using basic sessions and cookies
        • Getting ready
        • How to do it
        • How it works...
        • There's more...
      • Creating a secure API server
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
    • 10. Testing and Debugging Your App
      • Introduction
      • Setting up and configuring PHPUnit
        • Getting ready
        • How to do it...
        • How it works...
      • Writing and running a test case
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Using Mockery to test controllers
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Writing acceptance tests using Codeception
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Debugging and profiling your app
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
    • 11. Deploying and Integrating Third-party Services into Your Application
      • Introduction
      • Creating a queue and using Artisan to run it
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Deploying a Laravel app to Pagoda Box
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using the Stripe payment gateway with Laravel
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Doing a GeoIP lookup and setting custom routing
        • Getting ready
        • How to do it...
        • How it works...
      • Gathering e-mail addresses and using them with a third-party e-mail service
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Storing and retrieving cloud content from Amazon S3
        • Getting ready
        • How to do it
        • How it works...
        • There's more...
        • See also
    • Index
  • Title: Laravel Application Development Cookbook. Since Laravel is so versatile, one of the best learning routes is a cookbook. We've included lots of recipes and guidance on building web application, both simple and complex. It's a pick & mix approach that works brilliantly
  • Author: Terry Matula
  • Original title: Laravel Application Development Cookbook. Since Laravel is so versatile, one of the best learning routes is a cookbook. We've included lots of recipes and guidance on building web application, both simple and complex. It's a pick & mix approach that works brilliantly.
  • ISBN: 9781782162834, 9781782162834
  • Date of issue: 2013-10-25
  • Format: Ebook
  • Item ID: e_3cz3
  • Publisher: Packt Publishing