Authentication

  • Middleware is a class that have special function in Laravel. Middleware placed in between the User and  Apps.  Before you can access the Apps, Middleware will do his job first. We can use Middleware to do several thing Do you authenticated? What is your role? Do you authorized? Can you perform this action? etc class MemberMiddleware…

    Baca catatan

  • Antara perkara penting dalam membangunkan applikasi adalah sistem pengurusan akses maklumat atau pun authentication & authorization. Laravel telah memudahkan kerja kita dengan menyediakan scaffolding authentication nya tersendiri. Anda hanya perlu install sahaja. Tetapi untuk install sistem authentication ini ia perlu dilaksanakan pada fresh setup SAHAJA. Execute code berikut untuk install Auth php artisan make:auth untuk…

    Baca catatan