Support the ongoing development of Laravel.io →

878 Threads

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 8 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 8 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

Laravel environments

Hey, I'm working on an app made on Laravel where i have to host multiple domains. It's an Project Ma...

0 Likes 4 Replies

Sentinel with Laravel Administrator

Hi, I want to integrate Sentinel within Laravel Administrtor I am new to laravel. Can anyone give me...

0 Likes 1 Replies

Visible, Hidden, Fillable & Guarded with Foreign Keys

Hi, First question: What options should foreign keys use? Guarded? I have an Article object that has...

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.

© 2022 Laravel.io - All rights reserved.