ChrisF79 ChrisF79
11

How do I diagnose a 500 Server Error?

Hi friends, I wrote a sitemap generator and it is working on my local Laravel Valet server. When I put it into production I get an Error 500 server error (running ng...
General
11
129
simber simber
7

Nova resource from API data

Is there a way to create a Nova resource that doesn't fetch from DB but instead from a remote API?...
Nova
7
266
muazzamazaz muazzamazaz
11

The PUT method is not supported for this route. Supported methods: GET, HEAD, POST.

Using following code: Blade: {!! Form::model($commission, array('action' => array('[email protected]', $commission->id), 'method' =>...
Laravel
11
1559
farshadf farshadf
2

Handle Query strings in laravel and how secure Are they

i want to know how secure is it to handle post requests with Query strings and if its not secure how can i disable the user to send any query string to my api cause right n...
athaylean athaylean
3

Adding buttons to tasklist vuejs

Hello, I am following first videos of vuejs2 tutorial I tried to add individual buttons to all tasks. How to communicate with "All task" list using buttons? I can...
Vue
3
312
Veleous Veleous
3

Using Doctrine with third party packages

Without looking to incite a riot over the pros and cons of the two patterns, if I chose to make use of Doctrine in my project rather than Eloquent...
Laravel
3
130
Veleous Veleous
2

Package dependencies during development

When creating packages that have dependencies, how do you include them for local testing but not in the published package? So that I can test locally, I have been ad...
Laravel
2
122
Lonelele Lonelele
8

Laravel 5.6 FormRequests validation not working.

Hi all, I'm trying to validate my API calls trough a Form Request I made trough make:request I've added a few checks and now as soon as I fire an API ca...
Laravel
8
1247
tokoiwesley tokoiwesley
1

Laravel Passport: 'Function name must be a string' error

I have a working implementation of Laravel Passport that has only uses Password Grant tokens for authentication of users. So on trying to implement...
GeorgeW GeorgeW
3

Logged in Users

Hello, Is there an easy way to retreive and display the current logged in users? Using a package or the built in laravel sessions?...
adrienpsn adrienpsn
5

Error during tests

Hi all. Here is my code in the CollaboratorController.php: /** * Update the specified resource in storage. * * @param Coll...
kuns25 kuns25
15

Return view error

when im directly returning view from web.php its working . when im try it from controller its messing with views...
Laravel
15
120
PhoeniX5 PhoeniX5
5

How to populate a drop dropdown menu from another drowdown menu ?

I am developing an application where I need to populate a dropdown menu with values related to the value selected in the previous dropdown menu all the values are from MySQ...
Laravel
5
112
farshadf farshadf
3

how to manage laravel big update methods

i have an update method like below which is so big and i want to manage it some how that in take less place in controller and make controller much cleaner now i want to kno...
shadrix shadrix
2

What kind of Browser/App is this? (Showing Responsive Devices as a Browser)

I'm watching a Tailwind video and saw this: Do you know what this could be? Original source i...
Tips
2
73
kuns25 kuns25
10

Laravel Mail Working locally but not on server

Hii I have created a simple contact form to send mail on website owner email id , everything is working fine on my localserver im getting the mail , b...
Laravel
10
174
mahfuzhur mahfuzhur
3

passing link as parameter using get method

how can I pass link as a parameter using get method like www.something.com/https://laracast.com...
farshadf farshadf
4

how to implement Repository Pattern In Laravel

Although there Are some Tutorials on medium and some other sites about the Repository pattern for laravel i read in some sites that repository pattern will duplicate the OR...
pramanadiputra pramanadiputra
4

Laravel Authorization (Policy) to check Himself

How do we make Laravel Policy to be able to check himself? Let say Logged User wants to update his own profile, thus we check his ID with the following ID of his pro...
Lars-Janssen Lars-Janssen
7

Laravel testing registration

Hi, I've got this test: /** @test */ public function a_user_can_register() { $user = make(User::class, [...
Laravel
7
888
Grelav Grelav
5

sparkpost Error : Unable to find the socket transport "starttsl"

Am trying to send emails using sparkpost but am getting the following error: Connection could not be established with host smtp.sparkpostmail.com [Unable to...
Laravel
5
616
MarlonV MarlonV
3

Call model from associate table

Goodmorning all, question. I want to know if the total payment of a user. It's already working in the payment model. How do i use/call it in my check-in controller?...
Lars-Janssen Lars-Janssen
1

Laravel handling FormData NULL

Hi, In my Vue.js app I send formData to my Laravel app where I store the data. The problem is that the formdata is always converted to a string....
rob_utopano rob_utopano
6

Create model with json field with API

Hey guys, I have a model wich has a json field inside the migration and I´ve build a crud-controller for the api. Now I want to create a new model via the ap...
Laravel
6
106
rahul95 rahul95
5

Making my class instance persistent over next request

Hello, I'm currently working on an app where I want the current instance of one of my class/controller to be available over the next request. The actual scenario is,...
Laravel
5
177
tundeogunde tundeogunde
3

How do I send email to multiple recipients from a single email form?

I am using Laravel 5.4. I have a contact form displayed in a Bootstrap Modal. Using JavaScript, the email recipients input box is populated and separated with commas. When...
Laravel
3
3887
wyatt44 wyatt44
5

Testing Registration

Hello Everyone! I am writing a test to check that invalid data posted to the register endpoint fails validation. I am trying to assert that the response is a redirec...
Testing
5
121
raviawasti raviawasti
5

How to show count of all subject with slug from post table?

I have two table one posts and second subject posts table : id, subject_id, post_name , etc subject table :id, subject_name, slug etc Subject table co...
hakhsin hakhsin
1

Isolating every subdomain

Hi, I have multi subdomain on my project. I want to in every subdomain only its routes get run. So, I registered: Route::fallback(...
mkrell mkrell
2

Laravel Passport: 401 Unauthenticated, but encryption keys are the same

Hello. I have weird problem with Passport authentication deploying my application to a new site, in spite of the fact that I haven't had a problem with this before....
Laravel
2
198
Eeetm Eeetm
6

Trying to get foraign key records where every connected records are deactive ( Laravel elequent query )

i have 2 tables Categorys ( id, name ) Sub_categories ( id, key, value, category_id ) im trying to get all Categorys w...
Laravel
6
112
ahoi ahoi
7

Set radio-button value by bool in array

I'd like to solve the following problem: I got a data structure like that: { "options": [ { "id": 1, "title...
Vue
7
113
david001 david001
1

Filter data by checkbox

Hello developers, just wondering how can i convert below radio filter to checkbox filter. or any other way to filter data with checkbox. This code works perfectly but i nee...
Vue
1
67

"Nested pagination": Paginate (sub-)item in ApiResource

Hello everybody, I got an ApiResource like this: <?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; use Illumin...
Laravel
3
101
potentdevelopment potentdevelopment
2

homestead-7: Unable to mount one of your folders. Please check your folders in Homestead.yaml

When I launch homestead, I get the error: homestead-7: Unable to mount one of your folders. Please check your folders in Homestead.yaml I'm noticing also, that my lo...
Servers
2
200
Create a New Discussion Button