Code Monkey home page Code Monkey logo

laravel-cheatsheet's Introduction

Laravel Cheat Sheet

Finally a cheat sheet for Laravel 4. Keep in mind this is a work in progress and will be fairly dynamic. It will follow the docs closely and I'll try to keep it up to date with new features being added.

Live Version Here:

Laravel Cheat Sheets

Contributing

If you see a typo or wish to add/change anything, open an issue or pop up a pull request. Thanks!

laravel-cheatsheet's People

Contributors

craighooghiem avatar crojasaragonez avatar dineshrabara avatar djug avatar elvios avatar fluidworks avatar fuhrmann avatar jesseobrien avatar kroguz avatar kwolniak avatar landjea avatar macedd avatar metalmatze avatar mitttens avatar mixalistzikas avatar mluepkes avatar morgon avatar nassimrehali15 avatar noeldavies avatar paulofreitas avatar peterfox avatar qcol avatar remo avatar rvwoens avatar samyoul avatar taylorotwell avatar thallisphp avatar tortuetorche avatar xyzer avatar yadakhov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-cheatsheet's Issues

Laravel 5

Hi. Would you update this nice cheatsheet for laravel 5?

schema

no sale el schema en el pdf

Cheatsheet link broken

Hello, first of all, thanks for this awesome tool...

This past few days I've noticed your cheatsheet shows you root webpage. Is this an issue?

image

Thanks

Print style

When printed, the search bar and the menu should hide

Extend reference.

Laravel >= 5.0 uses gulp. Maybe we could extend the reference with the gulp and Laravel Elixir Options?

Route::get() arguments order

If passing an array of options, the callback needs to be the first item.
Example:
Should be

Route::get('/',
    array(
        function(){},
        'before'=>'cache'
    )
);

And not

Route::get('/',
    array(
        'before'=>'cache',
        function(){}
    )
);

More Responsive

Just reminding myself to make the site more than 2 columns wide and a bit more responsive.

Website problem

When your site resolution is small the menu doesn't work.

Can you add a "one colum" layout?

It will be useful if you could add a button for display the content in "one column" to avoid excessive wrapping, thanks!

I think it will be easy with some javascript toggling the "large-4" class in "/html/body/div[3]/div[1]"

I've made some Pull Requests

laravel cheat sheet

Making a poster

Jesse,

I am thinking about getting some posters made of this (and offering them to others for a modest fee to cover costs). Would that be fine with you? I might have to modify the layout somewhat.

Adam

Routing missing one

Hi,

In Routing section it miss one :
Route::resource('foo', 'FooController');

;)

Typo in word "sponsor"

Sponsored / sponsorship / etc. Minor issue, just wanted to mention it.
Thanks for a great resource!

More consistent comments

I think all comments should be placed before the code examples, as at the moment it's very inconsistent.

Update

This cheat sheet will be updated for with the laravel5?

New features

You should include Form::selectYear, Form::selectMonth and Form::selectRange to your list

Artisan from routes or controller

Hi, i'm not shure is it's very important to add but Laravel 4 have a lot of features hidden :), i found the option to run artisan commands from route or controller, like Artisan::call('migrate:install'); or Artisan::call('migrate', [ '--path'=>'app/database/migrations' ]); Artisan::call('db:seed');

http://paste.laravel.com/10g9

Regards

A method of documentation for Input::file

First, thanks for your work in this cheatsheet, I saw a method for input::file that it could be important include it.

$extension = Input::file('file')->getClientOriginalExtension();

This method on Laravel 4 is for get original extension from file uploaded.

Paginator

Paginator missing or this is to 4.1 only?

Paginator::make($items, $totalItems, $perPage);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.