Login throttle in laravel 5.4

Hello, How can i use login throttle in laravel 5.4? This is my login function: public function login(LoginRequest $request){...
00

Filtering, N+1 problem, paginate

Hello, I am working on result display page and have problem with filters. Problem1 I want to display all possible ma...
01

Set config database name in Model

Hallo! I am currently building on a CMS. Each CMS should get his own database, so I have to set the database name in each model for the curr...
02

Notifications vs Broadcasting

This question concerns/advice to use either Notifications or Broadcasting as described here:...
04

Limiting routes

I want to limit routes according to roles in laravel 5.4 from web.php file , is it possible , if possible how to do it . i tried this : if(Auth::us...
02

How to optimize performance on a big db select/request?

I have a list of players, around 40 elements, every of these elements has additional data from other tables, exactly looks structure so:...
01

Same login with unique Laravel App with multidomain.

Hello, I'm having some issues about the user authentication. I've got a Laravel App that will handle 5 domains. So, it will be the same lara...
00

Inconsistent Auth behaviour between systems

I have LDAP auth set up on a project using the adldap2 package and I am getting some inconsistent results between systems. When the issue occurs th...
06

Laravel 5.4 check if element exist?

To check if a element exist or if the table is emty I use the function ->exists(), I'm not sure is this method to old for use in la...
02

Background tasks

Hi, I'm trying to write some website app. Ideally that app will be working even when user will not be watching on the website (no browser opened)....
03

Pluck id (integer) cast to string !

While plucking from a database, I get id as strings. $alphabets = new Alphabet(); return $alphabets->pluck('name', '...
04

Eloquent & PostgreSQL multi-schema DB architecture

I am trying to build a Laravel 5 application that will use PostgreSQL for database. I am interested in organizing the database objects in several D...
01

Adding a field to users table to indicate banned users?

I have some how a complete site, users can have several roles and permissions which those appropriate tables are being implemented. Users can regis...
03

Nested relationship to check if user have privileged

I don't have any idea how to check this better. Please check this: $guests = $guestModel ->whereHas('reservation', function ($quer...
00

Can't figure out how to start with Gate

Hi people ! I want to get more in dept with laravel Gate facade, although i can't find any way to start with it, offcourse i read the docume...
03

reCaptcha doesn't appear on Safari 10.1.1

reCaptcha recaptcha_en.js didn't load even after 1.6m....
00

New Whoops error in Laravel 5.4, how to open directly debug line in PhpStorm ?

Hi there, I'm glad that the Whoops error come back in the new Laravel 5.4 but I was wondering if it's possible to open PhpStorm when you cli...
00

Laravel training

Where can I go (like today or tomorrow) to learn Laravel? I've been writing in PHP since 1997 (and other languages back to the early 80's) but thi...
69

php artisan migrate gives me an error could not find driver

im using Ubuntu 16.04 and from my php.ini i have enabled: extension=php_pdo_mysql.dll and extension=php_pdo_sqlite.dll my .env file is:...
09

Pluralized strings using __()?

Is it possible to use the pluralized strings in combination with __()? I tried this: __(":days Day remaining|:days D...
01