A DIY Guide to Create a Perfect Video Streaming Site

Expert Tutorial + Source Code

We are shifting from TV to internet streaming. This is your chance to get hold of our awesome internet video streaming script.
This book divulges the complete procedure of creating an app using PHP and MySQL on LARAVEL framework.


Product Downloads


Facebook Shares


Hours To Complete


Coffees Made

Change Log

What you will get

A PHP & LARAVEL tutorial

We give you a step-by-step explanation of all the technicalities used for creating a video streaming website. In addition to the script, we have an in-depth tutorial for PHP & Laravel framework.

Your complete guide

You get a complete eBook with technical documentations of all that you need to create your own video streaming site.

Do-It-Yourself Experience

You will understand about building a complete online video streaming app using php and laravel framework. Not just that, when you do it yourself, you get the complete picture.

Full source code (PHP,LARAVEL)

We provide you with the complete source code for building a video streaming website. Once you have the source code, you do not need any external help, do you?

What you will learn

About Admin Panel

Understand the concepts used in admin panel. This tutorial will help you to gain knowledge in managing and handling the entire application.

User Panel

We give you an account of user scenarios with detailed code description for each scenario.

Database storage

You will be able to know much about storing and retrieving the data from the database using appropriate Routes.


To be in the competition, you need to be one-step ahead of others. If your business is not making online videos to promote it, you're not only losing out on a great way to promote yourself but you're also missing out on one of the fastest growing segments of digital marketing.

Sample pages from book

Maxflix Video Streaming Site Tutorial

Installation of Laravel


Admin Panel




Email Setting

Payment Setting

Coupon Settings

Template Settings

User Management

Send emotional

Remainder Settings

User Panel

Home page

Sign Up


User Dashboard



Payment details

Enter coupon

Log Out

Admin Panel


Admin is the one who has an authority to maintain overall application as per the need. Admin panel for Maxflix is designed in such a way that the administrator can easily operate the entire application. This app makes the admin feel relaxed in handling the subscribers, as most of the functions are in-built. Any administrator would love to operate the Maxflix application due to its unique flexible nature.

Now let us understand the entire functionality of Admin panel in detail. Initially the admin has to Sign in into the Maxflix with valid email id and password.

On Signing in the admin will be redirected to Admin Dashboard. It consists of below listed menu:




Email Setting

Payment Setting

Coupon Setting

Template Setting

User Management

Send Email

Remainder Setting

1. Route::get('/adminSetting', array('as' =>'adminSetting',
'uses' => 'AdminController@adminSetting'));
2. adminSetting function will be called from
3. public function adminSetting()
4. {
5. return View::make('admin.settings');
6. }
7. Route::post('/adminSetting', array('as'
=>'adminSettingPost', 'uses' =>
8. adminSettingPost() function will be called from
9. public function adminSettingPost()
10. {
11. $email = Input::get('email');
12. $setting = Setting::where('option','title')->update(array('value' =>
13. $setting1 = Setting::where('option','keywords')->update(array('value' =>
14. $setting2 = Setting::where('option','footer')->update(array('value' =>
15. $setting3 = Setting::where('option','email')->update(array('value' =>
16. $user = User::where('id',Auth::user()->id)->update(array('email' => $email));
17. $user1 = User::where('id',Auth::user()->id)->update(array('password' =>
18. if($user)
19. {
20. return Redirect::back()->with('success’, “Setting
successfully updated");
21. }
22. else
23. {
24. return Redirect::back()->with('success’, “Something
went wrong");
25. }


When an admin signs in, he will be redirected to dashboard. When he is redirected to dashboard a Route will be called, which fetches the admin URL and sends to controller named admin controller. Further the admin settings function returns the view display of admin panel. When admin tries to perform any action in the admin panel again a Route is called using post method. The admin settings function will be executed. Using get method we fetch the email id entered by the admin and store it in a variable named email. From the Setting table in the option field we update the title, keyword, footer, email of the application and assign to variables. Id of authenticated user and user's hash value for password is fetched using get method. If the user is valid and authenticated, success message is returned. If not error message is returned.

User Panel


The user here refers to the person who subscribes to watch latest videos online .Once the user has logged in successfully with valid credentials he will be navigated to user dash board with list of categories and sub categories. He can choose any category and view the latest videos.

Home page

1. Route::get('/', array('as' => 'home', 'uses' =>
2. public function home()
3. {
4. return View::make('index');
5. }


When the user signs up into the app,a home page is displayed. To display a home page a Route is generated which directs the user to home function at HomeController. In home function we execute the index.blade.php function and return the values to View so that home page is displayed.

Sign Up

1. Route::get('signUp', array('as' => 'signUp', 'uses' =>
2. public function signUp()
3. {
4. return View::make('signUp');
5. }
6. Route::post('signUp', array('as' => 'register', 'uses' =>
7. public function register()
8. {
9. $emailid = Input::get('email');
10. Try
11. {
12. $user = Sentry::createUser(array('email' =>
Input::get('email'),'password' =>
Input::get('password'),'first_name' =>
Input::get('firstName'),'last_name' =>
Input::get('lastName'),'username' =>
Input::get('username'),'role_id' => 0,'upgrade' =>
0,'upgradedate' => date('y-m-d', strtotime("+30
13. $userGroup = Sentry::findGroupByName('users');
14. $user->addGroup($userGroup);
15. $activationCode = $user->getActivationCode();
16. $activationLink =
17. Mail::send('emails.activate', array('activationLink'
=> $activationLink), function($message)
18. {$message->to($_POST['email'], '')->subject('Activation Mail');});
19. $emaill = DB::table('emails')->where('option','welcome')->first();
20. Mail::send('emails.welcome', array('body' =>
$emaill->body), function($message) use ($emaill)
21. {$message->to($_POST['email'], '')->subject($emaill->subject);});
22. return Redirect::Route('home')->with('success','Check your mail for verification
(including Spam folder) ');
23. }
24. catch (Cartalyst\Sentry\Users\LoginRequiredException
25. {
26. return Redirect::Route('home')->withInput(Input::except('password'))->
'Login Field is Required');
27. }
28. catch
(Cartalyst\Sentry\Users\PasswordRequiredException $e)
29. {
30. return Redirect::Route('home')->withInput()->with('error', 'Password Field is
31. }
32. catch (Cartalyst\Sentry\Users\UserExistsException
33. {
34. return Redirect::Route('home')->withInput(Input::except('password'))->
'User Already Exists');
35. }
36. catch
(Cartalyst\Sentry\Groups\GroupNotFoundException $e)


To display Sign Up page, Route directs the signUp function of UserController. From the View folder, signUp function is executed to obtain the signUp page. When the user enters the credentials and clicks on Sign Up, a Route directs user to execute register function at UserController. In register we fetch for the value of email using get method and assign to a variable emailid. We have used Sentry package to handle user management, creating groups, to send activation mail and authorization purpose. The credentials entered by the user are located in an array with the name User. Using Sentry package we transfer the user credentials to database and store it in the database. We save the user in group named user. As the user is activated into group, activation code and activation link is given to them. If the user is signed in for the first time, welcome message is displayed to the user and the user is directed to Home page by a Route. If any of the fields are left blank, we display message using catch function respectively for every scenario. When user enters valid credentials a Route directs the user to register function, at this function we fetch for the email id entered by the user and store it in a variable emailid. Further we fetch the details of the user and store in an array created using Sentry package. Also we find the group to which user belongs by using findGroupByName function, using Sentry package we assign the group to the user. On successful registration, user is displayed with activation mail,message and url. If the user is registered for the first time, a Route will direct the user to home page and a welcome message will be displayed. In case if the user has not filled login field, an error message will be displayed using catch function. If the field for password is left blank by the user an error message is displayed and directed to home page. If the user already exists an error message is displayed also if the allotted group to the user does not exists an error message is displayed to the user.

Click to Preview

  1. Table Of Contents

  2. Admin Panel

  3. User Panel

Step-by-step tutorial + Full source code + Installation manual + Video !

Can this day get any better ?

Not convinced? scroll down further!


Ebook content overview

The approach

This book is written in very simple and easily understandable way. It gives the clear sketch of developing a video streaming app.

Video Streaming Script

We explain how the videos are fetched, categorised and delivered to users. Our tried and tested codes help you to understand the app easily.

Source code

The code is explained clearly with proper flow of application. Each and every scenario of video streaming script has been covered in the source code with detailed descriptions in the book.

ios tutorial

User Management

This app specially focuses in grouping the similar users into categories .The user management is of due importance. Here we deal with accurate user management skills in video streaming.

Messages from readers

Uber for web tutorial

Glenn N. Dubay

"I have always been fascinated by the live video streaming app script. I tried various sites for learning the same but always landed disappointed. Every single line of the script is explained reasonably & it’s quite easy to understand."

Uber for web tutorial

Tayla Martindale

"Just wonderful! For $ 9, you can get a world class video streaming script. I wouldn’t have got better details than this anywhere else."

Uber for web tutorial

Carlos Goncalves Santos

"This video streaming script has made me so much happy & over whelmed. I have the joy of buying this app & hearty commends to the team of live video streaming."

Why so Less?

A price-point that won't break the bank!

We've got the perfect pricing for you. No-one is too big or too small for us.

Join over 20,000+ people using ScriptMode to learn skills like never before!

This Product
All 23 Products
& Tutorials

for just $199
( Check the list of Tutorials HERE )

  • 100% Source Code
  • Access to Knowledge Base
  • Life time FREE upgrades

3 reasons you SHOULD get this!