How to check table is exists or not in Laravel 5?

By Hardik Savani | April 20, 2016 | | 10319 Viewer | Category : Laravel

Laravel provide database migrations using Schema facade. Schema facade have sevaral method like add column, remove column, check if table exists, check if column exists etc. In bellow example you can see how to detect if a database table exists with Schema Builder. We somtimes need to check if table exists then to do something etc. So you can check this way:



Do you want to expert php developer or developer team for your projects ?
Contact US