Nov 29, 2021Load Dynamically Livewire Components from Different NamespaceIf 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…Laravel2 min read
Nov 10, 2021Setting up Anonymous User to Embed Kibana Dashboard to Your ApplicationRecent 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:Kibana2 min read
Oct 19, 2021Create A Running NumberYou 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…Laravel2 min read
Oct 6, 2021How to search multiple models easily with Laravel Eloquent without using packages441Jian Jyethis 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 readthis can be improve by creating SQL View. So on the Laravel side, just create a model calling that SQL View.11
Sep 12, 2021Query through Elasticsearch Indices with LaravelJust 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…Laravel2 min read
Jan 2, 2019How to Install LAMP Stack on CentOS 7Assalamualaikum / 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…PHP8 min read
Dec 28, 2018Laravel Nova: Setting Up Dingo API RouteAssalamualaikum / 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() ||…Laravel2 min read
Dec 7, 2018Laravel Nova: Prevent Conflict Dingo/API with Nova API — EnhancementAssalamualaikum / 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…Laravel2 min read
Nov 28, 2018Laravel Telescope: Dedicated DatabaseAssalamualaikum / 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…Laravel2 min read
Nov 27, 2018Laravel Nova: Prevent Conflict Dingo/API with Nova APIAssalamualaikum / 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…Laravel2 min read