Support the ongoing development of Laravel.io →

1,534 Threads

file_get_contents('/path/to/laravel/') instead of public url

Can I do this: file_get_contents('/home/user/public_html/'); instead of: file_get_contents('https://...

1 Likes 1 Replies

Ho to manipulate one column in Controller

Hi, i would like to create a simple output. My Controller has this code $item = Item::select('name',...

0 Likes 1 Replies

Does parent blade templates link css just like childs views?

Please can anyone take a look at this and figure whats wrong? https://stackoverflow.com/questions/67...

0 Likes 0 Replies

Malzahar: Build apps without writing HTML, CSS, or JavaScrip

I just released a new Laravel package. The concept behind it is to use PHP for everything, so you no...

0 Likes 0 Replies

Variable URL & Show all .jpgs of certain folder ??

Hello, sorry I am new to laravel and php in gerneral so I apologise in advance if my question is wei...

0 Likes 1 Replies

error 404 notpound

this my error return $this->getRouteForMethods($request, $others);} throw new NotFoundHttpExcepti...

0 Likes 1 Replies

assertSee failing when searching for text on datatable

Dusk Version: 6.4 Laravel Version: 6.2 PHP Version: 7.3 Database Driver & Version: mysql Ver...

1 Likes 0 Replies

Laravel adds repetitive elements to the path

To a certain element in my app I added a path /blog/category/{id}/{category} But sometimes at clicki...

0 Likes 1 Replies
9 Dec, 2020 at 04:41

Php artisan make:mail error

php artisan make:mail WhateverName Gives this error: Hide Copy Code UnexpectedValueException Inval...

0 Likes 3 Replies

Laravel 7 and session variable problem

Hi. I have a problem with displaying laravel session variable. I'm setting session variable in route...

0 Likes 2 Replies
12 Nov, 2020 at 05:06

Vue.js 3.x and Laravel

Laravel version 8.7 can be worked together with Vue.js 3.x and Laravel mix?

0 Likes 1 Replies

Pages won't load, but the source is still there?

I've been using laravel 8 to create a store and for some reason all of my pages won't show in browse...

0 Likes 0 Replies
24 Sep, 2020 at 12:33

How to display initial value of model in date input in vuevu

I use Laravel 8 inertia vue. I have a model (activerecord) and I would like to update it, particular...

0 Likes 0 Replies

Laravel multiple views/localizations for different subdomain

Is there solution for multiple views for different subdomains? Also it should handle queuable action...

0 Likes 0 Replies

Returning views to HTTP requests

I have a post route in api that returns a view. I also have auth middleware. So in front end I have...

0 Likes 1 Replies

Laravel route issue. Ex: “admin” and “admin/”

I dont know what is going on with the routes of my Laravel 7 project. When the route is simple, like...

0 Likes 2 Replies

HttpKernel \ Exception \ MethodNotAllo

Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException No message.. kindly ass...

0 Likes 1 Replies

Laravel 7 - Component: Provide data without a view

I want to create a Component that provides only data without a view. For example: <x:wg.items.lis...

0 Likes 0 Replies

Getting multiple Images with one request

Hi, I want to create a kind of social media platform. So I have different Posts, where each post pot...

0 Likes 0 Replies

route helper uses "http://localhost" in email views

i have {{ route('view/issue', $issue->id) }} in an email view. This generates "http://localh...

0 Likes 1 Replies

Thanks to our community

Solutions given in the past year.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2021 Laravel.io - All rights reserved.