Category: authorization

Are Bitwise Operators Still Relevant in Modern PHP?

Many of you probably scratched your heads reading this title. “Bitwhat?” In this article, we’ll look at what bitwise operators are, and whether or not their use is still relevant in this modern age of computing.Example Use Case I’d been trying to really understand bitwise operators for a long ...

How to Scan Fingerprints with Async PHP and React Native

We live in interesting times. A short while ago, a company called OfferZen announced a new, programmable credit card. It’s been a long time since I was this excited to get my hands on a piece of tech. My mind has been brimming with ideas ever since. So, I decided to write about one of them! I’m going to des...

Control User Access to Classes and Methods with Rauth

Rauth is SitePoint’s access control package for either granting or restricting access to certain classes or methods, mainly by means of annotations.In this tutorial, we’ll learn how to use it. Why Rauth Traditional access control layers (ACLs) only control routes – you set anything starting with /admin to b...

Sourcehunt #4 – Reflection, Authorization, Crons, and more

We skipped January’s Sourcehunt, but we’re back now, ready to boost the stardom of more projects!mult1mate/cron-manager [125 ★] mult1mate/cron-manager is a flexible tasks manager designed for MVC-type applications. It’s used instead of crontab and its purpose is to provide an easy way to manipulate repetitive...

How to Consume Laravel API with AngularJS

In part 1, we built our server part. Now we can build our client. We are going to use AngularJS to make a Single Page Application. We will use a very basic bootstrap template, built on the fly.Planning Our application will be made up of three screens.Login Screen: a simple login screen. The user will insert their e...

How to Build an API-Only JWT-Powered Laravel App

The Laravel API Boilerplate (JWT Edition) was made on the shoulders of giants like:Dingo API; JWT-Auth, by tymondesigns; CORS on Laravel 5 by barryvdh;In this article, we will learn how to use it to quickly create a fully functional API for an imaginary book wishlist application. As an aside, we will also see how t...