title: Auto Invoice Number Generation in Laravel 5.2
body: <p>I am building an invoice application using laravel 5.2</p>
  
  <p>I want to create automatic invoice numbers incrementing. Meaning, </p>
  
  <p>If i open create invoice page, i should automatically get #0001 so when i save the invoice, under my invoice_number field it will be 0001 then when i am creating another invoice, the controller will check for the last invoice_number in the database and automatically give me #0002.</p>
  
  <p>Any idea on how to do that or something similar??</p>
  
  <p>Thanks </p>