Open in app
Home
Notifications
Lists
Stories

Write
Nasrul Hazim Bin Mohamad
Nasrul Hazim Bin Mohamad

Home

Nov 29, 2021

Load Dynamically Livewire Components from Different Namespace

If you are familiar with Laravel Livewire, you might come across (especially you working with huge projects), how to manage the Livewire components, to be organise under their own domain. In my case, I have a project, consider as a big one, need some organisation of each respective domain (can…

Laravel

2 min read

Load Dynamically Livewire Components from Different Namespace
Load Dynamically Livewire Components from Different Namespace

Nov 10, 2021

Setting up Anonymous User to Embed Kibana Dashboard to Your Application

Recent works let introduce me some challenges in putting Kibana Dashboard into applications, in secured manner. Hence writing up a quick post for setting it up securely. Elasticsearch Enable X-pack Security xpack.security.enabled: true Create credentials for internal communication of Elastic stack: /usr/share/elasticsearch/bin/elasticsearch-setup-password auto Random passwords will be created for you:

Kibana

2 min read

Setting up Anonymous User to Embed Kibana Dashboard to Your Application
Setting up Anonymous User to Embed Kibana Dashboard to Your Application

Oct 19, 2021

Create A Running Number

You may come across, to have a running number, case id or reference number of your records, so that you can easily remember them — especially to your users. This can come in various formatting. But today I’m going to show you how simplest setup could help you save a…

Laravel

2 min read

Create A Running Number
Create A Running Number

Oct 6, 2021

How to search multiple models easily with Laravel Eloquent without using packages
44
1

Jian Jye

this can be improve by creating SQL View.

this can be improve by creating SQL View. So on the Laravel side, just create a model calling that SQL View.

1 min read

this can be improve by creating SQL View. So on the Laravel side, just create a model calling that SQL View.


Sep 12, 2021

Query through Elasticsearch Indices with Laravel

Just come across a use case during my daily works, to query through Elasticearch indices, in Laravel. I’m assuming you have installed Elasticsearch, have indices, index pattern defined and of course, data populated in the index documents. Then, create a Laravel project and install this Laravel Elasticsearch package. Then, let’s…

Laravel

2 min read

Query through Elasticsearch Indices with Laravel
Query through Elasticsearch Indices with Laravel

Jan 2, 2019

How to Install LAMP Stack on CentOS 7

Assalamualaikum / Hi, My first experience on CentOS is on my first job after graduation — 2009 and it’s about 2 years plus experience on CentOS at that time. Never really had an idea what I’m working on during that noob era, LOL. Anyway, 2019, just a quick run through…

PHP

8 min read

How to Install LAMP Stack on CentOS 7
How to Install LAMP Stack on CentOS 7

Dec 28, 2018

Laravel Nova: Setting Up Dingo API Route

Assalamualaikum / Hi, In previous story, we have done a simple setup to determined either the request is Dingo/API or normal Laravel Request. This time, we want to setup our API routes using the isDingoApiRequest() helper. Open up your routes/api.php and add the following codes: if (isDingoApiRequest() || app()->runningUnitTests() ||…

Laravel

2 min read

Laravel Nova: Setting Up Dingo API Route
Laravel Nova: Setting Up Dingo API Route

Dec 7, 2018

Laravel Nova: Prevent Conflict Dingo/API with Nova API — Enhancement

Assalamualaikum / Hi, In previous story, I did make a workaround to fix Dingo/API and Nova API by using different Service Provider (which extend the Dingo/API Laravel Service Provider), custom exception handler This time, another approach which I did to tackle issues raised when trying to set API_STRICT=true. If based…

Laravel

2 min read

Laravel Nova: Prevent Conflict Dingo/API with Nova API — Enhancement
Laravel Nova: Prevent Conflict Dingo/API with Nova API — Enhancement

Nov 28, 2018

Laravel Telescope: Dedicated Database

Assalamualaikum / Hi, Laravel Telescope is a new official package from Laravel. Laravel Telescope is an elegant debug assistant for the Laravel framework. Telescope provides insight into the requests coming into your application, exceptions, log entries, database queries, queued jobs, mail, notifications, cache operations, scheduled tasks, variable dumps and more…

Laravel

2 min read

Laravel Telescope: Dedicated Database
Laravel Telescope: Dedicated Database

Nov 27, 2018

Laravel Nova: Prevent Conflict Dingo/API with Nova API

Assalamualaikum / Hi, If you are using Dingo/API (in my case I use laravie/api — a fork of Dingo/API) with with Laravel Nova, you might encounter issues conflict between Dingo/API and Laravel Nova. Issues like: When you click on logout in Nova, you will get JSON response instead of seeing…

Laravel

2 min read

Laravel Nova: Prevent Conflict Dingo/API with Nova API
Laravel Nova: Prevent Conflict Dingo/API with Nova API
Nasrul Hazim Bin Mohamad

Nasrul Hazim Bin Mohamad

Software Engineer, Laravel Trainer, IT Consultant and Blogger

Following
  • Darius Foroux

    Darius Foroux

  • Connor Leech

    Connor Leech

  • Netflix Technology Blog

    Netflix Technology Blog

  • Justin Fuller

    Justin Fuller

  • Alex Orrantia

    Alex Orrantia

See all (107)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable