selimppc

Laravel Video

Aug 7th, 2015
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. Laravel Video
  2. Introduction of Laravel
  3. Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel is a clean and classy framework for PHP web development.
  4. Laravel is a very powerful framework, designed for php web application. It will give you ways to modularize your codes and make them look cleaner and easier to read and understand. It is open source software under MIT License.
  5. Laravel comes with many features and is built on many strong and mature software design patterns.Its main attraction is its intuitive API, which, unlike many other PHP frameworks, makes Laravel an absolute pleasure to use.
  6. Some of the features of Laravel include:
  7. - Awesome routing facilities.
  8. - Eloquent, an elegant and one-of-a-kind object-relational mapper.
  9. - Easy and convenient templating using Blade, a great templating engine built for Laravel.
  10. - An active and supportive community.
  11. - Amazing documentation.
  12. - Much more.
  13.  
  14. Requirements:
  15. The Laravel framework has a few system requirements:
  16. • Apache or any other compatible web server
  17. • PHP >= 5.4
  18. • mcrypt PHP Extension
  19. • OpenSSL PHP Extension
  20. • mbstring PHP Extension
  21.  
  22.  
  23. Install Composer
  24. Laravel utilizes Composer to manage its dependencies. First, download a copy of the composer.phar. Once you have the PHAR archive, you can either keep it in your local project directory or move to usr/local/bin to use it globally on your system. On Windows, you can use the Composer Windows installer.
  25.  
  26. Installation - Windows#
  27. Using the Installer#
  28. This is the easiest way to get Composer set up on your machine.
  29. Download and run Composer-Setup.exe, it will install the latest Composer version and set up your PATH so that you can just call composer from any directory in your command line.
  30. Note: Close your current terminal. Test usage with a new terminal: That is important since the PATH only gets loaded when the terminal starts.
  31.  
  32. Open Command Prompt/ Terminal in Windows:
  33. Run the following Line:
  34. php -r "readfile('https://getcomposer.org/installer');" | php
  35. Create a new composer.bat file alongside composer.phar:
  36. echo @php "%~dp0composer.phar" %*>composer.bat
  37. Close your current terminal. Test usage with a new terminal:
  38. composer –V
  39. For global:
  40. php composer.phar global require fabpot/php-cs-fixer:dev-master
  41.  
  42. We will now use Composer to install the dependencies of the project. If you don't have a composer.json file in the current directory please skip to the Basic Usage chapter.
  43. To resolve and download dependencies, run the install command:
  44. composer init
  45. If you did a global install and do not have the phar in that directory run this instead:
  46. composer install
  47. Or you can update with the following code
  48. composer update
  49.  
  50.  
  51. Install Laravel in Xampp
  52.  
  53. Run command prompt or Terminal with the following instruction
  54. Go to start menu and type run -> cmd hit enter for terminal
  55. And then Go to htdocs folder in xampp with prompt / terminal: c:\XAMPP\htdocs
  56.  
  57. Via Composer Create-Project
  58. You may also install Laravel by issuing the Composer create-project command in your terminal:
  59. composer create-project laravel/laravel --prefer-dist
  60.  
  61. Configuration
  62. Laravel needs almost no configuration out of the box. You are free to get started developing! However, you may wish to review the app/config/app.php file and its documentation.
Advertisement
Add Comment
Please, Sign In to add comment