Mdoular with SPA?

I am using https://github.com/nWidart/laravel-modules to split my app int...
kpc25 kpc25
12

Error after composer update, Controller changes does not reflect.

After doing a composer update, page throws an error saying a variable passed to the view does not exist. The same variable is working in another view. $breeds = Breed::list...
Laravel
12
790
Th3apprenTis Th3apprenTis
2

Proper way to check for existance of HTTP Header

I am using the following to check if a header is present if(!empty($request->server('HTTP_RANGE'))) return; However i get the following error...
artisticre artisticre
4

Help With This Code

This code was working. It checks to see if a record exists. If it doesn't, it displays a button that says start application. If there is, it displays view/print button....
RainMakr RainMakr
5

Cookie::get vs $request->cookie()

So, I have this app, where I set a cookie over Ajax. Am not able to read the cookie when I reload the page, but am able to read it over Ajax. So, basically, i...
biktorrb biktorrb
4

Filter and Pagination

Hi guys, i make a filter and it works but when i try to access to the second page of the filter response with 404 error This is my filter function at the controller...
AdRock AdRock
7

Add custom attribute to Auth:user() during login

I know this has been asked before but it doesn't help in my situation. I have a similar problem to this...
sirhxalot sirhxalot
2

Laravel authentication using Form Request instead of array validation.

Hi Folks! I am using Laravel 5.8 and enabled the authentication php artisan make:aut. Everything is working as expected. But when dealing with us...
splendidkeen splendidkeen
5

Compare created_at with Carbon\Carbon::today

How can I compare a created_at record with the current day? Created_at is composed like 2019-05-22 15:00:00, and it seem that it is not comparable with C...
WallyJ WallyJ
31

Best Autocomplete for Laravel Projects with MySQL backend

I normally receive awesome help from these forums, but in the Javascript category I posted a question here about Typeahead.js and have received no replies:...
Laravel
31
326
nexaas nexaas
0

custom broadcasting/queue handler

hi, we want to make custom broadcasting. for example: we have a channel about some events called "event.{eventID}" ,and each client has some permissions,we want b...
Ap3twe Ap3twe
9

How do I get the updated_at

I want to get the value of the boolean when a project is updated. The problem is in MySQL database, the updated_at gets updated when a project is created. How do I get the...
splendidkeen splendidkeen
0

Password reset, invalid token problem

I am currently testing password resets, and somehow I am getting invalid tokens like y$GrQlKsU2lWFPT0W6YXNH0.cSoVKhz7f1p/.qeX.cs3iKSWVbQR/ni...
PetroGromovo PetroGromovo
2

How to send report in in scheduled time

Hallo, In laravel 5.8 I have a report with a button “Send Email” by clicking on this button ajax request is run, with content of a report in “report_html” var to co...
chrisgrim chrisgrim
2

In forms Checking for old value or using variable

Hi, I have a update form and I am trying to figure something out. I am already populating the update form value with value="{{$post->title}}"...
devtemple devtemple
4

Ajax validation server side - conslusions?

Hello. What do you think about server side ajax validation? Is this good practice for the server? I want make it on the application production, but I don't know how it will...
sirhxalot sirhxalot
2

Check if element has attribute with Laravel Dusk

Hi Folks! I am using Laravel 5.8 in combination with Laravel Dusk. How can I check if an element has an attribute? For example I would like to check if...
esyi78 esyi78
1

remove parameter from url

I have my route that have multiple sorting like ?country=usa&name=Johndoe&car=volvo I would like to have dropdown with link to select with county or name...
AdRock AdRock
16

Auth::user() returns null using custom login

I am having a problem getting a logged in user's details in other controllers. If i do dd(Auth::user()) in any controller it returns null H...
Laravel
16
110
sammie85 sammie85
3

Error while uploading zipped images

While uploading images in a zipped file, the controller method handling the request hits a 500 internal server error. This method works fine with zipped images of about 5 o...
kundefine kundefine
2

How to get all the namespace group route

Anyway i can get all the group namespace route list....
atfinho atfinho
0

Auth info required to subscribe to private-channel Pusher JS

Hey Guys I need your help since I've posted this for couple of times and didn't get a useful answer ,I'm using pusher js and I'm trying to listen for a private channel.....
superclem superclem
1

404 on /storage. FollowSymLinks option cannot be enabled on VPS.

Hosting provider: crazydomain. PHP version is 7.1.* Laravel version: 5.8 Type: Shared SSH enabled Already did the f...
Bastet Bastet
7

Destroying only the login session

I've created a site that uses laravel auth and has multiple sessions that happen after the user logs in. I've also managed to save the sessions into the database. What I'm...
SnowFox.sk SnowFox.sk
21

Laravel 5.8 foreign key not working

Hi, i m lost i dont know what is wrong with my DB table schemas but i m unable to make foreign :/ tryed giving bigInteger, unsignedBigInteger, also bigIncrements =...
Laravel
21
145
kaju74 kaju74
1

Mail::to(...) is sending to all recipients??

Hi, I've created a newsletter command to be able to send something to all registered users. I'm using a loop to send queueable mailables like this (Laravel 5.6):...
djolefjc djolefjc
3

Local Scopes - Explanation needed

Hi, I recently started working in a firm and currently I am making some changes on an old project. I stumbled upon pieces of code which I am finding difficult to understand...
haizone haizone
2

Help to find search package

Hi i need a package for searching in laravel But something simple and fast And locally For a search products in a 500,000 products in my DB With filters I nee...
RidwanIslam RidwanIslam
2

Why carbon format not working?

I want to change format of created_at column. Normally it show 2018-10-03 04:38:58. Now I want to show d-m-Y format but it's not...
sstringer sstringer
12

Validation exceptions being reported on Bugsnag despite being handled and ignored in Laravel

I've been banging my head against a wall on this one. I have a registration form on a site that is integrated into Bugsnag. Every time there is a validation error on the...
Laravel
12
394
atfinho atfinho
2

Subscribe to private channels pusher

Hey guys I'm trying to subscribe to private channels in pusher and I'm using react js & Laravel after reading some of their documentation it was mentioned that private...
web-chiru web-chiru
1

What will be the future of php and also Laravel in front of node and other backend technologies.

Specially in todays market where Node is getting more and more popular as its very fast and reliable so one should continue working on php/laravel or should switch to somet...
malhayek malhayek
11

How to redirect the user back to the view with error when the controller return exception?

In some unexpected cases my controller would return exception. Instead of showing the user error trace, I want to show them a user friendly error instead. (query timeout, d...
Laravel
11
1372
kiasaty kiasaty
6

implementing 3 types of users

Hi guys, I'm building an application and I'm new to Laravel. In this application, there are 3 kinds of users that interact with it: admin, donator, charity....
irankhosravi irankhosravi
17

Undefined property: Illuminate\Database\Eloquent\Relations\BelongsTo::$id

I'm stuck with this relationship error: Undefined property: Illuminate\Database\Eloquent\Relations\HasMany::$id Am i missing someth...
Laravel
17
686
Create a New Discussion Button