Develop web apps with Laravel PHP Framework version 3

Get to know the basics of Laravel PHP framework(ver 3), how to get started and how to develop simple web applications.
  • Lectures 51
  • Video 7 Hours
  • Skill level beginner level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

Course Description

In this course I will be taking you on a journey of getting to know Laravel 3, a young and beautiful PHP framework with vibrant and supportive community. 

You will learn what Laravel framework is, how to get it up and running on local and cloud environment, the structure of applications and what Laravel could be used for (along with real life examples that are already out there on the internet).

In the course we will develop a simple Blog application and a more challenging Twitter-like application called Critter. 

The course is pretty long, about 10 hours of content but I price it very low to give everyone a chance to enjoy programming with Laravel.

What are the requirements?

  • MVC framework knowledge or willingness to learn.

What am I going to get from this course?

  • Over 51 lectures and 6.5 hours of content!
  • In this course you will learn about Laravel, deployment and making of simple applications

What is the target audience?

  • PHP programmers, developers, beginners in PHP

What you get with this course?

Not for you? No problem.
30 day money back guarantee

Forever yours.
Lifetime access

Learn on the go.
Desktop, iOS and Android

Get rewarded.
Certificate of completion

Curriculum

Section 1: Intro to Laravel
Text
This course is designed for those who are starting with PHP frameworks or for those who are already proficient with PHP frameworks like CodeIgniter, FuelPHP, etc but want to learn a new beautiful framework -  Laravel  . It would help if you know the basics of MVC (model-view-controller, if you don't…
Text
Laravel is a powerful PHP 5.3+ framework written by Taylor Otwell. Laravel is a very young framework but it is growing fast and already has a lot of support, it has won hearts of countless developers around the world. Laravel is comparable to CodeIgniter or FuelPHP but is unique in its expressive an…
Text
A few months ago my team and I were faced with a dilemma of choosing a PHP framework for our project. I was in charge of the final decision and after spending countless amount of hours searching the net for the most future-oriented and most capable framework I came to Laravel. It had everything that…
Text
To run Laravel you need an Apache-based server (with admin permissions), a few examples could be  MAMP  (for MacOS) or  WAMP  (for Windows), you can also use in-the-cloud solutions like  PHPFog  or  PagodaBox  to deploy your applications for the masses. You need to make sure that the server runs PHP…
Text
There are lots of great things going on in Laravel community. In this lecture I will point you in the right direction to satisfy your curiosity about where to get help, where to look for good Laravel examples and tutorials. First of all, a great resource is Laravel's well-written documentation. It i…
Section 2: Getting Laravel up and running
Text
Laravel is a PHP based framework. Therefore it needs PHP 5.3+ which works on a server.  There are multiple ways to get Laravel to work.  When developing Laravel application you will need at least local environment(LAMP, MAMP, WAMP, etc.), then if you want your application to be used by other people…
02:09

Tutorial explaining  how to get Laravel PHP Framework up and running on local MAMP server on Mac OS. 

NOTE: you need to have MAMP(http://www.mamp.info/en/index.html) already configured and running prior to trying to run Laravel.

01:25

Tutorial explaining  how to get Laravel PHP Framework up and running on local WAMP server. 

NOTE: you need to have WAMP already configured and running prior to trying to run Laravel.

01:13

Tutorial explaining how to deploy Laravel PHP framework on a cloud based service PHPFog.

NOTE: You will need an account on PHPFog prior to following the tutorial.

01:24

Tutorial explaining how to deploy Laravel PHP framework on a cloud based service Pagodabox.

NOTE: You will need an account on PagodaBox prior to following the tutorial.

Text
If you have successfully deployed Laravel on your local machine or in the cloud on PagodaBox or PHPFog - congratulations!  This is the beginning of a great journey into the world of great web development, the land of a great king Laravel, the land where there are rivers of honey-soaked controllers a…
Section 3: Exploring Laravel application structure
Text
What do architects and software engineers have in common ? They pay a great deal of attention to the foundation. Building a web application is not much different from building a house or a skyscraper. The soil, the materials, the way you put them together, it all matters in the long run if you want…
Text
When you download Laravel to your computer, you get a folder with a few files and folders, that looks like this: Here is a short description of each file in the root folder in a default Laravel installation (as of ver 3.2.3): artisan - command line tool that allows you to run tasks (crate migrations…
Text
As I said in the previous lecture, application folder is the heart of your application. It contains views, controllers, models, routes, application configuration and more. Here is the contents of the bare "application" folder:  And here is the purpose of each file in the root of that folder : bundle…
Section 4: Application Starter
Text
In this lesson I will show you which things you need to do after you got your application setup on your local server. To get started quickly, I will be using MySQL as my database so in all examples I provide that is what I will be using (although you don't have to use MySQL, Laravel works great with…
Section 5: MVC, routes and events in Laravel
Text
When people start with Laravel or other MVC frameworks, they get a notion that the way actions are executed within the application should be triggered only by routes or only by controllers. Is that even remotely true?  Having designed quite a few web applications, I would affirm that this is not ent…
Section 6: Laravel Tips
Text
For quick code generation there are a few things one could use. The following tools are a nice addition to Laravel's Artisan CLI.  Imagine if you wanted to create models, controllers, migrations, tests, bundles just by typing in a command instead of creating each file manually by hand. Well, there a…
Text
In this lecture I will share with you what's the best Programming Text Editor that I've ever used and I will suggest you use it too (if you are in process of deciding what to use) since it's just blazing fast and speeds up development of your Laravel web applications. I use Sublime Text 2  as my def…
Section 7: Using Laravel Bundles
06:58

Installing and using Bootstrapper is quick and easy. It takes a minute to go from zero to Bootstrap!

The home of the bundle is at the official Laravel Bundles website, http://bundles.laravel.com/bundle/bootstrapper .

To install Bootstrapper Bundle, we open up the terminal and navigate to our application's root folder. Then using Artisan we fetch the Bootstrapper Bundle : 

<span class="pln" style="color: rgb(72, 72, 76);">php artisan bundle</span><span class="pun">:</span><span class="pln" style="color: rgb(72, 72, 76);">install bootstrapper</span>

You will get a message that the bundle is installed.

Then you need to edit bundles.php in your "application" folder and put Bootstrapper there as autoloading bundle (inside of the array of bundles) :

'bootstrapper' => array('auto' => true), 

Change Form and Paginator in the application.php config file to:

<span class="str" style="color: rgb(221, 17, 68);">'Form'</span><span class="pln" style="color: rgb(72, 72, 76);"></span><span class="pun">=></span><span class="pln" style="color: rgb(72, 72, 76);"></span><span class="str" style="color: rgb(221, 17, 68);">'BootstrapperForm'</span><span class="pun">,</span>
<span class="pun"></span><span class="pln" style="color: rgb(72, 72, 76);"></span><span class="str" style="color: rgb(221, 17, 68);">'Paginator'</span><span class="pln" style="color: rgb(72, 72, 76);"></span><span class="pun">=></span><span class="pln" style="color: rgb(72, 72, 76);"></span><span class="str" style="color: rgb(221, 17, 68);">'BootstrapperPaginator'</span><span class="pun">,</span>
Add the following to the application.php config file:
'Alert' => 'BootstrapperAlert', 
'Badges' => 'BootstrapperBadges',
 'Breadcrumbs' => 'BootstrapperBreadcrumbs',
 'Buttons' => 'BootstrapperButtons',
 'ButtonGroup' => 'BootstrapperButtonGroup', 
'ButtonToolbar' => 'BootstrapperButtonToolbar',
 'Carousel' => 'BootstrapperCarousel', 
'DropdownButton' => 'BootstrapperDropdownButton',
 'Helpers' => 'BootstrapperHelpers',
 'Icons' => 'BootstrapperIcons', 
'Labels' => 'BootstrapperLabels',
 'Navbar' => 'BootstrapperNavbar', 
'Navigation' => 'BootstrapperNavigation',
 'Progress' => 'BootstrapperProgress',
 'SplitDropdownButton' => 'BootstrapperSplitDropdownButton',
 'Tabbable' => 'BootstrapperTabbable', 
'Typeahead' => 'BootstrapperTypeahead'

Update laraveldatabasequery.php to use the Bootstrapper Paginator and not the core class by changing the use statement.

<span class="com">//Change </span>
<span class="pln" style="color: rgb(72, 72, 76);"></span><span class="kwd" style="color: rgb(30, 52, 123);">use </span><span class="pln" style="color: rgb(72, 72, 76);"></span><span class="typ" style="color: teal;">Laravel </span><span class="pln" style="color: rgb(72, 72, 76);">Paginator</span><span class="pun">; </span>
<span class="pln" style="color: rgb(72, 72, 76);"></span><span class="com">//To </span>
<span class="pln" style="color: rgb(72, 72, 76);"></span><span class="kwd" style="color: rgb(30, 52, 123);">use </span><span class="pln" style="color: rgb(72, 72, 76);"></span><span class="typ" style="color: teal;">Paginator</span><span class="pun">;</span>

Publish the bundle assets to your public folder.

<span class="pln" style="color: rgb(72, 72, 76);">php artisan bundle</span><span class="pun">:</span><span class="pln" style="color: rgb(72, 72, 76);">publish</span>

Add the following to your template view file to include the Twitter Bootstrap CSS and Javascript.

<span class="typ" style="color: teal;">Asset</span><span class="pun">::</span><span class="pln" style="color: rgb(72, 72, 76);">container</span><span class="pun">(</span><span class="str" style="color: rgb(221, 17, 68);">'bootstrapper'</span><span class="pun">)-></span><span class="pln" style="color: rgb(72, 72, 76);">styles</span><span class="pun">(); </span>
<span class="pln" style="color: rgb(72, 72, 76);"></span><span class="typ" style="color: teal;">Asset</span><span class="pun">::</span><span class="pln" style="color: rgb(72, 72, 76);">container</span><span class="pun">(</span><span class="str" style="color: rgb(221, 17, 68);">'bootstrapper'</span><span class="pun">)-></span><span class="pln" style="color: rgb(72, 72, 76);">scripts</span><span class="pun">();</span>

<span class="pun">That's it ! </span>

Text
This lecture will be very short.  I will explain how to send email using Swiftmailer Bundle ( http://bundles.laravel.com/bundle/swiftmailer ) in your web application.  Swifmailer bundle was created by Taylor Otwell and it is based on a comprehensive mailing library for PHP called Swiftmailer ( http:…
2.3 MB

The source code is also available on GitHub :

https://github.com/msurguy/swiftmailer-laravel-example 

Simple SwiftMailer send email example using Laravel PHP Framework and Gmail account. 
 The features of this simple web application are :
+ twitter bootstrap layout implemented by bootstrapper bundle 
+ send email using swiftmailer laravel bundle 
To get this application working on your machine, have a local server running and copy this folder in your web directory, then navigate to its public folder in the browser, if you see a screen that says "Hello Laravel World", proceed to next step: 
 Open up "routes.php" file in the "application" folder, edit the variables below "Route::get('sendemail', function()" to match your email credentials, and edit the contents of your message, subject, and who the email will be sent to. 
 That's it, you should be able send emails by pressing Send Email button from the application's home page. 
 Contributing to This code Contributions are encouraged and welcome. 
Submit pull requests or ask questions if something's not clear
 License This code is open source and is under MIT license.
Section 8: Make a Laravel app - blog
Text
Now that we know how to design apps considering Laravel's abilities, we can build things of our own!  In this chapter we will learn how to make a nice looking simple Blog using Laravel's routes, bundles, views, migrations and models, the features that the blog will have are :  responsive twitter boo…
Text
I don't like majority of tutorials on the web. Often they just show you what path the author made to get somewhere. They rarely teach the thinking process behind the actual steps. It is easy to just say: "do this, do that, and BOOM! You're done!", but the person seeing just the results does not know…
Text
In the previous lecture we've learned how to think about the application design, now let's apply those skills and build the actual model and the database for our blog! A little side topic : If you haven't had much experience with Databases, don't worry, I will guide you through the process for right…
Text
In the previous lecture we went through the thinking process behind database design and defined our data and how it is related to each other. We've learned how to break things apart in smaller pieces and how to relate data to each other.  In this lecture we will do the actual coding and create our d…
Text
In the previous lecture we have learned how to use artisan to create migrations and to use Schema Builder in our migrations to create tables and fill in rows in the database. Now using the knowledge that we have learned in this chapter we need to build models to relate the database tables to each ot…
Text
Now onto the routes for our blog application! I want to mention that all applications in Laravel could use Routes and Controllers in conjunction to make things happen (read: actions executed) but for this simple application using just routes will suffice. Routes in Laravel can be valid for any HTTP…
Text
In the previous lecture we have learned how to create models and routes for our Blog application. In this lecture I will explain how we will make the screens that the user sees, also called “Views”. While creating views for our blog, we will learn how to use Laravel’s Blade templating engine, Blade…
1.97 MB

A simple blog made in Laravel. 

View live demo : http://laravel-blog.pagodabox.com/

Please contribute and clone the source code on Github : 

https://github.com/msurguy/blog

Source code is commented. 

Section 9: Make a Laravel app - Twitter-like application
Text
Imagine Twitter is down again. It's dark outside, and how can you tell everyone about that?  Critter to the rescue! Learn how to make your own Twitter! Deploy your own Twitter with Laravel and a cloud service, in minutes!  In this chapter we will be creating a Twitter-like microblogging application…
Text
As usual, before we start coding anything, let's prepare ourselves with necessary tools to make life simpler and generally more enjoyable.  First, We will make the views first in plain old HTML (prettified by Twitter Bootstrap), we will get Laravel up and running, we will install Bootstrapper bundle…
02:18

Let's watch a short video showing what we will be creating! 

Text
When designing applications, I like to think from the end to the beginning. To design Critter App my first step was to sketch out the final result and then immediately transfer those sketches into HTML files just to get a general idea of how the application will look like. In total, we will have 4 v…
318.25 KB

Here are the files from the previous lecture, attached.

Text
As I have specified previously, we will be using Jeffrey Way's generator heavily while creating this application.  Before proceeding please make sure you download it and install it like it says in the readme file : https://github.com/JeffreyWay/Laravel-Generator   (Installation procedure: Simply dow…
Text
In the previous lecture we created the necessary Database tables and specified the columns for all of our data. In this lecture we will design the relationships between the data. Laravel will check with our models whenever we ask the application to show or edit data related to other data.  If you ha…
Text
In this lecture we will define what controllers Critter will be using, we will also create the home controller that will be responsible for showing the home page, processing input from the home page showing the login form and processing the login form, and logout.
Creating "Others" controller that shows public profiles of other users.
Text
Creating "User" controller that is responsible for posting critts, following and unfollowing users.
Text
Creating Routes for the Critter Application
Text
Creating the views from the existing sketches.
Text
Creating the views for home controller
Text
Creating the views for user and others controller
Text
Wrapping the application up
Text
Testing that everything works as expected
Text
Deploying to PagodaBox
Text
Critter App FULL source!
Text
Section 10: Building a RESTful API with Laravel
Intro to RESTful APIs
Text
Designing API controller
Text
Testing the API with CURL on Mac OS
Text
Section 11: Laravel wallpapers
Text
Free Laravel wallpapers

Instructor Biography

Hi! I'm Maks, a breakdancer, computer tech, web designer, RC hobbyist, and full time web developer.

I was born and raised in Kharkov, Ukraine, moved to the USA in 2004 and reside in Los Angeles area since then.

In my spare time I get creative and build things. I have created the following sites:

Check out my blog at Maxoffsky.com and follow me on Twitter: http://twitter.com/msurguy

Join the biggest student community

6,400,000

Hours of video content

24,000,000

Course Enrollments

6,800,000

Students

Reviews

Average Rating
4.4
Details
  1. 5 Stars
    20
  2. 4 Stars
    7
  3. 3 Stars
    3
  4. 2 Stars
    1
  5. 1 Stars
    1
    • Tsukasa

    Great! but old.

    First of all, Thank you author. But the contents is old. Now Lraravel most current version is 4. Blog sample does not work. It is too hard for begginers to correct errors. And from section 9, there are no contents. But there is little Laravel studies.

    • Dave Fobare

    Laravel deserves better at Udemy

    The material is not up to date with the current Laravel version - 4. And there are a lot of text files in places where actual videos are needed. This is a *really* weak course.

    • Alex Andra

    Very well done!

    I was new to Laravel and frameworks in general. I found this course really helpful to make me feel closer to this way of programming. Maybe the API's lectures could have been a little more accurate, I found them a total messy :) Anyway, good job Maksim, very well done and thank you for making me feel a little more confortable with these not very simple subjects. Cheers!

    • Mr. Cuneyt Mertayak

    Nice Course!

    Nice one

    • Mohamed Abdelwahed

    awsome

    impressive series ,that's what i was looking forsince i discovered laravel ,just keep the good job .

Show more reviews
Ready to start learning?
Enroll for free now