Hi, how can I inherit a variable in another class with its data?
For example, I call a get from an api and make the exchange rate in a variable but I would like to have it global and to be able to have its data anywhere.
Look what I mean
$usdPrice =...
Hi everyone, I installed new wamp version and composer but I got this error while I installing the composer. I tried to search some in google but it's outdated answers.
The PHP exe file you specified did not run correctly:
C:\wamp64\bin\php\php7.4.9\...
Hello everyone,
Is there any suggested online tool to test my website in different browsers...I am looking for a free tool not a paid one.
Thanks for your help in advance...
I need to download some html table views as CSV files.
I had a search on this forum but the most recent thing was 2 years old.
Does anyone know the best way to do this in Laravel? I had a look around Laravel docs but there doesn't seem to be a native...
Hello i wanna ask does anybody knows how to send notifications via WhatsApp? I want a method similiar to markdown mail, but the notif will be send to WhatsApp instead of email. I download whatsapp here: https://apkrapido.com/whatsapp-gb/. Thanks
Iam...
Few minutes ago I tried to run composer dump-autoload --optimize --no-dev Then application crashed with error Class 'Barryvdh\Debugbar\ServiceProvider' not found in \src\Illuminate\Foundation\ProviderRepository.php
As I find out the problem is in --n...
I'm getting confused here and maybe someone can help me.
I will start with a simple example and add the complexity later.
Let's say that I have Users and Posts.
I want to return all my users and details about their posts.
Like this:
[
{
"user&qu...
Hi,
Crikey, my SQL skills are fading.
How can I pivot this data:
count is just a count of ids
date, event, count
2020-12-27,click,14
2020-12-27,open,19
2020-12-28,open,18
2020-12-28,click,22
so that I can get this:
date, click-count, open-count
2020...
Hi, I'm new to laravel and I want to know how do you handle the file update in an optimized way?....
I think a helper function with 3 parameters for store the files:
the file 2) the directory 3) the optional address of the old file for deleted.....
I know this is out of topic with laravel but I still want to try to ask.
So I'm trying to follow this tutorial but what I want to do is a bit different.
I want to have a unique link per coupon generator and the coupon is per customer and can only be...
I am fairly new to using Laravel with Docker and I have just started using the sail package. I was wondering what would be a good way to run multiple laravel proejcts/sites with laravel sail.
In particular how can I make these projects talk to each o...
Hello,
After updating the DB collation and character type from C.UTF-8 to en_US.UTF-8 I can't login (all users) !
.env :
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=***
DB_USERNAME=***
DB_PASSWORD=*************
I changed the pas...
i got this error below after deleting the component from app view, how can i make this work
Illuminate\Contracts\Container\BindingResolutionException
Target class [App\View\Components\Post] does not exist. (View: C:\Users\ADEALA\Desktop\tribe\tribe-...
I just installed brand new laravel application using sail on my ubuntu
but when i tried setting the path i using alias sail='bash vendor/bin/sail' i get this error sudo: sail: command not found...
Hi
I honestly have no idea where to start this since my problem is not small. I'm about to go to university with major in "Computer Science". The thing is, I can't stop thinking about how I don't know almost a thing. I feel like I'll go the...
All the content related to it within the Laravel community is more than 4 years old. Was wondering if anyone was using this method in production? Are you happy with it?...
I have a long URL structure, that follows a very simple pattern.
My Routes.php file is getting incredibly long, when really it doesn't need to be.
(and as we move to a multilingual URL structure, thats going to cause problems).
This is what I want in...
Hello,
I am facing a problem while sending emails they are going in the spam box is there any issue on my website? please let me know I am providing here link https://outdoorbasketballguide.com/best-in-ground-basketball-hoop...
from my controller
$subscriptionstatus = PaystackSubscription::findBillable($paystackId);
I want to get the subscription status and return null when the user_id is not available in the subscription table...
Let's just use the examples in the documentation.
posts
id - integer
name - string
videos
id - integer
name - string
tags
id - integer
name - string
taggables
tag_id - integer
taggable_id - integer
taggable_typ...
I installed a package via composer, and i'm getting "Unable to locate publishable resources." when i try publishing.
package link
https://github.com/digikraaft/laravel-paystack-subscription...
Hi,
I have a contact form and I have a privacy policy checkbox t the end of form. This checkbox is required. When I left blank, the form does not submit and there is a space next to the checkbox, but the message does not appear and in the inspector f...
Hi fam,
Can someone help me figure out how can I get rid of the Laravel name when sending an email?. Probably is there a way but I'm not entirely sure how can it be done.
Example:
from: Laravel [email protected]
by: [email protected]...
Hi,
We are developing an app that should work with these URL-s:
/language/company/usertype
For example:
/en/fastdeliveriesinc/admins
With the same installation of Laravel, we are serving pages for all the customers and types of users. We have managed...
I have a database file that stores the quantity of goods in stock in dbf format
external dbf file on the ftp
I do not understand how to organize the following points correctly (where to place the executable code)
So far, I see the process like this:...
I've NGINX 1.18.0 running on uBuntu 20.10. I wish to configure it to allow unlimited subdomains for my multi-tenant application.
I use the following configuration file for most of my single-tenant applications; and it works fine:
server {
lis...
I follow everything here
https://jetstream.laravel.com/2.x/installation.html
going down the livewire route, but still!
Class 'Inertia\Inertia' not found
Does anyone know how I can fix this....
i created a component post ,which automatically created app/view/components/Post and also resources/view/components/post.blade.php
so I'm trying to make the post blade anonymous and I deleted the Post.php in the app components
now I'm having error
ta...
I am trying to build a multi-tenancy application using Laravel . I tried to use Spatie multi tenancy or is there any other better alternative?
There is a major company and sub-companies: myapp.com, company1.myapp.com, company2.myapp.com, ... and so o...
Hi,
WHAT IM TRYING TO ACCOMPLISH: fetch data from collection like that:
//this is my controller
$cars = cars::all();
Filter collection $cars according to different filters and assign to different variables. (in short, one query for multiple variabl...