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

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

GitHub page

Laravel package to encrypt / decrypt the database tables / columns


Via Composer

$ composer require alkhachatryan/encryptable


class User extends Model
    use Encryptable;

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

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