Find online courses made by experts from around the world.
Take your courses with you and learn anywhere, anytime.
Learn and practice real-world skills and achieve your goals.
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.
Not for you? No problem.
30 day money back guarantee
Learn on the go.
Desktop, iOS and Android
Certificate of completion
|Section 1: Intro to Laravel|
|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…|
|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…|
|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…|
|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…|
|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|
|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…|
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.
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.
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.
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.
|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|
|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…|
|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…|
|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|
|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|
|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|
|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…|
|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|
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 :
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:
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.
Publish the bundle assets to your public folder.
|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:…|
|Lecture 21||2.3 MB|
The source code is also available on GitHub :
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|
|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…|
|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…|
|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…|
|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…|
|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…|
|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…|
|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…|
|Lecture 29||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 :
Source code is commented.
|Section 9: Make a Laravel app - Twitter-like application|
|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…|
|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…|
Let's watch a short video showing what we will be creating!
|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…|
|Lecture 34||318.25 KB|
Here are the files from the previous lecture, attached.
|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…|
|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…|
|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.
Creating "User" controller that is responsible for posting critts, following and unfollowing users.
Creating Routes for the Critter Application
Creating the views from the existing sketches.
Creating the views for home controller
Creating the views for user and others controller
Wrapping the application up
Testing that everything works as expected
Deploying to PagodaBox
Critter App FULL source!
|Section 10: Building a RESTful API with Laravel|
Intro to RESTful APIs
Designing API controller
Testing the API with CURL on Mac OS
|Section 11: Laravel wallpapers|
|Free Laravel wallpapers|
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:
Hours of video content