ashwinmram ashwinmram
0
FYI I use Chartisan with the laravel adapter found here: https://charts.erik.cat/ so the syntax might be a little different... not sure ;) I was struggling with this today and got it working finally. The solution is different whether you use bar or...
sanjayacloud sanjayacloud
1
HI Guys, I am having a problem in Spatie Media Library while updating the image 'it's showing the below error. Call to a member function addMedia() on bool Here is my update method: public function update(Request $request, $id) { Valida...
masumluf masumluf
4
Hello I am trying to pass data through vue like this way from my blade file. <sattendence :data="{{Auth::user()->email}}"></sattendence> But I got [Vue warn]: Error compiling template: invalid expression: Invalid or unexpec...
yanikkumar yanikkumar
1
I want to implement AR module in my project is there any example and way or any package to implement AR feature using Laravel and also how the UI of the AR should be build? Unity of unreal or any other?...
While working on a personal project, I have created a data table using Livewire and it does all the usual things (sorting, searching, filtering, patination etc...) of the data from the collection. a) Often I need to be able to change a boolean value...
GregorSams GregorSams
1
I am running on my VPS Ubuntu 20.04.1 LTS and locally Ubuntu 18.04.3 LTS and I want to create a ssh-tunnel to connect to my database to run SELECT's for reporting in my laravel 6 application. My production database has the following version: > mys...
faiqalizade faiqalizade
2
Hi every one. I have met Bagisto and tested it. And i have question how can I remove category from url if i will use it out of bagisto project? For example I have categories and products. Clothes For Men subcategory 2 I want get category Clothes with...
David35 David35
9
I'm working my way through upping my skills after 10 years working on the same ecom site in the UK and 18 years overall webdev - specifically procedural PHP - experience. Lot of jobs I'm looking at need OOP and lot ask for Laravel, so been spending s...
KevDev KevDev
0
Hi Everyone, I have a running project with laravel8 and the projects traffic is not really stable (sometimes its peak and alot of times its idle). so I want to make it a auto scalling on ECS or k8s. but i dont know how to do it. I also like to make i...
Halz Halz
6
Hi there, I am looking for advice for a simple components case. I have a list of tasks that I want to edit in a dedicated form. When i edit a task in the form, I don't want the task in the list to be live edited. I want (later) to save in in Ajax bef...
adityar15 adityar15
0
So the problem is kind of a complex one. I have a list of items that I am fetching from the database with custom pagination. The reason for custom pagination is I need to call API through a livewire component. In a blade file (normal view file) I hav...
GregorSams GregorSams
3
Hello, I am using Laravel Framework 6.20.16 and I noticed that I get attacked. After some research I found that the attack is called: https://www.exploit-db.com/exploits/49424 (Laravel 8.4.2 debug mode - Remote code execution) I searched my code for...
jacynoadam jacynoadam
1
Hey! I've been trying to set up automatic tests for Laravel for a while now but nothing seems to work. I wasn't able to find anything useful in the documentation, and for some reason any testing presets don't work for me. Basically - Unit tests run f...
JohnnyW2001 JohnnyW2001
2
I often find myself in projects where I have additional business logic that I'd like to execute before persisting a model to the database. In the past I've approached this in a number of ways, but the one that seems to make the most sense isn't avail...
BrainyT BrainyT
5
Do I re-write this code with (when) eloquent function and eliminate the if and else on this code if (empty($this->searchTerm) || $this->searchTerm === 'all') { return $products = Product::all(); } else { $searchResult = '%' . $this->searchTe...
tms1987 tms1987
1
Hello, I want to run a daily task. For that, I have created a command $schedule->command('test:dailyReport')->daily()->withoutOverlapping(); which pretty much is working okay, if the cron is running at midnight. However I need to be 100% su...
BrainyT BrainyT
4
Trying to host the laravel 8 projects on a subdomain on Cpanel, but every step I tried shows HTTP Error 500 I will be glad if I can be guided through how to make this work....
gcunha gcunha
2
Hello, I cannot make VueJS to work in my Laravel 8 application. These are the commands I ran, according to the documentation: composer require laravel/ui php artisan ui vue npm install npm run dev This is the output I get. Any thoughts? Could not fin...
jgravois jgravois
5
I have a loop where I have to return several datapoints in a weekly report and if I can refactor this model scope to use the number of the week rather than as current (a date), I can do it in a range[1,52] loop but I can't seem to get it to work. thi...
brentxscholl brentxscholl
0
I have a component with nested properties and I'm having a hard time figuring out how to set() and assertHasErrors() when testing the component. Here is my component: public $schedule = [ 'start_date' => null, 'timeslots' =&...
shkar-dev shkar-dev
10
Warning: include(/storage/ssd1/745/15653745/vendor/composer/../vlucas/phpdotenv/src/Repository/RepositoryBuilder.php): failed to open stream: No such file or directory in /storage/ssd1/745/15653745/vendor/composer/ClassLoader.php on line 444 Warning:...
cptnflx cptnflx
1
Hey guys, Currently I am struggling with finding the best approach, to implement the following, maybe not everyday, requirement. I plan to develop a Laravel application. The very general idea of this application is to generate the for websites, which...
Loyd Loyd
20
Preparing for a Laravel Based Job Interview, left with the last part which is a coding challenge, so wanted to ask Laravel based coding challenges that most interviewers ask? Is a challenge most likely going to be laravel based or algorithms in gener...
joseff joseff
1
Hello, I want to create an application system where people buy and configure the application. I'm giving you examples of Facebook, Instagram, weather, soccer score etc. The user can select and install the application, and then configure its settings...
Does anybody know if Jeffrey is planing to release GraphQL series for Laravel? I think many devs are lack of this....
fylzero fylzero
1
I can't seem to figure this extremely simple thing out. In Vue 2, you can emit from a child component directly to the v-model. How do you do this in Vue 3? $emit('input', $event.target.value) <thing v-model="whatever" /> https://v3...
booni3 booni3
4
I wonder if anyone can shed any light on this. In my test setup, I can call migrate:fresh and all my tests run ok (but slow!) protected function setUp(): void { parent::setUp(); $this->artisan('migrate:fresh'); } If I use the RefreshData...
MonsieurRado MonsieurRado
1
Hi, I can't manage to send emails every hour with laravel. Here is my code: file \app\console\commands\RappelDepot.php namespace App\Console\Commands; use Illuminate\Console\Command; use Illuminate\Support\Facades\Mail; use App\Mail\RappelDepotFich...
xtremer360 xtremer360
0
I'm trying to follow along with the following video on installing Sail and got to the 5:44 mark and added the same setup for TablePlus for my localhost to try and connect however its not connecting. Saying Access denied for user 'root'@'172.23.0.1' (...
shkar-dev shkar-dev
2
Fatal error: Uncaught ReflectionException: Class config does not exist in /storage/ssd1/745/15653745/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:830 Stack trace: #0 /storage/ssd1/745/15653745/public_html/vendor/laravel...
mp3man mp3man
2
Hi, my question is simple, I use a model called UabUser that extends Authenticatable, and I use as Auth::login($user, true), to remember session. That works fine. The problem is when I redirect to next page (redirect('dashboard')), the middleware ret...
brentxscholl brentxscholl
2
I have a Filepond component that works great for uploading images to a post. However, I'm struggling with Filepond when needing to edit a post and its pre-exisiting images. I want to load Filepond with the Post model's pre-existing images. The goal i...
warpig warpig
1
Hi, when I got breeze installed into my app (long time ago) it automatically did the layout for login, reset passwords and all of those screens, well now im trying to reinvent this part but at the top of the screen, on the login.blade.php file, there...
zaster zaster
3
My requirement is to have around 90% of web routes and around 10% in api routes API routes mainly will be responsible to get notifications through a flutter app and to upload photos from an individuals phone I was thinking to use Jetstream with it's...
Create a New Discussion Button