Fusion
If you are a Laravel Developer and you want to build your Website, or Portfolio website, with Laravel you have a lot of options like Folio for managing the routes and pages, Livewire for managing the user interaction with the website, Inertia for using React or Vue or Svelte in your Frontend.
For managing the content you can use the database (MySql, Postgresql, Sqlite) or you can use flat files (Markdown or JSON etc). Using the database you have the benefit of using Eloquent for filtering and sorting the content. Using the flat files you have more simplicity avoiding the usage of a database, and simplifying the deployment process.
But, what if you can combine the benefits that come from the two approaches? With Fusion, you can manage your content in Markdown files and use Eloquent for querying the content.
You can start creating your content in a Markdown file, using the Frontmatter fields:
---
headline: Hi Folks!
subheadline: We love building Open Source software. We love building side projects and releasing them as Open Source projects.
cover: /img/hi-folks-cover.webp
cta:
- label: Our GitHub
url: https://github.com/hi-folks
- label: Projects
url: /projects
published: true
slug: home
---
## Home page
Markdown goes here
and then you can query your content via Eloquent Model, for example in your Controller in your Blade component or your Livewire component:
$page = \App\Models\Page::where("slug", "home")->first();
You can structure your content to have more models (pages, projects, articles etc):
$project = \App\Models\Project::where("published", true)
->where("slug", "fusion")
->first();
So, if you are interested in to Fusion you can take a look at our GitHub Repository.