Support the ongoing development of Laravel.io →

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
posted 10 years ago

Valid route throwing 404

I have a routes.php /* * Web */ Route::group(['namespace' => '\Smartii\Controllers\Web'], funct...

0 Likes
2 Replies
Solved
posted 10 years ago

Get view data

Hi Guys, I need to get the view data i found the View::getData() method in the api but i can not cal...

0 Likes
3 Replies
posted 10 years ago

Queue Optimization

Welcome Laravelians; I Spent long time dealing with laravel approach for queues and I've noticed it...

0 Likes
0 Replies

Update existing row with unique rule (validation fails)

Hi, first question I cant find working answer. Laravel 4.1 ###rules public static $rules = [ 'name'...

0 Likes
7 Replies
Solved

Artisan cron non functional

I have got a page which queues up emails in beanstalked. The script works as intended, the emails ge...

0 Likes
2 Replies

eloquent auth driver users and admins in same table?

ok so I'm looking to create a system with users and admins, who will be separate. ideally i don't wa...

0 Likes
3 Replies
posted 10 years ago

Wamp - No guessers available issue

Hi, I am not sure whether i posted in correct section or not. By the way, I get this error: LogicExc...

0 Likes
0 Replies
posted 10 years ago

Shared variable in Laravel not available in layout

I have 3 levels blade structure: lvl 0 - master-layout - containing elements common accross all sy...

0 Likes
1 Replies

Any equivalent to CakePHP's saveAll?

I am coming to Laravel from CakePHP. In CakePHP I could save a model and related models using a sing...

0 Likes
3 Replies
posted 10 years ago

Rewrite URL with Router

I wan't rewrite URL http://example.site/{username} for UserController@actionProfile. Ext: http://exa...

0 Likes
1 Replies

auto response email

hi all, can anyone provide me script for creating auto response email?

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.