Support the ongoing development of Laravel.io →
posted 10 years ago

Include Script File Only In Registration Page

Hey There, I have a main.blade.php view, and a register.blade.php which extends main, So I'm going t...

0 Likes
1 Replies
Solved
posted 10 years ago

mocking an IoC Container binding in codeception+mockery functional test

So I need to mock some Stripe API calls for a bunch of functional tests. I'm binding the mocks via...

0 Likes
1 Replies
posted 10 years ago

Conditional update query from array

I want to add multiple where clause and multiple field to update in a single query. The code below d...

0 Likes
0 Replies

Get the latest 8 votes on each users.

Hi, I have a table like this: id mobile_number code position_id 1 123123 1...

0 Likes
0 Replies

How to check if user has already invested on a project

I am working on social app where user can invest on many projects and each project corresponds to a...

0 Likes
1 Replies
Solved

Sub Domain Routing

Hi all, I am currently planning a project and I know that i will have 4 possible sub-domains but i a...

0 Likes
0 Replies

Save data into Many To Many relationship

hello , i have some troubles when i try to save into a manytomany's relationship basically i don't k...

0 Likes
0 Replies
posted 10 years ago

Str::words takes images

Hello, I am using the Str::words() method on the news-messages as a teaser. When I add an image to m...

0 Likes
0 Replies
posted 10 years ago

How to pass pivot table extra attributes while creating a model?

Users table structure: users id, name, username, password, email, created_at, updated_at Categories...

0 Likes
0 Replies
posted 10 years ago

Blade @extends hierarchy reflection?

How can I determine in a view composer's code what blade template a given blade template @extends? R...

0 Likes
0 Replies
posted 10 years ago

Forge is down

Oh the humanity http://d.pr/i/M9bZ

0 Likes
1 Replies
posted 10 years ago

Add GET values to Form::model()

Hey guys, Im using a Form::model() but i want to add a $_GET value to it. Can someone tell me how to...

0 Likes
0 Replies

Header won't set

I am trying to return an image, however I cannot get the 'Content-type' to set and when I navigate t...

0 Likes
2 Replies
posted 10 years ago

Singleton constructor being called twice?

I'm just getting my head round this whole DI thing, but something seems to be happening that I wonde...

0 Likes
2 Replies
posted 10 years ago

feature request - blade - foreach where

Currently, I'm doing this: @foreach($field->options as $option) @if ( 1 != $option->deleted...

0 Likes
2 Replies
posted 10 years ago

Fire event after all query (eloquent and fluent also).

Dear All! In an application I have to track data table record changes, so I need to define some even...

0 Likes
5 Replies
Solved

From migration to crud

is possible form migration file make a CRUD, create controller, model and view. Thanks

0 Likes
0 Replies
posted 11 years ago

PHPStorm - Live Templates and Theme

Settings file - http://cl.ly/2i22240w3y34 (.jar file just import from main screen or File > Impor...

0 Likes
5 Replies

Remembering users under HTTP authentication

I am using the stateless HTTP authentication as described at http://laravel.com/docs/master/authenti...

0 Likes
0 Replies

Use another column instead of 'email' for auth.basic?

I have the following: Route::get('profile', ['middleware' => 'auth.basic', function() { // Only a...

0 Likes
2 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.