You are on page 1of 10

BOOKS

PROJECTS

Laravel: Code Bright


Laravel: Code Bright is a book for Version 4 of the Laravel PHP
Framework. The entire book is available online to encourage learning. If
you like what you see, please consider buying a copy of the book to
support my future writing efforts!

It's available in a number of awesome formats including PDF and eBook.


It's also got a bunch of extras that you won't find on the site! Enjoy!

Index

1. Introduction

2. The Primers

3. Architecture

4. Getting Started

5. Basic Routing

6. Responses

7. Filters

8. Controllers

9. Blade
10. Advanced Routing

11. URL Generation

12. Request Data

13. Forms

14. Validation

15. Databases

16. Schema Builder

17. Migrations

18. Eloquent ORM

19. Eloquent Queries

20. Eloquent Collections

21. Eloquent Relationships

22. Authentication

23. Events

24. The Container

Share on:

Twitter
Facebook
Google
ALSO ON DAYLE REES

4 years ago • 8 comments 6 years ago • 3 comments 7


Code Smart will
Message arrive this P
Queues month P

Comments Community 🔒 Privacy Policy 


1 Login

 Favorite 7 t Tweet f Share Sort by Best

Join the discussion…

LOG IN WITH
OR SIGN UP WITH DISQUS ?

Name

Nima Alipour • 8 years ago


any plan for laravel 5 ?
11 △ ▽ • Reply • Share ›

Marko • 9 years ago


C'mon guys! 29 bucks isn't much for awesome book for
awesome framework! :) Think how much you will learn
from it!!
8△ ▽ • Reply • Share ›

ashickur_noor • 8 years ago


Is that book, and this site contain same content?
5△ ▽ • Reply • Share ›

Adam • 9 years ago


As a long time Codeigniter user, I wanted to learn Laravel
because I kept seeing Jeffrey Way's new Tuts and was
becoming a little jealous of the features. I have to admit
that I was a little overwhelmed with all the new things I
would have to learn (Composer, Artisan, Migrations,
Eloquent) but I figured Code Bright was my best option. I
read the book from front to back before I even started my
first Laravel project, and it has been incredibly helpful.
After only 2 weeks, I feel like I've been using Laravel for
months.

Also, the Laravel 4 documentation is great, but as I ran


into a few roadblocks while coding and couldn't find any
code samples online, Code Bright was an invaluable
technical resource to turn to for example code. Laravel 4
is so new that a lot of the online code samples I could find
were for Laravel 3. Code Bright has you covered.

$30 is cheap for what you get out of Code Bright. I can't
wait for future chapter updates.

Thanks Dayle!
3△ ▽ • Reply • Share ›

Justin Lien • 9 years ago • edited


Dale, thanks for all your hard work. I just brought the book.
Would it be possible for you to add "best practices" as a
future chapter?
3△ ▽ • Reply • Share ›

daylerees Mod > Justin Lien • 9 years ago

I'll note it down, thanks!


3△ ▽ • Reply • Share ›

Void • 9 years ago


Just purchased the book - epic! Love your writing style
and the way you explain things. Well worth the price and
am looking forward to the updates :)
3△ ▽ • Reply • Share ›

daylerees Mod > Void • 9 years ago

Thanks buddy! Much appreciated!


2△ ▽ 1 • Reply • Share ›

simon davies • 9 years ago


I'm waiting till i get home, but will be a requirement, that's
what I will tell the wife
2△ ▽ • Reply • Share ›

simon davies > simon davies • 9 years ago


Bought and halfway through great read
△ ▽ • Reply • Share ›

daylerees Mod > simon davies


• 9 years ago
Thanks man :)
)
△ ▽ • Reply • Share ›

Marios Fakiolas • 9 years ago


Dale you ve made an excellent work. I ve bought both
your books and they really paid off my hard study. I have
built some professional projects using Laravel 3 forcing
me to quit other frameworks i was using before and now I
am trying to move on with L4. Despite my experience
unfortunately I have a bad time with new controllers way. I
mean resource and restful ones, how to pass data to them
with wildcards, create correct routing etc Another thing I
am interested in is how to pull directly from an API json or
XML data. The easiest way is to pull php data and
transform to json response immediately. Once again thank
you for inspiring me th much.
1△ ▽ • Reply • Share ›

Stefano G • 9 years ago


Dayle, I bought a copy of the "code happy" ebook... what
about an "upgrade price" to "code bright"? ...I am not
asking a 95% discount coupon, but it would be nice to be
greeted as an old supporter :-)
1△ ▽ • Reply • Share ›

Lori • 9 years ago


Great work Dayle! I laughed, I learned, and I cried when it
was over. Ok, I didn't really cry, but I am looking forward to
future chapters. Thanks for an awesome book!
1△ ▽ • Reply • Share ›

daylerees Mod > Lori • 9 years ago


Thanks Lori! I will work harder at making you cry :)
△ ▽ • Reply • Share ›

Juan el del cielo • 9 years ago


I bough it, I wan't to see intermediate-advanced content.
1△ ▽ • Reply • Share ›

daylerees Mod > Juan el del cielo • 9 years ago

