mstnorris mstnorris
69
I have started this thread for everyone to favourite and share with others when the OP doesn't conform to, well, these guidelines. They are not meant to be hard and fast rules but as the title suggests, guidelines. If we all start on the same page th...
uniqueginun uniqueginun
3
why big websites sometimes use very long URLs and random get variables? what's the purpose?? like this one when u do simple images search in google https://www.google.com.sa/search?q=test&newwindow=1&safe=strict&hl=en&tbm=isch&sxs...
maltekiefer maltekiefer
3
Hello, I have a file model like this: <?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class File extends Model { use HasFactory; protected $fillable = [...
uniqueginun uniqueginun
3
Hello I'm learning inertia and I'm creating my first app. I'm creating a simple component that read-write tweets and display them. Tweets/Index.vue <template> <app-layout> <template #header> <h2 class=&quo...
wondarar wondarar
2
Hello Community, I'm new to Laravel so thanks in advance for your patience to my questions ;) I started reading and installing according to the documention, just playing around a bit. As far as I understand it right it's recommended not to use Larave...
So my ultimate goal is to change my default urls, which look like this: /posts/id (where id is some number like 1 or 12) to urls which look like this: /posts/title Since the show method is created through a resource I looked for changing Resource Rou...
ahangarha ahangarha
3
Hi I see templates made by Breeze use such format: __('Dashboard'). It doesn't reference any particular file in resources/lang directory. How can I do localization for Breeze? I couldn't find any documentation on this....
CorvS replied
Solved
VinayPrajapati VinayPrajapati
6
data: { Index:{ time: '00:00:05.000' timeBegan = null, }, About:{ time: '00:00:10.000' timeBegan = null, } } methods: { getTime(param) { // param = Index / About console.log(this.data.param.time); // i want get dynamic val...
jimmyhowedotcom jimmyhowedotcom
2
Hi guys, I’ll get right to it, I work for a company that historically has used Drupal for building out their websites, and they are relatively large (million active users)... however they are adding more sites to the bill and are insisting on using...
yougotnet yougotnet
8
After installing debugbar, route:list now shows only debugbar routes and none of the web routes....
Hi! Just got a new job and they also use Laracasts (ofc). I've got an invite link from my boss, but when I click it I'm redirected to either the signup page or the credit card page (when I'm logged in). Is it not possible to just join a new team, whe...
toltech toltech
8
So at work we are exclusively Mysql, and I want to take advantage of the "Insert...on duplicate key update" syntax with multiple value sets per statement. For example a raw sql statement might look like: INSERT INTO sections (`campus`,`term...
Mattiman Mattiman
8
Trying to install/update the laravel installer I run into this problem: $ composer global require laravel/installer --with-all-dependencies Changed current directory to /Users/matthijs/.composer Using version ^4.2 for laravel/installer ./composer.jso...
Prido Prido
1
I have 3 models for example, they are related User, Post, Comment UserResource return [ 'name' => $this->user_name, 'posts' => PostResource::collection($this->whenLoaded('posts')) ] ; PostResource return [ 'title' => $this->ti...
warpig warpig
20
Im trying to runnpm run build but I get an error: λ npm run build npm ERR! missing script: build These are the scripts inside of package.json and guess what, no "build", "scripts": { "dev": "npm run d...
warpig replied
Solved
Randy_Johnson Randy_Johnson
5
I am trying to pass the var of $id, but with the $id being show as $id = 2 then this is the final result. Please does anyone know how I can do this. The traditional method doesn't work since now the foundation is different. <div> {{-- If yo...
CorvS replied
Solved
fwartner fwartner
3
Hey folks! In my current application, as soon as I try to update my profile for example (also on creating teams and so on..), my application logs me out and sends me to the homepage. I have absolute no idea why this is happening. Can anybody help?...
hyrro hyrro
4
Hi and thanks for you kind help :) I have to admit that I'm quite lost. Being a software engineer for some years, I have experiences both SPA & MPA. or several languages (C#, Java, Python ...). It's been two years that I'm full-time freelancing a...
lirone lirone
2
Hi, I'm following the class "build a voting app" from Andre Madarang on Laracast. it uses Tailwing. I did everything he said but I'm still not able to solve the issues despite some search on the internet. I have installed both plugins: @ta...
lirone replied
Solved
dedyandy dedyandy
15
Why I cannot open free episodes courses? When I click it, I am directed to the page asking for subscription?...
So I recently switched my development environment from Laragon to Laravel Sail, and I got it working today. However, when I run the command sail npm run dev it fails, and from the logs, I can see that it's due to Sail using the windows version of Nod...
Randy_Johnson Randy_Johnson
2
Sorry to do this but Im never at my computer now because of work and I am writing code on paper. I want to link two livewire components but have them separate so to pass parameters. Component one would be a random image display on the front page. Com...
dawiyo dawiyo
2
I have a Dropzone element that was working fine up until today. Simple POST request to /uploads. I'm now getting a 403 error that's returning the default Apache error page. I'm thinking its a CORS issue, but the script isn't being hosted elsewhere an...
peper- peper-
6
Hello! I’m facing a bit of an issue with (as I believe) Laravels name guessing for models and classes. Recently I added to my project new model named ServiceTerms for storing various terms and conditions for services and products. This is like 15th...
peper- replied
Solved
GodziLaravel GodziLaravel
3
Hello, I'm wondering if Laravel can also protect against DDOS attacks or it should be blocked at the transport layer rather than at the application layer? Thanks...
Prido Prido
3
I am developing an API for my angular app. I display some general data on the homepage and also have a slider that displays boosted items. Now the question is, is it appropriate to send multiple API calls to load the homepage. One request gets gener...
AlexSteele AlexSteele
1
Has anyone created an alternative to datatables package that is developed in / for the TALL Stack? A solution that is both searchable and responsive?...
umefarooq umefarooq
3
Hi, I am using laravel queue for sending email, i using redis as queue connection. i have used Supervisor configuration same as laravel document, but some time if job fail getting 3 emails this Supervisor config [program:laravel-worker] process_name=...
trogne trogne
1
Anyone got xdebug working using Laravel Sail on Windows (WSL2) ? I've spent hours and hours trying to make this work....
helloejsulit helloejsulit
13
Hello, I am having a bit of confusion regarding how does money coming from PayPal or credit card be converted to an e-wallet balance and use that balance as payment to the merchant? Say, I cash in $100 to my e-wallet account using PayPal. That transa...
tomasosho tomasosho
1
How do i get feed on current location from a GPS tracker?...
mvind mvind
12
Hi I can't run php artisan route:cache. I moved all my closures into controllers, but when I run the command I get the following error: php artisan route:cache Route cache cleared! LogicException Unable to prepare route [logout] for serializat...
trogne trogne
1
I'm using Laravel Sail for Laravel installation on Windows. For WSL, I use the distribution Ubuntu-20.04. After I enter Ubuntu, with wsl -d Ubuntu-20.04, I'm on the path "/mnt/d/htdocs/laracasts/". But Docker Desktop, after started, changes...
DavyC DavyC
5
Hi all, in my project, I'm exporting a sorted Collection to Excel, using the Maatwebsite/Excel functionality. It is working fine for the moment. The result is a collection of cars with tasks/times. A car can have 1+ tasks/times. After each car I woul...
Foks Foks
12
Hi! I'm in the middle of changing my dev environment from Laragon to Laravel Sail. However, when accessing 127.0.0.1 it takes a good time for the browser to even respond with some data. Any ideas that could improve the response time?...
Foks replied
Solved
Create a New Discussion Button