I'm currently making an app where the users can enter raw html using wysiwyg editor and after saving that it will be used to create layout for their profile pages in the app and what is the right way of storing this in database?
Do I need to use
HTML::entities(Input::get('description'));
Well if you're using one of those editors, you need to save it as is. You then display it either with entities/escape it if you don't want it to be displayed as rending HTML. Be aware that they can input any HTML/JS etc in this case...
Yeah as sitesense said, use something like that. Just depends who's adding the content in, if it's a client's website you'd probably want to allow most stuff but disallow things that could break the website (flash etc)