There are 6 posts with tag php

Add Suspend and Ban features to Sentinel 2

by PHP Laravel Sentinel

Posted on Tuesday, May 10 2016

In this article, I will describe the various steps needed to suspend/ban a user with the Sentinel authorization and authentication package implemented in Laravel 5.2. These options are not provided natively by the package, although they reveal much useful in practice, in particular when you want to prevent a malicious user to keep coming back and register to your site after you deleted his/her account. [...]

Read More

AJAX CRUD for Laravel 5.4

by PHP JavaScript

Posted on Friday, January 27 2017

You certainly have already used the following Laravel artisan command: php artisan make:controller --resource. It provides common methods to create, read, update or delete (CRUD) resources. Usually, those methods are called synchronously and a new view is generated containing the response object. In this tutorial however, we are going to deviate from this default behavior to ensure resource operations happen asynchronously (the page won't reload). [...]

Read More

Blog Search


Hi there! My name is Jean-Marc Kleger and I'm a web developer. Welcome to my blog where a share some tips on how to deal with a selection of challenges encountered in my day-to-day coding workflow. Most articles are related to their own Github repo so that you can quickly experiment the code. Don't hesitate also to make use of the comment section at the end of each post to share your knowledge on the topic. Enjoy the visit!