Middleware Constructor

Guys, i was trying to achive something like this in controllers, $this->middleware('acl', ['is' => 'admin...
05

Using Laravel's Auth for securing a basic API?

Hey guys, I'd like to ask whether it is a good idea to use the default authentication shipped with Laravel as a way to secure my basic API....
03

Hyphen in route parameter names

I'm trying to use hyphens in my route parameter names. For example: Route::get('members/{location-name}/packages/{pac...
01

Where do I store my Classes

Hi, Another newbie question. BTW: I really enjoy Laracast! If I have any Classes or programming which does not belong into a model or contro...
05

Elixir: version with 2 JS files seems buggy

I encounter a strange problem with this simple config: mix.less('main.less') .scripts([ "../vendor/jquery/dist/jqu...
02

Accessing Arrays within an Eloquent Collection

Folks, I am completely new to Laravel and I'd like to know how to access the [stocktype] Array in the collection below. I'm creating the col...
01

Model scopes, count and helper methods

In my navigation I have the following dropdown menu <li class="dropdown">...
05

How to get Previous and Next Post?

Hi, I have a post table ordered by published_at DESC filed (YYYY-MM-DD). I need to find prev and next post, but i can't use simply the ID like id &...
19

Updating a cart

I have a shop that, only sells 1 item, but you can click a button so multiple items get added to the cart. Using jquery I am trying to send...
01

PayPal wrapper

Hi all, Looking for a nice simple to use PayPal wrapper for Laravel, anyone have any suggestions. Something that's not to complicated to se...
07

What do you use to store your application settings?

Hello, I was wondering what do you use to store application related settings? The settings that can be changed in your UI. Do you jus...
05

Working with Pivots

OK, I posted something before about my dilemma, but now, I have run into a problem. I have 3 tables: vendor (actual vendor) v...
03

chained dropdown selection

any idea how to start coding with this chained dropdown selection based on the country and city from db table? example if Japan is selected...
00

Global Functions

I find myself using this same piece of logic throughout my app (it's a customer management interface), how could I extract it to one place which co...
02

Lang [male|female]

Hi Everybody. Is there a way to adapt a word according to the gender of the user (male or female) within the Lang class ? For example...
07

When it's appropriate to use polymorphic relationship?

When should I use the polymorphic relationship? It seems like I'm not really sure when I should do that....
21

Forum: Improving Autocomplete for User Mentions

I really like the auto-complete with usernames in this forum. However, if the forum grows and you try to mention someone with a weird name or a com...
01

Many To Many with Pivot Query

Guys. Can someone help me out with this query. I know it's something very simple, but I just can't see it :/ I have this table structure.....
06

L5 Registration/Login

Hello I am new at L5 and I want to ask where I can find Video about Login/Register? Or something else that could help me to do it...
01

Nginx Sites Order

Is there a way to test the order of the config files that are loaded when a request comes in? I have the main domain and a subdomain with ss...
03