Laravel 3 Table table_user id name table_barang id iduser name statusbarang_id table_statusbarang id name My code UserModels: public function BarangModels()
I want to print the name of the user by finding it with 'finished_by' column where id of user is stored. but i get this error: Trying to get property 'name
I moved my project from desk to another. When I run php artisan it does not work. I tried to run composer update, but it returns the error Script @php a
In the livewire component, I have the script tag: <script> {!! $script !!} </script> Let's say the $script variable contains console.log('test'); I
I am working on Razorpay integration and after succesful payment when I try to save the details to the database I get an error. I am sending t
i have an collection like this 0 => array:4 [ "so" => "SO-1" "product_name" => "EXTREME FORTE - BP" "created_at" => Carbon @1527481346 {#628
I am making a schedule display system and it shows the schedules of ferries. my problem is if I dont put midnight time in order then query skips midnight time a
I'm trying to write in javascript and I want to understand why it doesn't work? sample order code that I want to copy: 593004485164756431 when I copy to clipboa
This is my ignore list which i have some item that i don't into that $ignoreRoutes = [ 'administrator', 'attachImage', 'login', 'logout', 'l
I have a Product model with id,name,price. The price value is stored in an external API and i need to fetch it every minute in order to update it in the databas
My component looks like this: namespace App\View\Components; use Illuminate\View\Component; use App\Http\Controllers; use Illuminate\Http\Request; class shop
I have a new Laravel project, with Passport and basic authentication installed, and I am getting this error when I try to call the built in /api/register endpo
Today I try swiper but not working. I install Swiper with npm npm install swiper this is my code index.blade.php <div class="swiper-container">
I have 2 columns in table servers. I have columns ip and hostname. I have validation: 'data.ip' => ['required', 'unique:servers,ip,'.$this->id] This
I'm using laravel default pagination with: {{$posts->links()}} and the pagination works, the links appear and
I came across an issue in my code base where a job was being terminated early while its timeout was set to 540 seconds. However after looking in the documentati
I'm using Fortify in my Laravel 8 application that's used as an API backend to a Nuxt front-end. When a user logs in, and their log in is successful; I'd like t
When Assigning permission for a role using seeder, in permissions table it will take guard_name as "web", but when adding permission through CRUD, it will take
I use mongodb and mysql together with Laravel. Fields table in mysql database can have more options in mysql database. fields table in mysql: id, name options
I have column last_activity, where write date last activity user with middleware. How I can check online user and when he logout? Middleware: class LastActivi