Laravel API Tutorial: How to Build and Test a RESTful API – #SelectedArticles

With the rise of mobile development and JavaScript frameworks, using a RESTful API is the best option to build a single interface between your data and your client. Laravel is a PHP framework developed with PHP developer productivity in mind. from Tigo Source https://www.toptal.com/laravel/restful-laravel-api-tutorial

alkhachatryan/encryptable – Laravel package to encrypt the database columns and tables

GitHub page https://github.com/alkhachatryan/encryptable

Laravel package to encrypt / decrypt the database tables / columns

Installation

Via Composer

$ composer require alkhachatryan/encryptable

Usage

class User extends Model
{
    use Encryptable;

    /**
     * Fillable columns
     */
    protected $fillable = ['name', 'email', 'password'];

    /**
     * Columns which should be encrypted
     */
    protected $encryptable = ['name', 'email'];
}