Tag: laravel

  • Use Laravel View Composer to share data in partial views

    Use Laravel View Composer to share data in partial views

    Ever been in a situation where you have to share some data with multiple views? I have. If you are passing it in every controller pretty soon it will get very messy since you end up duplicating same code in multiple controllers which is against the DRY principle. Let’s learn about view composer provider by…

  • Reusable upload component in Laravel with Dropzone.js

    Reusable upload component in Laravel with Dropzone.js

    In this post we will create a blade component which we can reuse in any application where we want a file uploader, we will use Dropzone.js to add drag and drop uploading functionality, and laravel as a backend to store the uploaded file, It can upload an image or document which will be configurable using…

  • Building front-end for  Twitter Like app on VueJS

    Building front-end for Twitter Like app on VueJS

    In the previous post we have built our GraphQL API using Laravel, now let’s focus on the front end and build the Twitter like app using Vue.js, Vuex & Vue router, it will be a completed SPA app, only the auth part will be taken care by laravel out of box authentication, once user logs…

  • Easy roles and permissions in Laravel 5

    Easy roles and permissions in Laravel 5

    Laravel comes with Authentication and Authorization out of the box, I have implemented many role and permissions based system in the past, using laravel, it’s peace of cake. In this post, we are going to implement a fully working and extensible roles and permissions on laravel 5. When we finish we will have a starter kit which…

  • YouTube like app with Vue.js and Laravel

    YouTube like app with Vue.js and Laravel

    Earlier we have build our API Create REST API with authentication using Laravel Passport for youtube like app to share videos and comment on them, In this part we are going to implement front-end with Vue.js v2 and improve our API. This will give you very good idea on how you can create app with Vue.js…