Book Image

Learning Laravel 4 Application Development

By : Hardik Dangar
Book Image

Learning Laravel 4 Application Development

By: Hardik Dangar

Overview of this book

<p>Laravel 4 is a clean and classy framework for PHP web development. It attempts to ease the development of web applications by simplifying the common tasks required in the majority of web projects, such as authentication, routing, sessions, and caching.</p> <p>"Learning Laravel 4 Application Development" uses a step-by-step approach to teach you how to build real-world web applications. You will learn how to create a web application from scratch as well as how to create and use packages to build reusable components to be used in your projects.</p> <p>This book begins by familiarizing you with MVC concepts as well as the Laravel 4 framework. From there, it moves on to the creation of the frontend and backend of your web application. As you progress through the book, you will learn how you can authenticate users as well as develop RESTful APIs. You will also learn how to configure, optimize, and secure your applications. Lastly, it teaches you how to deploy your applications using different approaches like Git, FTP, and SSH.</p> <p>Laravel 4 Application Development will teach you everything you need to know to create accessible real-world web applications quickly and efficiently.</p>
Table of Contents (18 chapters)
Learning Laravel 4 Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
4
Building a Real-life Application with Laravel 4 – The Foldagram
11
Creating a Workflow and Useful Laravel Packages and Tools
Index

Installing Laravel 4 on Mac


You will need to install a web server before installing anything else. You can do that by installing the MAMP server using the following prepackaged development environment:

Once you install the MAMP server, you can install Composer using the following command line:

$ brew tap josegonzalez/homebrew-php
$ brew install josegonzalez/php/composer

Or if you don't have homebrew installed, use the following command:

$ php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"

This will install Composer into the local directory of your project. To install it globally, you can copy your composer.phar file to your bin directory in /usr/local/.

Now you can download Laravel 4 from the download section at http://laravel.com or https://github.com/laravel/laravel/archive/master.zip; once the download is complete, you can extract it into /var/www of your system, which is generally the document root of your...