Support the ongoing development of Laravel.io →

881 Threads

Laravel Validate Many-To-Many Relationship

So I have this Offer model with several offers available. I also have a Pattern model that has a man...

0 Likes
0 Replies

Authentication problems between twilio and my laravel 4 based api.

So we have built a simple web hook api using Laravel 4. I am using the auth.basic filter. My route...

0 Likes
1 Replies

How safe is Input::all() if I pass it to the Model::create() method?

I'm curious as to how much escaping and input sanitizing Laravel does behind the scenes. For instanc...

0 Likes
5 Replies

Authentication on a relation?

Hello there. I have a User table with a password, and People table with an email. User has a forei...

0 Likes
2 Replies

Best practice to prevent other users viewing/editing each other data

Hi all, I am new to Laravel and was wondering what would; be the best practice to prevent users edit...

0 Likes
0 Replies

What will be the best way to extend Sentry2 user model?

Hello, In my laravel 4 application, I need to add more fields in user table. I made new migration fi...

0 Likes
3 Replies
Solved

Laravel 4 hash not matching

Hey, I am trying to auth my user, created a user using hash::make('1234') but it's not matching when...

0 Likes
3 Replies

Why the email of the reset password will send twice and there is a subject on the first email but not on the second email

Everything seems working well but the email of reset password will send twice. That's strange!

0 Likes
1 Replies
posted 10 years ago

Quick encryption question

How can I do something like this with encryption. [code] if( ! Crypt::decrypt(Input::get('encryptedv...

0 Likes
1 Replies
Solved

csrf validation failing during unit testing (Laravel 4.1)

I recently upgraded from 4.0 to 4.1 following the upgrade instructions, and now when unit testing my...

0 Likes
1 Replies

How to Add additional data in Auth

Hello, In laravel Auth, how can I add additional data in Auth. When I'm login then laravel store all...

0 Likes
1 Replies

filter with variable from domain

I want to create a filter that depends on outside variable from domain: Route::any('/{id}', array(...

0 Likes
1 Replies

Guzzle & Laravel

Dear, I have a Laravel API. For example I used Sentry, but can successfully work without Sentry. I l...

0 Likes
0 Replies

Eloquent has no handling with malicious data??

I did a simple query like: $query = "sdsad'sa"; Spot::where('title', 'like', '%'.$query.'%...

0 Likes
8 Replies

Admin: Subdomain vs. subdirectory/route

For a while now, I've kept admin interfaces for my websites as subdomains (admin.mywebsite.com) inst...

0 Likes
2 Replies

Where/how often do you do an Auth check?

I have controllers that have public get, create, update, and delete methods that should only be done...

0 Likes
3 Replies
Solved

Make this query in Eloquent

Hi Can we do this query in Eloquent $tagString = implode (',', $tags); return DB::select (DB...

0 Likes
1 Replies

is it possible to store the current logged user in session

instead of querying for his data on each page load? or it is not secure?

0 Likes
4 Replies

Best Practices: Moving the application files around?

There are numerous articles detailing how to move the Laravel app folders into the same location as...

0 Likes
4 Replies
posted 10 years ago

Trying to get property of non-object

If i'm copy the url of the home page and paste it into another browser it should go to the login pag...

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