---
title: "Samuel Olaegbe (@samuelolaegbe) | Hashnode"
description: "Software Developer. Read the latest articles by Samuel Olaegbe on Hashnode."
url: "https://hashnode.com/@samuelolaegbe"
---

@samuelolaegbe

# Samuel Olaegbe

@samuelolaegbe · Lagos, Nigeria · Joined July 2019

Software Developer

[Website](https://samuelolaegbe.com/)

### [How to Publish Private NPM Packages With Github Package Registry](https://devloader.hashnode.dev/how-to-publish-private-npm-packages-with-github-package-registry?utm_source=hashnode&utm_medium=feed)

While working on a project based in Nuxt recently, I needed to separate some application-level logic into a separate Nuxt module so it can be managed independently and re-used in other applications. This should be simple, but I had to make the packag...

8 min read · [devloader.hashnode.dev](https://devloader.hashnode.dev/how-to-publish-private-npm-packages-with-github-package-registry?utm_source=hashnode&utm_medium=feed)

[Feb 21, 2022](https://hashnode.com/posts/how-to-publish-private-npm-packages-with-github-package-registry/6213c74d95c64c6eda454ee8)

### [How to authenticate your frontend apps with Laravel Sanctum](https://devloader.hashnode.dev/how-to-authenticate-your-frontend-apps-with-laravel-sanctum?utm_source=hashnode&utm_medium=feed)

Passport or Sanctum? One popular question I have seen everywhere is people asking: "Should I use Passport or Sanctum to authenticate my API"? I have seen people answer this in various ways, but my answer is: Use Sanctum when you need to create a fron...

11 min read · [devloader.hashnode.dev](https://devloader.hashnode.dev/how-to-authenticate-your-frontend-apps-with-laravel-sanctum?utm_source=hashnode&utm_medium=feed)

[Dec 14, 2020](https://hashnode.com/posts/how-to-authenticate-your-frontend-apps-with-laravel-sanctum/5fd73f4eae523508b1da6962)

### [Static analysis with Phpstan](https://devloader.hashnode.dev/static-analysis-with-phpstan?utm_source=hashnode&utm_medium=feed)

Testing your code is one way to ensure that you have a high-quality codebase, which is one way to ensure the maintainability of your projects and also a way to ensure you don't ship broken features in your product. CI tools like Travis CI help you to...

7 min read · [devloader.hashnode.dev](https://devloader.hashnode.dev/static-analysis-with-phpstan?utm_source=hashnode&utm_medium=feed)

[Oct 1, 2020](https://hashnode.com/posts/static-analysis-with-phpstan/5fcd199bf4006d0b1bedfbdd)

### [Using arrow functions in PHP 7.4](https://devloader.hashnode.dev/using-arrow-functions-in-php-74?utm_source=hashnode&utm_medium=feed)

Last November, PHP 7.4 was released and the entire community was so excited with the new features that this release brings with it. You can now build faster apps with PHP and also be excited while you work on them with these new release! See the full...

[devloader.hashnode.dev](https://devloader.hashnode.dev/using-arrow-functions-in-php-74?utm_source=hashnode&utm_medium=feed)

[Mar 12, 2020](https://hashnode.com/posts/using-arrow-functions-in-php-74/5e6a2efeedf51b1c15ae608c)

### [Enable OS supported share dialog on your website for mobile devices (Part 2)](https://devloader.hashnode.dev/enable-os-supported-share-dialog-on-your-website-for-mobile-devices-part-2?utm_source=hashnode&utm_medium=feed)

A couple of days ago I wrote the part 1 of this post which outline everything involved in setting up the share dialog which is common to native apps on your mobile apps. In this post, we will be looking at how to add support for sharing media files f...

3 min read · [devloader.hashnode.dev](https://devloader.hashnode.dev/enable-os-supported-share-dialog-on-your-website-for-mobile-devices-part-2?utm_source=hashnode&utm_medium=feed)

[Jan 9, 2020](https://hashnode.com/posts/enable-os-supported-share-dialog-on-your-website-for-mobile-devices-part-2/5e16c104490269cb3022d53e)
