Assalamualaikum / Hi, It’s been a while since I stumble upon an API, which have custom Accept header. For a past few days, I have a chance to implement custom header on one of my client project. Here is how I did – create a middleware to filter the coming request. As you can see… Read More »
Assalamualaikum / Hi, Today I will share how to use Datatables in your Laravel project. I will cover on: Setting up Datatables Compiling Datatables Asset with Laravel Mix Create route for Datatables Create reusable Blade Template for Datatable Part 1: Installation Create a new laravel project. Install package.json dependencies with npm install or yarn install.… Read More »
Assalamualaikum / Hi, Today, just a quick sharing on my PHP-CS-Fixer setup in my Laravel application. First, you need PHP CS Fixer. You can go through the installation steps here. Then, I’ve added an alias for my PHP-CS-Fixer alias csfix=”php-cs-fixer fix”. Now my PHP-CS-Fixer config file, following are the setup in my Laravel application. Once… Read More »
Assalamualaikum / Hi, Just sharing my bitbucket-pipelines.yml file used: I might be adding more in order to support Laravel Dusk. Feel free to share any references on this. Thanks, Nas
Assalamualaikum / Hi, Today, I’m going to share how to include the new Font Awesome 5 in your Laravel application. You will need Node.js to do so – see Laravel Mix. So to start with let’s, consider that you have your fresh Laravel application created, you need to install all front-end dependencies then install Font… Read More »
Assalamualaikum / Hi, Today I will show you how to make a notification to Slack channel. The approach slightly different you may came across on the internet, but they key point, still rely on Laravel Notification. It’s just how I manage my Slack service. Configuration First, we going to start with setting up our environment… Read More »
Assalamualaikum / Hi, In this post, I will talk more about Laravel Package Generator, Packager. And today, this morning, I just created Money Wrapper, a Money wrapper, and of course using Packager. Before we go to the things inside Packager, here the package Money Wrapper provide: Provide a Money helper – money() Intended for Laravel… Read More »
Continue from previous post, next we going to setup the middleware in order to check either the user already activate the account or not. If user already activate the account, allow to enter our application, else redirect to request for another activation e-mail.
From previous post, we extend the usage of Notifications, Event and Listener to have a mechanism where user need to activate their account in order to use the application. In this Part 1, we just setup the Notification, Event and Listener. Part 2 will be about how do we check if user already activate their… Read More »
A quick post on how to setup a welcome email on user registration. Make sure you have a mailtrap.io account for testing purpose, or production you may use SparkPost, or GMail SMTP, or any provider should work with proper .env on mail configuration.