September 2016
Intermediate to advanced
247 pages
5h 51m
English
© Paul Redmond 2016
Paul Redmond, Lumen Programming Guide, 10.1007/978-1-4842-2187-7_2
Paul Redmond1
(1)Phoenix, Arizona, USA
Let’s dive right into Lumen. In this chapter, you’ll learn how to set up a new Lumen project and you’ll explore some of Lumen’s basic features:
Routing
Middleware
Requests
Responses
To follow along, you should have the recommended Homestead environment from Chapter 1 installed.
Before you can get started, you need to create a new Lumen project in Homestead. To create a new project, ssh into Homestead virtual machine and use Composer to create a new Lumen project (Listing 2-1).
# On your local machine$ cd ∼/Code/Homestead$ vagrant ssh ...Read now
Unlock full access