Laravel 5.x Cookbook
eBook - ePub

Laravel 5.x Cookbook

Alfred Nutile

Share book
  1. 402 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Laravel 5.x Cookbook

Alfred Nutile

Book details
Book preview
Table of contents
Citations

About This Book

A recipe-based book to help you efficiently create amazing PHP-based applications with Laravel 5.x

About This Book

  • Leverage the amazing new features of Laravel 5.x to create cutting-edge responsive PHP applications.
  • Create apps with interoperability features and extend these features to your existing applications as well.
  • Over 60 recipes that combine tried and tested Laravel tips for getting your app working.

Who This Book Is For

The ideal target audience for this book is PHP developers who have some basic PHP programming knowledge. No previous experience with Laravel is required for this book.

What You Will Learn

  • Optimize Your Gulp and Elixir Workflow
  • Use Travis to run tests with every push
  • Build and test your view-based route in PHPUnit
  • Explore workflows for migrations and seeding
  • Implement Angular in your Laravel applications
  • Set up a user authentication system
  • Integrate the new Billing library and Stripe in your Laravel application
  • Use the Artisan command-line tool
  • Test your App in Production with Behat

In Detail

Laravel is a prominent member of a new generation of web frameworks. It is one of the most popular PHP frameworks and is also free and an open source. Laravel 5 is a substantial upgrade with a lot of new toys, at the same time retaining the features that made Laravel wildly successful. It comes with plenty of architectural as well as design-based changes.

The book is a blend of numerous recipes that will give you all the necessary tips you need to build an application. It starts with basic installation and configuration tasks and will get you up-and-running in no time. You will learn to create and customize your PHP app and tweak and re-design your existing apps for better performance. You will learn to implement practical recipes to utilize Laravel's modular structure, the latest method injection, route caching, and interfacing techniques to create responsive modern-day PHP apps that stand on their own against other apps. Efficient testing and deploying techniques will make you more confident with your Laravel skills as you move ahead with this book.

Towards the end of the book, you will understand a number of add-ons and new features essential to finalize your application to make it ready for subscriptions. You will be empowered to get your application out to the world.

Style and approach

This book will have a practical recipe-based approach with dedicated recipes on your daily Laravel tasks (as well as on more advanced issues) that will help you become a pro with Laravel 5.x

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Laravel 5.x Cookbook an online PDF/ePUB?
Yes, you can access Laravel 5.x Cookbook by Alfred Nutile in PDF and/or ePUB format, as well as other popular books in Informatik & Programmierung in PHP. We have over one million books available in our catalogue for you to explore.

Information

Year
2016
ISBN
9781786462084

Laravel 5.x Cookbook


Table of Contents

Laravel 5.x Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why Subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Setting Up and Installing Laravel
Introduction
Setting up Homestead
Getting ready
How to do it...
How it works...
There's more...
See also
Setting composer and PHP on your local machine for faster Workflows
Getting ready
How to do it...
How it works...
There's more...
See also
Setting up your first application in Homestead
Getting ready
How to do it...
How it works...
See also
Using .env for your local build
Getting ready
How to do it...
How it works...
See also
Using sequel pro and connecting to local and remote databases
How to do it...
How it works...
See also
Setting up Gulp and Elixir
How to do it...
How it works...
See also
2. Using Composer Packages
Introduction
Working with Composer install command and avoiding Composer update
Getting ready
How to do it...
How it works...
There's more...
See also
Making a provider
Getting ready
How to do it...
How it works...
See also
Using the Facade pattern
Getting ready
How to do it...
How it works...
See also
Using private packages
Getting ready
How to do it...
How it works...
See also
3. Routing
Introduction
Building an API / JSON based route for searching
Getting ready
How to do it...
How it worksā€¦
See also
Testing your route in PHPUnit
Getting ready
How to do itā€¦
How it worksā€¦
See also
Building a view based route
Getting ready
How to do itā€¦
How it worksā€¦
Testing your view based route in PHPUnit
Getting ready
How to do itā€¦
How it worksā€¦
See also
Creating named routes
Getting ready
How to do itā€¦
How it worksā€¦
See also
4. Building Views and Adding Style
Introduction
Organizing your Blade files
Getting ready
How to do it...
How it works...
See also
Installing a WrapBootStrap theme
Getting Started
How to do itā€¦
How it worksā€¦
See also
Making your authentication pages
How to do itā€¦
How it worksā€¦
Implementing an error message template
Getting startedā€¦
How to do itā€¦
How it worksā€¦
Building your main search page
Getting startedā€¦
How to do itā€¦
How it worksā€¦
See also
Adding a static page
Getting startedā€¦
How to do itā€¦
How it worksā€¦
5. Working with Data
Introduction
Setting up users and running migrations
Getting ready
How to do it...
How it works...
See also
Altering a migration
Getting ready
How to do it....
How it worksā€¦
See also
Using factories for migrations and tests
Getting ready
How to do itā€¦
How it worksā€¦
See also
Using a generator to scaffold your user wishlist area
Getting ready
How to do itā€¦
How it worksā€¦
See also
Seeding so you can see how your app looks
Getting ready
How to do itā€¦
How it worksā€¦
See also
Adding a file upload to user profile
Getting ready
How to do itā€¦...

Table of contents