I want to translate text inside the button. <?php if ($product->category_slug === 'bramy-przesuwne' || $produc
I wanted to order by name the Categories (relationship field) of my CreateOperation. It is ordered by default by id. protected function setupCreateOperation()
In my web app built on Laravel, which under the hood uses an npm/Webpack build process, I'm currently using the SCSS icon sheet versions of FontAwesome like thi
I've got a query that I'm running in my project on a model called Domain, it returns all domains where the status column of a domain matches complete and a date
I've installed and configured meilisearch + Laravel Scout package. My Model: class Post extends Model { use Searchable; } When I run php artisan scout:impo
I'm building my first laravel API and when I try to validate some mock form data using Postman with POST method, the application returns to me the HTML of the i
I am trying to change Laravel Jetstream's logic in order to join a default team at registration rather than create a personal team. I found the method that does
Im creating a Website with Laravel nova. When installing nova by default you get a login, a users table and a dashboard. Now I need to add a second login for an
I'm working with Laravel 5.8 and I have created this method in the Controller: public function __construct() { $this->middleware('can:see-brand-r
In the old Laravel Spark (now Spark Classic) you could utilise a configuration method Spark::prefixTeamsAs('bands'); a new project I'm working on uses the new L
I have a Test model, with the JSON attribute inputs, which is a flat array of strings (e.g. ['foo', 'bar', 'baz']). I'm trying to bind this field up to Livewire
I am hosting a React application inside the public directory of a Laravel app where: /public_html/ app bootstrap config
I want to hide the columns password & OTP ,that is included in $uses result. Actually these 2 columns are part of the users table. I've tried like below. B
So what i want to do is take values from user input, then do some calculation with it inside the controller with method and that method return value to be displ
I work in laravel and trying to get the response from the page. This is the controller in question: public function counter($id) { $toSearch = $id * 10000;
I am using AdminLte. You can customize web for yourself(dark mode, nav compact, ...).docs But when I go to another page all customized state removes. How to sav
I've installed the Laravel Octane RoadRunner Application Server. It works flawlessly on my local Linux server, and I can access the application via 127.0.0.1:80
I am getting this error when I try to use update method from my routes. The UPDATE method is not supported for this route. Supported methods: GET, HEAD, POST, D
I try to make hasMany relationship in Laravel and I have this problem. If I rename table name in Model to test, relationship works fine, seraching by my new tab
I created textarea form element using Livewire, I use Trumbowyg to make WYSIWYG. After sending data trhough submit on livewire, I coundn't get data from textare