Support the ongoing development of Laravel.io →

How to load json files in rails model

Need to load th json files in active record modelrails

0 Likes
0 Replies

Laravel Kubernetes deployment questions

I'm polishing Laravel Kubernetes deployment (I'm not the PHP dev,rather devops guy) and have some co...

0 Likes
0 Replies
posted 4 years ago

Each route returns 404 Page not found in laravel tests

The completed website is working, but when I try the routes in laravel tests it always return Opps p...

0 Likes
1 Replies
Solved
posted 4 years ago

views (employe)

@extends('base') @section('main') <div class="row"> <div class="col-sm-8 offset-sm-2">...

0 Likes
0 Replies
posted 4 years ago

voici mes code

public function store(Request $request) { $request->validate([ 'nom' =>'required', 'pren...

0 Likes
0 Replies

i nedd help

Hello I am working on an application, I would have to save a photo ID but when I click on the save b...

0 Likes
0 Replies
posted 4 years ago

syntax error, unexpected ';', expecting ')' Laravel

where is the error $products=Product::whereHas('product_name','like','%'.$request->get('name').'%...

0 Likes
1 Replies

Route protection with Socialite

Hi guys ... here i am trying to protect some of my routes. I m using socialite and it is already wor...

0 Likes
4 Replies
posted 4 years ago

login to website from API

I am trying to use \Auth::loginUsingId($user_id); in my api but after I use it user redirect to logi...

0 Likes
2 Replies

which is the best way for scraping data in laravel

I'm working on a laravel api, which is used for an android application. I want to instantly scrape d...

0 Likes
1 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
posted 4 years ago

How to redirect the user after creating a post

Trying to redirect the user to the thread page after creating their thread. I am not sure to pass th...

0 Likes
1 Replies
Solved
posted 4 years ago

how to add?

Look at my codes, I want to save the information, then everything falls apart. I have three tables,...

0 Likes
0 Replies
posted 4 years ago

Blade parts of component don't get rendered

I've got some weird behaviour of a component: With this x-layouts.app I'm getting this: https://past...

0 Likes
0 Replies
posted 4 years ago

Larafold: Laravel 7 CRUD Scaffolding Package

Larafold is a Laravel 7 package created to make your life easier. It contains scaffolding for new La...

baurelk, ricardoaponte liked this thread

2 Likes
0 Replies

Foreign key column vs belongsTo

VendorProduct belongsTo a single Vendor. To find or assign a Vendor to a VendorProduct, must the Ven...

0 Likes
0 Replies
posted 4 years ago

what is the best way to write this type of queries?

SELECT user_id, COUNT(*) AS clients_commented_for FROM (SELECT user_id, COUNT(*) FROM comments WHE...

0 Likes
10 Replies
Solved

Laravel generated PDF formatting issues

I am generating a PDF file from HTML which is actually a bootstrap template for a quotation. I am us...

0 Likes
0 Replies
posted 4 years ago

How to calculate completed task percentage

i am working on pomodoro technique project. In this project i have two types task completed task and...

0 Likes
0 Replies
posted 4 years ago

how to go one step back in laravel root dir

i have a gallery folder which i created out of laravel project and i want to access that folder.ar

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.