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
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:
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
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.
Crikey, my SQL skills are fading.
How can I pivot this data:
count is just a count of ids
date, event, count
so that I can get this:
date, click-count, open-count
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...
After updating the DB collation and character type from C.UTF-8 to en_US.UTF-8 I can't login (all users) !
I changed the pas...
i got this error below after deleting the component from app view, how can i make this work
Target class [App\View\Components\Post] does not exist. (View: C:\Users\ADEALA\Desktop\tribe\tribe-...
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...
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...
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.
id - integer
name - string
id - integer
name - string
id - integer
name - string
tag_id - integer
taggable_id - integer
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.
from: Laravel [email protected]
by: [email protected]...
We are developing an app that should work with these URL-s:
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:
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
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...
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...