irankhosravi irankhosravi
8

Laravel explode not working

I did save computer field like implode. A user cannot bid on a order more than once. If the user clicks on the order again, he should be prompted with a...
Laravel
8
152
cq522138 cq522138
3

how to build page login laravel

i want build login page in laravel but i have problem.when a user login they can see the information of others as well,how can i fix it. code in controller...
zaster zaster
6

Automatic Backup is Not working

I am using Laravel 5.5 with Spatie Backup I need to do something like this app\Console\Kernel.php protected function schedule(...
ImtiazEpu ImtiazEpu
6

Laravel redirect()->intended() is not working in custom login method

I am currently developing Cart page of my e-commerce application, If I click on checkout button it will redirect Login page, After login, I need to go to the Checkout page...
chezzemp chezzemp
2

Polymorphism

Hello, I would like guidance on the following. I have: Users, Posts I need: That a user can see a post later, can mark as completed...
movepixels movepixels
3

Collection Reverse issues

I have an array returned like so: ["Canada", "Alberta", "Calgary"] And to make a more readable I need it rever...
longestdrive longestdrive
2

Laravel Mailable Variable not found

Hi I've created a mailable which on my development machine works but on my liver server it fails with an error Undefined variable: player In my m...
Otto09 Otto09
7

ErrorException: Trying to get property 'id' of non-object.

It's about episode 14 of Laravel App with TDD (Birdboard). I'm using Laravel 5.8, I can't fix it, on tests it doesn't update at all. If I try it in the browser it does all...
Laravel
7
108
mihirpatel83 mihirpatel83
3

Search word within JSON field

I am storing values in a JSON field in below format { "1":{ "value":"John" }, "2":{ "value&...
number6 number6
2

AWS S3 filesystem config stopped working after upgrade

I am in the process of upgrading a site running on 5.5 to 5.8. I was trying stuff out and saw that the ResetPassword stopped working, so I tried to debug that. In doing so,...
gouseferoz gouseferoz
3

How to fix Call to undefined method Illuminate\Session\Store::first() error?

Hi, I am trying to login into the laravel app using wrong password, which is giving Call to undefined method Illuminate\Session\Store::first()...
rob_utopano rob_utopano
1

Laravel Passport don´t use policies

Hey guys, I am using passport for authentication against my API and using policies for restricting access to ressources for the normal user. The problem is th...
aliya aliya
15

invalid argument passed

implode not work in laravel api...
Laravel
15
153
Stojancho Stojancho
5

Passport password grant authentication with hashed email

Hi, I use Laravel Passport for authenticating 3rd party clients and the newest one is supposed to send us a hashed (brcypt) version of the user's email when they log...
aliya aliya
4

Laravel in ubuntu

How to install laravel 5.6 with xampp in ubuntu...
SlimDeluxe SlimDeluxe
3

How to set up a modular project?

Hi, I am planning to refactor my modular application from CodeIgniter 3. I decided to give Laravel a try so I am asking for general tips how can I achieve the following:...
Jem_Vill Jem_Vill
2

Laravel Custom Validation with Array as Parameter

Hello. Newbie here. Can anyone help me about getting the parameter in my custom validation. Here is my validation rule : [ 'materials. * .receive_quantity' => 'le...
Laravel
2
158
iboosensei iboosensei
1

Backpack PageManager InvalidArgumentException View [pages.normal] not found

Hi. I'm using Backpack PageManagerand I have created a page called "about" about with a template called "normal". But when I try to access to "sit...
Chron Chron
6

Custom Validation Request redirects to homepage when failed

public function rules() { return [ // 'email' => 'required|', 'password' =&g...
shrutiupari shrutiupari
33

Laravel Login using id from different database

I have so far changed the config/database.php file and even the .env file and set it to my 2 of the databases. But I am not able to login using the id. Can anybody please h...
Laravel
33
396
chriz74 chriz74
5

command "php artisan optimize" throwing errors re some routes w/ closures

one of the errors: Unable to prepare route [api/user] for serialization. Uses Closure. or Unable to prepare route [/] for serialization. Uses Clos...
Farshad Farshad
4

config laravel installation on ubuntu

every time I need to install laravel need to use composer create-project --prefer-dist laravel/laravel blog but on my ubuntu system config the composer...
boneill81 boneill81
5

Where to put local scope in many to many scenario

Hi Guys, I'd appreciate a little insight on the following issue. First up and outline of the tables in play. **users** user_id - integer name - string user_r...
AmeerHamzaNawazButt AmeerHamzaNawazButt
1

Warning: Unexpected character in input: '\' (ASCII=92) state=1

Can someone know what's the problem? Warning: Unexpected character in input: '' (ASCII=92) state=1 in /homepages/13/d246487471/htdocs/www/weeklypaper.com/public/inde...
Toughoj Toughoj
3

Disable touches on firstOrCreate (laravel 5.5)

I've got two related models : 1-Answer (consists of 'answer_id' and 'text' attributes in addition to 'created_at' and 'updated_at') 2-AnswerBody Answe...
Laravel
3
120
Crash Crash
6

dependency injection problem

Hi, i'm working in a really huge project, this feature that i develop is really big and requires a lot of classes. I'm using the service container to manage this cla...
Laravel
6
104
dk4210 dk4210
8

Error response in Modal without it disappearing

Hello Guys, I know that this question has been asked many times but I can't seem to get it right. I want to get to display the errors in the modal and not dis...
Laravel
8
1835
ctyler ctyler
3

Are View Composers only for Static Queries?

I am rather new to View Composers so I am a little confused. I am working on a training site. I have a view for classes that shows the number of students allowed, st...
AbdulBazith AbdulBazith
28

Get data from 3 tables with relationship laravel

Guys i have a problem in my hotel management system project. i have a product_type table (parent table) with columns id type_name pr...
Laravel
28
411
Kish77 Kish77
1

Dynamically assign ID of query to anchor id attribute

I am populating a DataTable in Laravel with the results of an Inner Join query. After, that I am generating update buttons which will allow me to edit the selected record....
glembo glembo
0

Where to place own socket logic for data transfer between laravel and custom software

Hi, I started working on a laravel based system for some ecommerce stuff. Actually I have the problem that all the data I gonna use is stored in our company's own system. W...
thebigk thebigk
6

How do I broadcast an event every X seconds?

My current solution to broadcasting an event every 'x' seconds is this - do { sleep(x); broadcast(new newEvent()); // Do something else } w...
sharpy91 sharpy91
0

Laravel Socialite - Facebook Login - Bad Gateway

I am trying to implement a Facebook Login using Laravel Socialite in a Laravel 5.8.21 Application. What i have done is, i have a Button on a page and i want the user to be...

E-commerce Application like Magento

Hi Guys, I want an advice from you guys. I am going to make an e-commerce application with Laravel 5.1. I want to know which JS front end framework is best like angu...
Laravel
8
312
Create a New Discussion Button