I'll be getting to that in later chapters, thanks Juan


:)
△ ▽ • Reply • Share ›

Jim • 9 years ago


Cool Dayle! What web application does the reader
ultimately develop as they progress through your book?
1△ ▽ • Reply • Share ›

>
daylerees Mod > Jim • 9 years ago

I was thinking the first application might be the


Laravel pastebin, we need a new one, so it's killing
two birds with one stone. A practical use :)
1△ ▽ • Reply • Share ›

Julien Tant • 9 years ago


I bought it ! <3
1△ ▽ • Reply • Share ›

daylerees Mod > Julien Tant • 9 years ago

<3 thanks man!


△ ▽ • Reply • Share ›

spellbound • 9 years ago


I was a bit shocked when I saw the price. I know it must
have been a lot work, but ... well, where do you buy your
pizza? Unfortunately I can't buy it at this price :-(
1△ ▽ 1 • Reply • Share ›

daylerees Mod > spellbound • 9 years ago

Before the book went live the welcome page


captured the prices people were willing to pay. This
was the lowest value recorded. I'm sorry if it seems
high, but as with code happy, the content will be
released online eventually
(http://codehappy.daylerees.com).
△ ▽ • Reply • Share ›

spellbound > daylerees • 9 years ago


I recorded a lower price, too.
△ ▽ • Reply • Share ›

Andreas > daylerees • 9 years ago


I recorded a lower price... Purchased the
book anyway at the current price based on
how the author hyped the content.
Understand that this is work in progress, but
it is not worth the current price. I would
check out the Laravel documentation
instead.
△ ▽ • Reply • Share ›

daylerees Mod > Andreas


• 9 years ago
I'm sorry you think that. There's a 30
day refund option on the book if you
aren't happy to commit to it yet.
Later I will create a subsite like
codehappy.daylerees.com which will
have all the topics available.
△ ▽ • Reply • Share ›

gbenga wale • 5 years ago


what of version 5 book?
△ ▽ • Reply • Share ›

stevenkw • 6 years ago


Will you cover VueJs?
△ ▽ • Reply • Share ›

David Spitzley • 6 years ago


What's in the new update from a couple of days ago?
△ ▽ • Reply • Share ›

David Spitzley • 6 years ago


What's in the new update that was released a couple of
days ago?
△ ▽ • Reply • Share ›

M.Peter • 6 years ago


I would like to see a Laravel 5 book of you too, you do a
great on this
△ ▽ • Reply • Share ›

Alex • 7 years ago


Any Updates on L5?
△ ▽ • Reply • Share ›

Dries Vints > Alex • 7 years ago


Here you go: https://leanpub.com/codesmart
△ ▽ • Reply • Share ›

Alex > Dries Vints • 7 years ago


Books has not been published..
△ ▽ • Reply • Share ›

Augustus Gloop • 7 years ago


Just bought Code Bright, and I'm enjoying it very much. I
have the same question as Nima Alipour: any plans for a
v5 update?
△ ▽ • Reply • Share ›

AmbroseChapel • 7 years ago


I'm reading the book now and need to submit a very
important correction. Stan Lee does NOT have a cameo in
every Marvel movie. He didn't appear in "Ghost Rider",
because he didn't create the character.
△ ▽ • Reply • Share ›

Durgesh • 8 years ago


Excellent work Dayle. I am a newbie in PHP language.
When I first glanced at Laravel website, I got scared with
its syntax and concepts. But, when I found your site, it
started taking place automatically. I am so much thankful
to great person Taylor Otwell. Without him Laravel would
not be possible(I respect others as well, I mean Jeffrey
Way). At last but not least, thank you so much Dayle,
without you I could not at least ABC of Laravel. Thank
you!
△ ▽ • Reply • Share ›

baiguang • 8 years ago


First time to visit your site,and i'm reading your book,it's
great,
△ ▽ • Reply • Share ›

baaaeh • 9 years ago


I sent you about 4 emails the other day when you
submitted the "Authentication" chapter for consumption. I
rather be helpful than annoying so I want to make sure
that is still the best way to submit gramatical, spelling and
code errors.

Great book. Thanks for everything.


△ ▽ • Reply • Share ›

daylerees Mod > baaaeh • 8 years ago

Hi Brett! Yes that's the best way ,and thank you for
sending them :) I haven't had time to check that
account yet unfortunately. I promise to get back to
you. Thanks for reading!
△ ▽ • Reply • Share ›

baaaeh > daylerees • 8 years ago


Well I wrote the 4 e-mails as I was reading
the chapter, so I figured it might have
become annoying had I sent any more.

So I got thinking... I helped with the Ubuntu


Manual project which was written in LaTeX
(it's a crime if you don't use the proper letter
case I heard) and hosted via Launchpad in
a bazaar repository.

Although your book isn't free and I'm not


sure how you and the other Laravel authors
sure how you and the other Laravel authors
have been writing your books, but if you
had a git repository open to a few willing
proofreaders, we could make changes
much faster, rather than requiring a one-
man effort for all spelling and grammar
issues.

Copyright © 2022 Dayle Rees

You might also like