I am trying to set bootstrap-select in laravel via laravel mix. Everything seems correct, but when clicking on the select, it does not show the options. In reso
I try to extend an extintig ˙PHP` Laravel model with some other fields, but I not found the right solution. I use PHP 7.1 with Laravel 6.2 Here is my code
I have a button in my blade like this @can('customer_show') <a class = "btn btn-primary" href = "{{ route('admin.loan-applications.showCustVi
Is there any way we can use operator or regex as we normally do with the whereIn() clause. I want to use something like this $query->whereIN(name,'like','%te
I make a disk in filesystem like: 'avatars' => [ 'driver' => 'local', 'root' => storage_path('app/avatars') ], is it
I have an alert component that I hide using AlpineJS but I want it to be visible again after Livewire re-renders. Showing the alert using Livewire component @if
I'm building a project with Laravel 7.28 on localhost. I need to update a PDF every hour. For the beginning I created a command: <?php namespace App\Console
I'm building a project with Laravel 7.28 on localhost. I need to update a PDF every hour. For the beginning I created a command: <?php namespace App\Console
This is mani I am facing some issues with social login subject: I face a redirection issue in larvel socialite When I login through Facebook after authenticatio
chat.php how to send message to specific user id? public function onMessage(ConnectionInterface $from, $msg) { $numRecv = count($this->clients) - 1;
I'm trying to set up laravel-mix-criticalcss in a Docker container and I'm getting an error. Has anyone come across this before? Error [webpack-cli] TypeError:
I have been searching around to see if there is a way I can mock SSL for local development using Laravel's artisan to serve HTTPS with no luck. Is this possibl
I'm using Http client for making outgoing HTTP requests. I've used it many places in the project.Now project has new requirement that I have to add a new header
I get the error Doctrine\DBAL\Schema\SchemaException : There is no column with name 'price' on table 'class_rooms'. while running migration to rename the price
I am coding on Laravel 6, and stumbled up on this problem. I have accessors for a field that i need in my model in some cases, but it does not exist in my datab
I am doing request validation using FormRequest Method. I am using GET method. All things seems correct but validation is not working. My Controller use App\Ht
I want to integrate google sheet with Laravel 8 without any third party tool or connector. I know its simple for many but i am not able to get through. Highly a
I want to integrate google sheet with Laravel 8 without any third party tool or connector. I know its simple for many but i am not able to get through. Highly a
I have category and product table as follows: Categories: id | name | slug | parent_id Products : id | brand_id | name | slug | price | desc P
I have found that for using DB::transaction in Laravel, in combination with the ORM, we need to run something like: DB::transaction(function() { // Mod