Recently I needed to add some social media functionality to a project. I needed to be able to post to Twitter and Facebook whenever a user created a new item in the web app. I had never done this before in PHP because normally I would use some sort of plugin in WordPress to do this. Since this was not a WordPress site, I needed to do it by hand. Luckily this isn’t as hard as you might think.…
Read more »The first thing we’ll need to do is create a default layout. This is the layout that the rest of our views will extend. Let’s save it as ‘app/views/layouts/default.blade.php’. …
Read more »