Laravel Cheat Sheet

Laravel-Cheat-sheet
Laravel-Cheat-sheet

Today I am going to discuss about Laravel Cheat Sheet.Laravel cheat sheet is nothing a just quick reference guide (cheat sheet) for Laravel listing artisan, composer, routes and other useful information.Laravel cheat sheet will give you a quick idea about artisan, composer, routes etc.Here I am going to list out few command’s so friends you can take a look.This cheat sheet will help you a lot throughout your development process, if you like our article please share and like our page on facebook.

Because of the size of the list, I am going to discuss important one only, if you interested to know more about cheat sheat you can check below links.

Artisan Cheats

  • php artisan env
  • php artisan help
  • php artisan list
  • php artisan migrate
  • php artisan optimize
  • php artisan routes
  • php artisan serve
  • php artisan tinker
  • View More cheats for Artisan Click Here
  • Cheats for Blade files

  • @extends(‘layout.name’)
  • @section(‘name’) // begin a section and
    @stop // End a section
    @show // End a section and yield
  • @yield(‘name’) // Show a section in a template
  • @include(‘view.name’)
  • @include(‘view.name’, array(‘key’ => ‘value’));
  • View More cheats for Blade click Here
  • Cheats for Composer

  • composer create-project laravel/laravel folder_name
  • composer install
  • composer update
  • composer dump-autoload [–optimize]
  • composer self-update
  • Cheats for Eloquent

  • Model::create(array(‘key’ => ‘value’));
  • Model::all();
  • Model::find(1);
  • Model::all()->take(10);
  • View More cheats for Blade Click Here
  • Cheats for Views

  • View::make(‘path/to/view’);
  • View::make(‘foo/bar’)->with(‘key’, ‘value’);
  • View::make(‘foo/bar’)->withKey(‘value’);
  • View::make(‘foo/bar’, array(‘key’ => ‘value’));
  • View::exists(‘foo/bar’);
  • View More cheats for ViewsClick Here
  • lots of Laravel Cheats available such as

    Forms Cheat sheet you can View Here Click Here

    Redirect Cheat sheet you can View Here Click Here

    Inputs Cheat sheet you can View Here Click Here

    Mail Cheat sheet you can View Here Click Here

    Cache Cheat sheet you can View Here Click Here

    Files Cheat sheet for Image upload you can View Here Click Here

    HTML Cheat sheet you can View Here Click Here

    Helpers Cheat sheet you can View Here Click Here

    Events Cheat sheet you can View Here Click Here

    Database Cheat sheet you can View Here Click Here

    Cookies Cheat sheet you can View Here Click Here

    Response Cheat sheet you can View Here Click Here

    Routing Cheat sheet you can View Here Click Here

    Schema Cheat sheet you can View Here Click Here

    Session Cheat sheet you can View Here Click Here

    to view more visit on this Click on this link

    You can view it online.

    http://cheats.jesse-obrien.ca/
    http://cheats.jesse-obrien.ca/Laravel%20Cheatsheet.pdf
    https://gist.github.com/42antoine/8822851
    http://creative-punch.net/wp-content/uploads/2013/12/cheat-sheet-A4.pdf

    Advertisements

    Best Packages in Laravel 5

    Best Packages in Laravel

    Laravel is a free and open-source PHP web framework(MVC), created by Taylor Otwell and intended for the development of web applications.

    Packages are the primary way of adding and extending the functionality of Laravel.

    In Laravel Lot of Packages are available to enhance the functionality,Through the Packages you can improve your application, Packages are Very Important in Laravel, Here I am Going to mention some best packages for you .Through the Below mentioned Website you can find your respective packages.

     

    10 Most Usefull Packages:

    • Intervention Image – if you are dealing with image then include this image handling library for creating, editing and composing images.
    • Laravel Debug Bar – Integrates Laravel Debug Bar, So you Can Identify what are the files/queries are excuting and much more.
    • HTML – Official HTML and Form Builders for Laravel,
    • Bootstrapper – Set of classes to create Bootstrap 3 markup
    • Eloquent Sluggable -it is used to Create slugs for Eloquent models
    • Flash Messages – Usefull to show flash messages in Laravel.
    • Laravel DomPDF – usefull for creating PDF’s nice and simple by wrapping the DomPDF library in a Laravel
    • Breadcrumbs in Laravel – provides an easy way to generate breadcrumbs.
    • Carbon Dealing with dates has never been easier but Carbon Makes it very easy.
    • Javascript Validation – Very Usefull for Forms, Use validation rules, messages, FormRequest and validators to validate forms in client side without need to write any Javascript code

     

    For More Packages Information follow this link

    https://github.com/chiraggude/awesome-laravel