panda_madness panda_madness
4

Get blade component class by it's string name

Hello everyone. I need to resolve a Blade component kebab case name (e.g. x-alert-modal) to it's corresponding class name (e.g. AlertModal or AnonymousComponent). Skimming...
moses moses
102

How to write code in laracast?

I want to write code that cleanly. So nice views. How can I do that?...
Assistance
102
6037
JacobFHolland JacobFHolland
7

SQLSTATE[HY000] [2006] MySQL server has gone away

Running into an error when I try and run a Job. It only happens occasionally while processing the job (usually when the data being processed is large). SQLST...
Aron-Spiess Aron-Spiess
1

php ldap search by employee id

Can someone help. I can't seem to find the correct string to get a displayname by searching the employeeId $fields = array("displayname"); $filter...
theUnforgiven theUnforgiven
14

Livewire/Alpine Modal how to close upon successfully posting..?

Hi all, I have a Livewire component: class AddTask extends Component { public $name; public $due_date; public $assigned_to; public $ca...
awaix replied
Solved
Assistance
14
3420
Xenialxerus Xenialxerus
1

How to check if user has subscribed & paid for a particular category?

Hi, I have just started my Laravel journey, because it seems to me easier, I tried to make an application which is live broadcast website. I used voyager admin panel, where...

Laravel Passport Unauthenticated after composer update

I posted this question on stackoverflow last night, but there has been no activity. Wondering if someone on here could help? I've been working in this application fo...
countremy countremy
2

Visual Studio Code Deployment Workflow

Hello All, I am curious to know if anyone is using VS Code IDE and deploying to remote servers. The main feature that I am looking for is the Deployment-> Sync...
Kryptonit3 Kryptonit3
16

User Settings - Best Practice

I have been going over and over in my head for the past few days on the best way to implement user settings in my projects. Do I want to serialize and store in one column o...
rajaman replied
Solved
Assistance
16
3314

Laravel Auth - maser password

Hello! I just have a quick question. I am playing around with Laravel 8s auth functionality. Users can register. Besides the usual stuff like name, password and emai...
H0resT replied
Solved
AlexSteele AlexSteele
4

executing this kind of query possible?

I am trying to make this kind of query, but I am lost on how to do this in laravel. i know about the DB facade, but not how to structure this in there. any casts or posts...
Scottly Scottly
1

Blade component fails phpunit tests

I've created a fairly basic blade component for form textboxes. It accepts up to 4 parameters, 2 of which are optional: <!-- With all fields -->...

Unable to retrieve trashed relationship information using ->withTrashed()

I have orders, which are linked to meals. I normally retrieve these orders using: $this->orders()->with('meals')->get() After I try...
bmcn99 replied
Solved
theUnforgiven theUnforgiven
41

Livewire. What am I missing....?

Hi all, Happy Friday! I have a Jetstream install and have setup a couple of routes: Route::middleware(['verified'])->prefix('tasks')->gro...

Route::resources/resources

I have the following resources set up in my web.php: Route::resources([ 'categories' => CategoryController::class, ]); The route is in a group with an admi...
santino santino
2

how to get info from a record THAT IS AN ARRAY and contains objects

hi, I just save on one field this information, its a text string [{"id":2,"value":25,"tittle":"Calamares de mar"},{&q...
santino santino
11

laravel get 4 records from each object of collection

Hi , I want to call a collection but just with the records of value tittle and id ... ? how to do it... because i dont need to use all tthe information of the collection ob...
trevorpan trevorpan
3

Object storage disk not changing from public with Spatie/laravel-medialibary

Hi, Was wondering if you'd tried Linode's s3 compatible object storage? I have the public disk working fine which stores to the web server linode. However, I'...
canadianlover canadianlover
17

Undefined variable $errors on login page

So I'm trying to build an e-commerce site and when I go to /auth/login in my application, I get a Undefined variable: errors. This makes no sense to me because $errors shou...

simplify nested if statements

I'm implementing a search functionality and based on the query parameter i use a different class to search. class Search { if (request('type') == 'thread')...
edusardo edusardo
2

install error - trojan on symfony !

So my friends, i trying to install laravel but MS Windows Security Stop Composer Process. AppData\Roaming\Composer\vendor\symfony\console\06cb9a52b8ac07eb6fb946e194b...
LadyDeathKZN LadyDeathKZN
2

OAuth2.0 authentication for another Apps API

Hi, I am busy writing an application in Laravel. Most of the research I have done keeps sending me to Laravel Passport which doesn't fit my needs. I have an app on a...

I can't catch a HTTP Client exception

Hi all, I am using the new(-ish) HTTP Client, something like this $response = Http::get($listToCheck->url); I've actually stripped it back fro...

Livewire

Route::livewire('/register', 'register'); Error message is: Attribute "livewire" Not recognized I am using livewire2. This...
lemmon replied
Solved
santino santino
2

how to use WITH with 2 parameters

Hi I am willing to know how to pass an array inside a with ->with( 'alert' , [ 'errorIcon' , 'second param message' ] ) I have to do this...
MidhunMonachan MidhunMonachan
1

Disabling stack trace in only one logging method

I'm using 'daily' and 'slack' channels for logging. It is quite annoying when the slack messages are filled with stack trace. I looked up everywhere and I found how to disa...
hopefeda hopefeda
0

AWS S3 Caching

I'm using AWS S3 disk using the recommended league/flysystem-aws-s3-v3 driver. I want to setup caching using the league/flysystem-cached-adapter. However, the docs aren't r...

IAM User permissions problem

Has anyone encountered the situation when I use manage policies on a user, It works but when I use inline policy it gives access denied. I am giving Read access to a bucket...
aurawindsurfing aurawindsurfing
6

Inertia.js vs Livewire Laravel

Hey! I have those 2 on my radar: Inertia: https://reini...
schwartzmj schwartzmj
3

Generating and emailing reports for all users

I'm looking to, every few days, generate a report for every user and then send it to them. I was hoping to find some Google results or Laracasts videos to walk me th...

Slow Laravel Migration

I am running into an issue between my dev environment and my live environment. When I run a migration it is very fast in my development, but when the same migration is run...
theUnforgiven theUnforgiven
8

Notifications broadcasting in realtime...

Hi all, I have a bunch of notification classes that I want to utilise using Pusher so that when a notification is added to the database it's displayed in realtime to...
finchy70 finchy70
0

Laravel and Flutter App Authentication

Im building a Flutter app that will allow users to register and login. I want to authorise that registration in the Laravel back end and once the registration is authorise...

Symfony\Component\HttpKernel\Exception\HttpException

Hi, I'm getting this error on my website : Symfony\Component\HttpKernel\Exception\HttpException & here is a link to the website :...
Create a New Discussion Button