Latest Posts

HOW TO ADD USER ACCESS CONTROL IN LARAVEL (ACL) [UPDATED 2019] (1)

How to use laratrust in Laravel (ACL) [ Updated 2019]



Hi guys in this post we are going to add user roles and permissions using laratrust package (ACL) in our laravel application. We alreay setup laratrust package installation in another post you should check that first. Now we are going to seed roles to the database. Once roles are added we are going to attach […]





Login with username or email Laravel



We are going to see the controller on how to match data in a database using user input. $nameOremail is the user input, We are passing it as an argument into controller function. export default { name:'Login', data:function(){ return { form:{ nameEmail:'', password:'', }, errors:{ message:[] } } }, methods:{ processUser(){ if(this.errors.message.length>0){ this.errors.message.length = 0; […]