Web whatsapp in laravel
Stack Overflow » Laravel
by Rahul Godhnai
19m ago
My Laravel web application is able to generate invoice in form of pdf. I want to integrate web.whatsapp.com onto the application such that the user can scan qr on web.whatsapp and send pdf via whatsapp using their number form my application. Currently I use whatsapp API to send pdf, but drawback : the number associated with whatsapp API cannot be used on my mobile device. So my clients receive pdf from a different number and revert back to me on another number. I want something like this video Currently using API to send pdf ..read more
Visit website
Converting from a slider to a chart graph
Stack Overflow » Laravel
by ADM Night
19m ago
I have a library https://splade.dev/docs/using-vue-libraries. I'm using the Splade table. I have app.js: import { Carousel, Slide, Pagination, Navigation } from 'vue3-carousel'; const el = document.getElementById("app"); const app = createApp({ render: renderSpladeApp({ el }), }) .use(SpladePlugin, { "max_keep_alive": 10, "transform_anchors": false, "progress_bar": true, }) .component('Carousel', Carousel) .component('CarouselSlide', Slide) .component('CarouselCharts', Chart) .component('CarouselPagination', Pagination) .component('CarouselNavigation', Navigation) .mount(el ..read more
Visit website
Storing new conversations uuids for my chat app
Stack Overflow » Laravel
by Dranoel dranoel
3h ago
I am building an application on which users are able to start new chats with a chatbot. I built the frontend with Vue3, backend in Laravel 11, pgsql database and I have an external python API coupled with a redis database. Important thing:I store most of the data in the pgsql database including all of the chats and messages they contain. I also store the chats and chat messages in my redis database for my api to have faster access to the whole convo. When a user gets on the new chat page (lets say url is https://www.my-app.com/chat) he can type some text in the chatbox then submit a new messag ..read more
Visit website
Display images from blade assets, but do not display images from laravel browser links laravel 9
Stack Overflow » Laravel
by Moreno
3h ago
I'm looking for a way to view the images contained in a private folder in storage: here is the asset storage/app/private/images/nomefile.jpg my problem is that I would like to view the images only via asset blade and not view them via the full path of the URL, this is because I would like them not to be public but only viewable in the app after authentication, so via asset() there is a way. I've tried them all but I can't, here's the code: Controller : $request->validate([ 'image' => 'required|image|mimes:jpg,jpeg,png|max:8000' ]); $imageName = time() . '.' . $requ ..read more
Visit website
FEDEX API integration in laravel
Stack Overflow » Laravel
by Mirza Moiz
3h ago
I am trying to implement Fedex APIs in laravel for national and international shipments. I am having issues with shipment create API. sometimes it works, sometimes not. The payload body is so extensive and I don't understand most of it. I am calling get service types API then rate quotes API then create shipment. How do I setup my create shipment API payload, so it works on any origin destination? Can anyone help me with this? I have tried sending whole payload, but still it works on some origin destination combination, and with some, it doesn't work. I get multiple types of errors. Mostly I ..read more
Visit website
Search on polymorphic relation in Laravel
Stack Overflow » Laravel
by Newbie
7h ago
I have a table that has a polymorphic relation with 3 tables, maintenance_dealer, obsolescence_dealer, and Hospital_Equipment_Master. I want to search based on two tables only maintenance_dealer and obsolescence_dealer, but whenever I send a request it searches all tables and since some relationships are only defined in maintenance_dealer and obsolescence_dealer, and not on Hospital_Equipment_Master it throws an error. Here is my code: public function __invoke() { $searchParameters = request()->only([ 'hospital_id', 'machinery_id', 'serialNo ..read more
Visit website
Laravel run functions within a class sequentially
Stack Overflow » Laravel
by MHD adb
9h ago
I want to run some functions so that when one function is finished, it runs the next function. Can you explain that? Example: I want to run command Create a table and then run command migrate like this image https://i.sstatic.net/6HHOXDzB.png I tried to run it with events but it failed ..read more
Visit website
Session Storage Directory in Laravel
Stack Overflow » Laravel
by Tom
10h ago
Reading the Laravel 11 documentation I saw that sessions are stored in storage/framework/session, however according to the CIS Benchmark Guidelines this is somewhat unsafe, and our project has to follow some of these guidelines. Does Laravel allow me to change the session directory to something like /tmp ..read more
Visit website
Unexpected end of JSON input , fetch at Laravel 10
Stack Overflow » Laravel
by rul
14h ago
i have an SyntaxError: Unexpected end of JSON input and i dont know how to solve that. My method at controller was return a json but why its still error. When i change the method to post it ok but i need it as get , please help me This my code to fetch endpoint at my laravel 10 controller async function searchFunction() { let input, filter; input = document.getElementById('searchInput'); search = input.value; try { // Make a request to the server const response = await fetch(`/warga/search?search=${search ..read more
Visit website
Htaccess file not working in laravel 11 production
Stack Overflow » Laravel
by fozoh oliver
15h ago
i have built an app with Laravel l1, when I transferred the app to my production server i got this error: This page isn’t workingpulse.connectyu.com is currently unable to handle this request. HTTP ERROR 500 here is my public_html/public/.htaccess <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # Redirect Trailing Slashes If Not A Folder... R ..read more
Visit website

Follow Stack Overflow » Laravel on FeedSpot

Continue with Google
Continue with Apple
OR