mvinayakam mvinayakam
3
Hello I am adding Vue support to an existing Laravel system. Some of the datafields contain html tags. Rendering it in Laravel was easy with the {!! option. While passing it to vue, I am seeing that some of the tags are getting omitted out . For e.g....
Daniel1836 Daniel1836
1
I'm having an issue with Sweet Alert where I need 2 input fields. Here is my code: swal({ title: "Update Score", // type: "input", // inputPlaceholder: "Home", showCanc...
warpig warpig
2
I see that passing this into my query doesn't do anything, what I want is to be able to remove all repeated data: $view->with('roles', Role::with('abilities')->distinct()->get()); This doesn't throw errors but as I've read from...
FutureWeb FutureWeb
6
Hi LaraPeeps, I am trying to get the last category_id from a category tree by its parent_id which could be anywhere above it in the tree. my table looks like this: id (int auto) parent_id (int default 0 is first parent) name (varchar) I am think...
aniketmagadum aniketmagadum
0
I am using this package for enabling Cors on the webserver. I have added the Cors Middleware as mentioned in the documentation protected $middleware = [ \App\Http\Middleware\TrustProxies::class, \App\Http\Middleware\PreventRequestsDur...
brayniverse brayniverse
1429
I'm wondering how far Laravel's reach extends to. I hail from London myself....
ikekyzero ikekyzero
6
I'm trying to make a messenger using ready-made solutions. and chose the best solution in git hub(address): RTippin/messenger-demo...
Daniel1836 Daniel1836
4
SELECT sum(home_score) as C FROM u_games WHERE (home_team_id ='$team_id' OR away_team_id = '$team_id') I need to run one query if $team_id = home_team_id and a different one if $team_id = away_team_id I'm trying to get the total score of a team. But...
jlrdw replied
Solved
besrabasant besrabasant
0
How do I execute a particular task when I face an error while running envoy?...
Mav23Sa Mav23Sa
11
i have a table for users and I want only the employees of a company to be able to see the data of other employees of the same company. this is my code $colaboradores = ColaboradorModel::where('empresa_id', '=', auth()->user()->empresa_id)->w...
Crazylife Crazylife
2
swal({ title: "Confirm details?", text:'<input type="text" id="datetimepicker" class="form-control">', type: "warning", customClas...
moamahfouz moamahfouz
1
I'm following this series which tends to use laravel broadcast. Log driver works fine with me but when it comes to PUSHER it gives me this error. I tried so many times but I can reach nothing. Complete error meesage: in comments...
orest orest
1
I have a table a model User and a table users - id - details I want to edit/update the user's details I want the route to be /account/details and i don't know if it is ok to name the controller also AccountDetailsController or if i should name it U...
TutanRamon TutanRamon
7
I am planning to write a (small) stock analyzer. I want to check several technical indicators using webservices. My idea is to have a IndicatorInterface with a couple of methods like fetchData(), evaluate() and buyScore() or something like that. I go...
cankansu cankansu
1
Hi, I'm trying to implement a new SMS channel for my application. I did research in https://laravel-notification-channels.com/twilio/#usage and https://laravel.com/docs/7.x/notifications#custom-channels and try to implement but couldn't understand th...
Khin Zin Zin Thinn Khin Zin Zin Thinn
0
swiper-bundle.min.js:13 Uncaught TypeError: Cannot read property '$el' of null at t.init (swiper-bundle.min.js:13) at t.beforeInit (swiper-bundle.min.js:13) at swiper-bundle.min.js:13 at Array.forEach (<anonymous>) at swiper...
EbrahemSamer EbrahemSamer
0
I am using profanus small library , This small library is replacing bad words with stars *** but when i Use it with arabic bad words it is doing that but it adds extra characters and question mark ( ? ) inside black square .... function censor_sen...
davy_yg davy_yg
5
Hello, I created a toggle button to record active coupon: add_coupon.blade.php Coupon Active:<br> <label class="switch"> <input type="checkbox" checked name="coupon_active"> <span class=&qu...
Hello All, By default, datatable uses "And Search", if we enter 2 words, it filters the records containing both words. I want to display the records containing one of the two words or more generally to follow a more complex logical expressi...
Lars-Janssen Lars-Janssen
6
Hi, In Laravel I'm sending a plan html mail with an <a href="https://mydomain.com/movies"> tag. However when I open this mail in gmail and click on the link it's redirecting to: http://email.mydomain.com/c/eJwVjktqxDAQRE9j7zSoP_p44UU2...
finchy70 finchy70
2
I have an text input component that I took form Livewire Surge screencasts. It is being displayed inside a modal. The background colour of the input field shows past rounded corner. Corners I have tried overflow-hidden but this does not hide the corn...
vincent15000 vincent15000
3
Hello, How is it possible to force the size of a select dropdown with Livewire ? It's perhaps not a Livewire problem, but an HTML problem. I have tried with the size attribute, but then the size is always fixed even when the dropdown is not open. Do...
Snapey replied
Solved
tomasosho tomasosho
3
How do i search for products or users with username, slug or email that have the vendor role? $product = Product::where ( 'p_name', 'LIKE', '%' . $q . '%' )->with('user')->get() OR User::whereHas( 'roles'...
Crazylife Crazylife
7
I am having trouble when trying to update date column with null value. I found that null value unable to override the value stored in the date column. How can i update it with null value?...
RajithaNuwan RajithaNuwan
1
I'm from Sri Lanka I don't have a credit card. but I have a visa platinum international debit card can I pay with it to Laracast...
Kevron Kevron
2
Hello, I need to use Microsoft's Azure Active Directory B2C authentication with my website due to a business rule. I was wondering does Laravel have any pre-made method to handle the authentication flow which includes validating the token that I rece...
Kevron replied
Solved
gitwithravish gitwithravish
3
I have one domain with multiple subdomains. The domain and subdomain websites are individual vue projects. All are connected with multiple apis, that are connected with single database. The authentication system in the main domain is JWT based. If a...
exdee exdee
2
When I visit http://localhost/laravel-websockets and try to send an Event, the browser throws the following error: failed to connect to Pusher. That also happens when I try to broadcast an Event from Laravel. My config: BROADCAST_DRIVER=pusher PUSHER...
gitwithravish gitwithravish
2
There are many opinions about using log files over database for saving user activity logs. But in following requirements, using log files does not solve the problem. Example An e-commerce website where the rates of the product keep changing based on...
mim92 mim92
6
hi there, I want use clustering algorithm from AI in my project with laravel but i really confused to how implement this algorithm intomy project! do you have any suggestion that give me a better view ?...
gitwithravish gitwithravish
0
Example scenario service-provider.com This website is used for SSO It has a user dashboard with user resources details, billing details for the services user uses for each of his resources, etc. The user can subscribe his resources to different ser...
extjac extjac
4
I am able to use Route Binding when the model is a single word....example below #Model class Post extends Model { } #route Route::get('/posts/{post:uuid}', '[email protected]'); however, I am not able to make it work when the model has a name wi...
thguy thguy
6
I'm trying to install this package to Laravel 8: github,,,,com/gopaycommunity/gopay-php-api But when I run "composer require gopay/payments-sdk-php" i will get: Your requirements could not be resolved to an installable set of packages, P...
tinkerbell tinkerbell
11
I can't share any block of codes or links laracast giving error!! you may not include links the first day you sign up...
thguy replied
Solved
davy_yg davy_yg
2
Hello, I am trying to alter my XAMPP php version, yet having a trouble in doing so. E:\xampp74\htdocs\php -v 7.2 E:\xampp74\php\php -v 7.4 Isn't this weird ? I expect both of them to be 7.4 since I want to install laravel 8.0 ref: https://webhosting...
davy_yg replied
Solved
Create a New Discussion Button