Support the ongoing development of Laravel.io →

4,599 Threads

Where can I store this array of rules that changes per database row?

I am fairly new to Laravel as well as PHP in general. The following code is working, but I want to b...

0 Likes
0 Replies

How can I refactor this event?

Event::listen('widget.sync', function($widget, $user) { if( App::environment('local') ) { Mail::...

0 Likes
0 Replies

Getting search result + content

Hey guys, Hope the title is not too confusing, but here is what I am trying to do: The user enters a...

0 Likes
5 Replies
Solved

Change the non-debug exception handler

Hi all :) I'm using my database to store sessions, and running a few tests to see what happens if so...

0 Likes
0 Replies

Complex Join Query Not "Working"

Hi there, I'm not new to frameworks and ORMs, but I am new to Laravel and Eloquent. I've just starte...

0 Likes
1 Replies
Solved

Creatable fields

Hey, I'm new to laravel and still learning a lot every day :) But I have already my project in mind...

0 Likes
0 Replies

Migrate and primary keys

Hello, I have trouble creating my tables with the migrate tool. I'd like a table for countries with...

0 Likes
10 Replies
Solved

Handling async multiple users uploading at the same time.

I am at a standstill when it comes to this. I would like for there to be no issue or hang-up if mult...

0 Likes
0 Replies
posted 10 years ago

Category tree

Hello, how can i make category tree's like: Category 1 category 1.1 category 1.1.1 Categor...

0 Likes
3 Replies

Working on a relationship

I'm trying to put together a wrestling project and have arrived to the point where I need to put tog...

0 Likes
9 Replies
Solved
posted 10 years ago

Role Based Permission - Relationship Problem

Hi, I'm trying to create relation from this schema Schema::create('users', function($table) { $...

0 Likes
3 Replies
Solved
posted 10 years ago

Summary Query, Raw Expressions Create DB Connection

I've been working on summary queries for my models using something similar to the query below: publi...

0 Likes
0 Replies

[Package] Laravel Debugbar

Laravel 4 Debugbar: https://github.com/barryvdh/laravel-debugbar This is a package to integrate PH...

0 Likes
14 Replies

Dynamic table names using setTable()

To answer http://forumsarchive.laravel.io/viewtopic.php?id=11485 $test = new Test(); $test->setTa...

0 Likes
0 Replies

Pagination and JOIN with Laravel

I'm having a strange behavior (due to my fault I guess) while trying to paginate some results after...

0 Likes
5 Replies

Working with Log core and connecting it to redis

Hi guys, well, i am using the laravel's log core. as it's based on Monolog i just wanted to know how...

0 Likes
1 Replies

Help with users and their roles (Laravel + Entrust)

Hello, first thanks for the interest in my topic! Here's my question, I have Laravel and Entrust aut...

0 Likes
3 Replies
Solved

Using Eloquent::with when having a parameter

Hello, I'm Developing a system for displaying a list of mandatories done by a student in a specified...

0 Likes
1 Replies

How to do `INSER IGNORE`?

Is it possible to do INSERT IGNORE INTO by standard methods or I need to do custom raw query? In thi...

0 Likes
1 Replies

Filter search results by tags using eloquent

I have table structure like this posts | posts_tags | tags _________________________ id |...

0 Likes
4 Replies
Solved

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.