Support the ongoing development of Laravel.io →

Is it possible to do ->union with ->paginate?

When i try to do union with paginate i get this error: Cardinality violation: 1222 The used SELECT s...

0 Likes
0 Replies
posted 10 years ago

inistializing a variable in Blade

I was wondering can I do something like $c=0 in my blade.php file without inclosing it in <?php ?...

0 Likes
4 Replies

Query inside foreach Laravel 4 Controller/view

Well, in my view I've a foreach and I display the id of a product with {{$look->item1_id}} but i...

0 Likes
0 Replies

Please help with pivot query

Hi, I have just started playing with Laravel but am having a bit of trouble optimising this query us...

0 Likes
4 Replies

Check for Unique Vaue but ignoring Soft Deleted Records

Hello Maybe someone could help me... i want to validate that a site title and url are unique, only w...

0 Likes
1 Replies

Creating 'plugins'

Hi, I'm trying to create a 'plugin' which is essentially a side box containing knowledge base snippl...

0 Likes
2 Replies

Breadcrumbs

Looking for a great breadcrumb facade and wanted to know which one is proven that people like and pe...

0 Likes
4 Replies
posted 10 years ago

Testing DB Credentials

I'm making an application this will include an install script. The script will ask for the user's DB...

0 Likes
1 Replies

Help to write query

hello i have sql how can i write in Laravel this sql ? please help. (SELECT goods_id, name, img, ano...

0 Likes
2 Replies
posted 10 years ago

how to redirect. old url to new url

how to redirect old url to new url. old url: http://www.example.com/main.php?id=111 new url: http:...

0 Likes
1 Replies
posted 10 years ago

Redirect::back() empty value not allowed

Hi guys, I wanne redirect back to the previous page without input. How can i do that cause de functi...

0 Likes
1 Replies
posted 10 years ago

$errors array is empty in view, but has data if I kill the script and output the object with dd()

I am trying to return errors back to my view, this is part of my controller TestcategoryController $...

0 Likes
2 Replies

Artisan-commands need different hostname in db-config than Laravel itself

This is a strange one I've never been able to solve ever since I started using Laravel. When I issue...

0 Likes
1 Replies
posted 10 years ago

No app/models directory after installation

Hey, I'm really new to Laravel so this might be a dumb question. I'm doing a tutorial and it says th...

0 Likes
2 Replies

Laravel Validation Filled

Hey guys, today I found out the laravel validator provides a filled method, but it's not present in...

0 Likes
0 Replies

Class Error in migrate:refresh

I am trying to refresh the migration using this command. php artisan migrate:refresh My migrations a...

0 Likes
1 Replies

Changin date format and localization

I have changed format date that way: BaseModel.php: use Carbon\Carbon; class BaseModel extends \Elo...

0 Likes
0 Replies

Query Builder results different from SQL results

Hello, I have built a query with the Query Builder and I monitor what SQL is actually executed by du...

0 Likes
3 Replies

morphMany lists error (Call to a member function addEagerConstraints() on a non-object)

I have a problem with using morphMany relations in combination with lists in my model. I do have a M...

0 Likes
0 Replies

laravel + react.js

any advices what to do and what not to do to combine react.js with laravel project ? what is the goo...

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