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

Displaying independent data in views

Hey guys! I'm completely new to Laravel but I really like it so far :) After playing around a bit, I...

0 Likes
1 Replies
Solved

HTTPS definition in routes.php

I have a questions about https requests: The example in the official Laravel4 docs doesn't work in m...

0 Likes
2 Replies
Solved

post request in Laravel4 redirect on wrong url

This is My code in route.php Route::group(array('domain' => '{subdomain}.'.Config::get('a...

0 Likes
0 Replies
posted 10 years ago

trans() working fine on dev machine but not on server; seems to be issue with Waavi/translate

As in the title, trans() is working totally fine on my local dev machine. On the server though, it's...

0 Likes
3 Replies
Solved

Environment detection, subdomains, and requests

So, I think I have figured a way to do this, but I feel like there has to be a more efficient way. H...

0 Likes
2 Replies
posted 10 years ago

Newb: How to Change the root / home URL

Hi - I'm using windows 7 + Apache. to get to the default 'hello' start page i have to use: http://lo...

0 Likes
1 Replies
posted 10 years ago

How to do aggregate on many-to-many relations in Laravel Eloquent?

I'm following http://laravel.com/docs/eloquent#many-to-many Of course, with difference case. How to...

0 Likes
0 Replies
posted 10 years ago

Deep relations

Hello everyone, I don't really know how to solve this in a 'proper' way, anything that I can come up...

0 Likes
1 Replies

custom login filter not redirecting to calling page

I picked up development of an orphaned project using SimpleSAMLphp for SSO, and I'm trying to finish...

0 Likes
1 Replies
Solved

Short URL path with Restful Controllers?

Hi all I would like to know if and how it's possible to use a URL like this: "site/admin"...

0 Likes
1 Replies
posted 10 years ago

Trouble Installing QuickRoutes Package

I'm trying to use a package to help simplify route maintenance but am running into trouble attemptin...

0 Likes
3 Replies

using many to many primary id as foreign key

categories id, name products id, name products_categories id, product_id, category_id cards id, prod...

0 Likes
0 Replies

Request::server('HTTP_HOST') returns localhost within a helper class

I want to get the current domain, using Request::server('HTTP_HOST') - however when I call this from...

0 Likes
0 Replies

another eager loading question

i have a category with many products with many pictures This returns all products for a category wit...

0 Likes
1 Replies
Solved

Delete relations/child relations without CASCADE

I have the following models (example!). When deleting a tutorial I'm expecting the 'deleted' method...

0 Likes
1 Replies

Max date issue solved

In case anyone else runs into a place where you need to bring table results and get the most recent...

0 Likes
0 Replies

How to debug "artisan serve" in PHPStorm?

Hello! I'm used to debug PHP scripts in PHPStorm via xdebug. How could I debug Laravel with xdebug?...

0 Likes
2 Replies

Auth::check() code in view doesn't work

I'm trying to use Auth functionality. The problem is that if in my view i have the following code: &...

0 Likes
2 Replies
Solved
posted 10 years ago

Input::old and value from array

Hi, in my template I have: @for($i = 0; $i < 4; $i++) {{ dd(Input::old('custom_link.0.ti...

0 Likes
1 Replies
Solved

Use DISTINCT on joined columns with Query builder

I've got two tables products and artifacts who are in a one-to-many-relationship to each other. Now...

0 Likes
1 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.

© 2024 Laravel.io - All rights reserved.