If you want to add a blog to your Laravel or Symfony application to start content marketing, the best option is to have your blog at myapp.com/blog. This way, SEO improvements to your blog can help rank your other landing pages as well.
You can be fancy and develop your own blog system. But, this can easily become hard to manage in the long run. Because you are already using PHP, what if you use WordPress? You will still have to spend a lot of time managing plugins and WordPress updates. Maybe set up a proxy server? That is not easy either.
The easiest option is to use Hyvor Blogs, a blogging platform with all of the features you need to run a blog. Most importantly, it is perfectly optimized to let you “self-serve” your blog. To make this easier for you, we have developed packages for Laravel and Symfony:
Check out these blog posts for a step-by-step tutorial;
How it works
All you have to do is create a blog at Hyvor Blogs, install the Laravel/Symfony package, and change some configs. The blog will shown at /blog of your app. How does this actually work? Is it performant enough?
The package (Laravel or Symfony) registers routes to handle any request that starts with /blog. So, when a user visits /blogs/my-post, it will call the Hyvor Blogs Delivery API to learn how to “serve” this request to the user. Then, based on the response from the Delivery API, the package generates a HTTP response. Before sending it back to the user, the response is cached so that subsequent requests can be served directly from the cache.
Then, we use webhooks to clear cache when content is updated.
Features of Hyvor Blogs
Hyvor Blogs comes with in-built multi-language support. All official themes support it. You can easily add multiple languages to your blog and start translating your posts. You can also use our AI-powered translator to automatically translate posts.
Hyvor Blogs handles the SEO part. You can completely focus on writing content.
You can choose from official pre-built themes or create your own theme from scratch. We use familiar tools like Twig for themes. You can learn more in our theme development guide.
Custom Domains, if you need
By default, you get a free hyvorblogs.io subdomain. You can easily set up self-hosting as explained above. If you rather like to host your blog on a custom domain, that is possible as well with SSL support.
APIs and Webhooks
We have 3 APIs:
- Data API - to fetch data of your blog
- Console API - to manage your blog
- Delivery API - to self-host your blog
And, of course, webhooks.
Invite your whole team to contribute to your blog. Assign 6 different roles depending on the requirements.
Data Ownership & Privacy
It is completely your blog. We do not inject ads, pop ups, or affiliate links to your blog. Your blog, you decide!
Hyvor Blogs is a new blogging platform with pretty much everything you need for blogging built-in. Plus, blogs can easily be hosted within Laravel and Symfony applications. Whether you are a personal blogger or a team, Hyvor Blogs is a great platform for those who just need to blog without having to worry about hosting, security updates, and plugins. Sign up for Hyvor Blogs now or join our affiliate program and refer your clients to Hyvor Blogs!