Support the ongoing development of Laravel.io →

Detecting if script is ran from artisan or not

Hi, I have some model event listeners that I don't want to be ran when I run a migration with artis...

0 Likes 2 Replies

How can I add where clause on DB::raw equation result?

I have a query with a select that has a DB:raw equation to get an invoice balance. I'm not sure how...

0 Likes 0 Replies

Polymorphic Relationship with Self referencing

I've created a user relationship similar to that of twitter. This is a self referencing many-to-many...

0 Likes 0 Replies

Disable build-in commands

Is it possible to disable the build in commands like migrate. To be certain I can't run them by acci...

0 Likes 5 Replies

Forget cache on touch

Hey, I want to cache my queries like getting all projects assigned to a user. I use ->remember(36...

0 Likes 3 Replies

Convince me of the advantages of L4 migrations

I've never been a fan of L4's migration approach. Maybe it's just the way I develop that is the rea...

0 Likes 13 Replies

Suggestion: link to last unread post

It'd be great if you could implement a link to last unread post automatically when you click on a to...

0 Likes 12 Replies

Proposal for create a Laravel Google Newsstand account

I really like to use Google News stand and it's easy to a website owner, to submit a new edition on...

0 Likes 0 Replies

Chaining first()

I just started using laravel, and I am trying some code. $candidate1 = ot_Candidate::where('id', '='...

0 Likes 1 Replies

Solution for form labes / column headers

I'm building an applicaiton where I have a lot of forms and CRUD stuff. What I'm trying to achieve i...

0 Likes 2 Replies

Error handling design advice

Right now, when I do something to the database that could fail... such as add a new record where the...

0 Likes 3 Replies

Authentication by Email OR UserName

if (Auth::attempt(array('email' => $email, 'password' => $password))) { return Redirect::inten...

0 Likes 3 Replies

Is Laravel right for me?

I am working on a personal project which I hope I can make into a full fledge app everyone can use....

0 Likes 2 Replies

Failed PDOException

Can someone tell me how this code fails even though I am catching the PDOException? https://gist.git...

0 Likes 1 Replies

One with different data (view for email content that is sent to different users)

Hi, I would like to send email (with same content) to multiple users but I'm having trouble to figur...

0 Likes 3 Replies
Solved

There's a new site design coming, and more.

Our community's "Nickstr" is creating a new design for this site. I think that you'll be v...

0 Likes 9 Replies

Add Psr4 Autoloader at runtime

I am in a position where I need to add PSR-4 Prefixes to the autoloader at runtime, without using th...

0 Likes 1 Replies

Help with proper query

I am looking for help in grabbing data the proper Laravel way. An existing site is being converted t...

0 Likes 1 Replies

Problem with laravel authentication panel

Hello. I am new in laravel 4 framework. I was following steps of tutorial http://www.codeforest.net/...

0 Likes 2 Replies

Laravel-Throttle

What Is Laravel Throttle? Laravel Throttle is a rate limiter for Laravel 4.1. Laravel Throttle was...

0 Likes 0 Replies

Thanks to our community

Solutions given in the past year.

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.