Results for laravel
I have a relationship that actually correctly returns joined values when I use with("relationship"). The problem is I suspect it is using a loop to ge...
I have a web store application where from the home page you can click an input field, press find and it should show you the list of orders that are th...
I have a table with these columns: event_time (date) event_data (json) player_account char() I'm trying to get all three fields from my query and grou...
I am using Laravel 10 with Jetstream and one of my clients doesn't want to logout after changing the password from the Laravel default profile page. t...
My workplace is using raw queries in Laravel for several reasons. Then, I don't know how to get one value from that query. $subgroup = DB::connection(...
I have made a blogging application in Laravel 8. I am currently working on adding comment replies via jQuery (v3.5.0) AJAX. In comment-form.blade.php ...
I want to implement a user tracking system, after searching I realized that I have to do this in the middleware. The problem I had was that I could on...
I'm testing the route locally through postman, sending JSON object with properties and values needed to create an event: //http://127.0.0.1:8000/api/e...
I have joined 2 databases, what i want is to get the total value/sum of these 2 multiplied column: Example on the database: Price Quantity 100 ...
I have an items json array column in a Catalog eloquent model that contains itemable_type and itemable_id properties, it looks like this [{"itemable_i...
i am trying to connect laravel app to azure postgres database the connection was working good but after the last update i get unknow error for me Code...
My response looks like this: "links": { "first": "http:\/\/localhost:8000\/api\/tasks?page=1", "last": "http:\/\/localhost:8000\/api\/tasks?pa...
I am using CKEditor for textarea. I have added editor class to my textarea. I have a ckeditor folder located in public. I have two files[ckeditor.js a...
I have an API call which results several hundred records. I start by converting the URL to a string (there are varying parameters) $res = Http::get($s...
I am currently learning how to perform tests in Laravel. I created an integration test of the Product controller in the ProductController test and tes...
I define a route in my routes/api.php Route::post('Client/LoginClient',[ClientController::class, function(Request $request) { }]); and when I pos...
I have some code and tried it in two ways. It's not working as expected and is not rolling back data Error produce example is in git : https://github....
I'm new to PHP Markdown. Please correct me if I'm using terminology wrong. I have a textarea input which value I'd like to save to database and later ...
I am trying to set cookies using the Laravel HTTP client. I know Laravel uses guzzlehttp/guzzle library in the backend. This is the error I am getting...
I am currently making a website for a client, and currently working on a feature for an admin dashboard to add events. I put all my images in the publ...
I would like to retrieve value from Table A where it does not exists in Table B. Using whereIn could be terrible for performance in BigData. I am tryi...
I am having some trouble getting custom fonts working with DomPDF and Laravel Vapor. (Localy the fonts work) These are my CSS font definitions (fonts ...
I want to create a random string with the length of 8 using Str::random() and then use validator to check whether the created string satisfied the con...
Hello I want WATER return when searches for water this is my code But it doesn't work $value = "water"; $categories = Category::where(DB::raw('LOWER(`...
I'm accessing an image with this : http://MyServerIP/storage/motorcycle/Image.jpg if the image is already inside the project directory before XAMPP in...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?