Skip to content

Instantly share code, notes, and snippets.

View bidyashish's full-sized avatar
🔺

Bidyashish bidyashish

🔺
  • Ẹ̶̢̢̛̫͚̤͙̏̔͗̌̒̀̃̕ạ̸̠̦̞̝͇̗̗̻͉̲͓̋͗̔̑͋̌̑̏̎̐̂̌̎̽̂̾̓̎̃̕̕͠r̶̢͔̜̜̣̮̮̫̜̭̞͙͇͖͎̾͒̾̏͜t̸̢͙͔̪̬̺̼̺̮͐͆h̵̨̛̳̬̯̥̮̖̝͖͕̟͎͈͌̐̿͐̊͌͌̇͒̃̐̓̋̊́̀́̕͘͝
View GitHub Profile
@bidyashish
bidyashish / 01_Laravel 5 Simple ACL manager_Readme.md
Created April 23, 2018 03:36 — forked from amochohan/01_Laravel 5 Simple ACL manager_Readme.md
Laravel 5 Simple ACL - Protect routes by an account / role type

#Laravel 5 Simple ACL manager

Protect your routes with user roles. Simply add a 'role_id' to the User model, install the roles table and seed if you need some example roles to get going.

If the user has a 'Root' role, then they can perform any actions.

Installation

Simply copy the files across into the appropriate directories, and register the middleware in App\Http\Kernel.php

@bidyashish
bidyashish / eloquent.md
Created April 21, 2018 07:04 — forked from msurguy/eloquent.md
Laravel 4 Eloquent Cheat Sheet.

Conventions:

Defining Eloquent model (will assume that DB table named is set as plural of class name and primary key named "id"):

class Shop extends Eloquent {}

Using custom table name

protected $table = 'my_shops';

@bidyashish
bidyashish / README.md
Created March 17, 2018 03:57 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
@bidyashish
bidyashish / laravel_5_cheatsheet.md
Created February 23, 2018 03:23 — forked from abhi9bakshi/laravel_5_cheatsheet.md
Laravel 5 cheatsheet - Laracasts: Laravel 5 fundamentals

#Laravel 5 fundamentals

##Chapter 1: Meet Composer

Install composer

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
@bidyashish
bidyashish / README.md
Created February 23, 2018 03:19 — forked from hofmannsven/README.md
Notes on working with Laravel 5
@bidyashish
bidyashish / laravel-ums.markdown
Created January 16, 2018 07:46 — forked from anchetaWern/laravel-ums.markdown
Building a User Management System in Laravel

There's no shortage of good resources for learning laravel. So instead of the usual introductory tutorial were just gonna learn Laravel by building a project from scratch and that's gonna be a User Management System.

I don't know if my definition of a User Management System is correct but here's my idea of what's it's capable of doing:

  • Register Roles
  • Register Users
  • Update Users
@bidyashish
bidyashish / List.md
Created January 16, 2018 07:43 — forked from msurguy/List.md
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):