title: Create loading bar while an other function is executing php
body: <p>I'm using laravel to develop my web application ,and i have a migration function i want to add a loading bar while the function is running then the loading bar is hidden when the function ends how can i do this.</p>