bloghoven/jekyll-provider-bundle
config/ conventions._posts/ structure).| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| Cross-Language Dependency | High | Containerize Jekyll (Docker) to isolate Ruby. |
| Symfony-Laravel Integration Gaps | Medium | Abstract bundle logic via Laravel’s Symfony Bridge or rewrite key components. |
| Build Complexity | Medium | Implement a watch-and-rebuild system (e.g., Laravel Forge/Envoyer + Jekyll). |
| Performance Overhead | Low | Jekyll is fast, but Ruby + PHP interop may add latency. |
| Maintenance Burden | High | Low-star package with no dependents = untested in production. |
spatie/laravel-markdown, tightenco/ziggy for static routes) been considered?/blog) generated by Jekyll, served via Laravel’s web server.config/. Solution:
BloghovenJekyllProvider).Route::prefix('api') for dynamic routes).FROM ruby:3.2
RUN gem install jekyll bundler
COPY Gemfile Gemfile.lock ./
RUN bundle install
composer require bloghoven/jekyll-provider-bundle.use Bloghoven\JekyllProviderBundle\BloghovenJekyllProviderBundle;
class JekyllServiceProvider extends ServiceProvider {
public function register() {
$this->app->register(BloghovenJekyllProviderBundle::class);
}
}
_posts/:
Post::all()->each(function ($post) {
File::put(
storage_path('jekyll/_posts/' . $post->slug . '.md'),
"---\ntitle: {$post->title}\ndate: {$post->published_at}\n---\n{$post->content}"
);
});
- name: Build Jekyll
run: |
docker run --rm -v $(pwd)/storage/jekyll:/srv/jekyll jekyll/jekyll:latest jekyll build
storage/jekyll/_site/ at /blog.Gemfile.--incremental flag).|
How can I help you explore Laravel packages today?