PHPackages                             nsanden/laravel-inertia-react-blog - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. nsanden/laravel-inertia-react-blog

ActiveLibrary

nsanden/laravel-inertia-react-blog
==================================

An advanced blog package for Laravel with React/Inertia.js featuring markdown support, image search, and live preview

v1.0.0(11mo ago)016MITJavaScriptPHP ^8.1

Since Jun 16Pushed 10mo agoCompare

[ Source](https://github.com/nsanden/laravel-inertia-react-blog)[ Packagist](https://packagist.org/packages/nsanden/laravel-inertia-react-blog)[ Docs](https://github.com/nsanden/laravel-inertia-react-blog)[ RSS](/packages/nsanden-laravel-inertia-react-blog/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Laravel Inertia React Blog v2.0
===============================

[](#laravel-inertia-react-blog-v20)

An advanced blog package for Laravel with React/Inertia.js featuring comprehensive content management and modern editing capabilities.

Features
--------

[](#features)

### Content Management

[](#content-management)

- Advanced markdown editor with live preview
- Rich text formatting (bold, italic, headers, links, lists, code blocks, quotes)
- Split-screen editing with real-time preview
- Click-to-edit paragraph functionality
- Excerpt and featured image support
- Slug generation and editing
- Publish date/time scheduling

### Image Management

[](#image-management)

- Unsplash API integration for high-quality stock images
- Search and insert images directly into content
- Featured image support with preview
- Image replacement functionality
- Auto-attribution for Unsplash images

### Advanced UI/UX

[](#advanced-uiux)

- Beautiful, responsive design with modern styling
- Featured post display on blog index
- Grid layout for recent posts
- Social sharing buttons (Twitter, LinkedIn, Facebook)
- Breadcrumb navigation
- Draft/Published status indicators
- Admin edit buttons for authenticated users

### Technical Features

[](#technical-features)

- Comprehensive markdown rendering
- Advanced form validation and error handling
- Clean component architecture
- SEO-friendly URLs with slugs
- Author management with user linking
- Pagination support

Installation
------------

[](#installation)

### Via Composer (from Packagist)

[](#via-composer-from-packagist)

```
composer require nsanden/laravel-inertia-react-blog
```

### Via GitHub (before Packagist submission)

[](#via-github-before-packagist-submission)

Add to your project's `composer.json`:

```
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/nsanden/laravel-inertia-react-blog"
        }
    ],
    "require": {
        "nsanden/laravel-inertia-react-blog": "^1.0"
    }
}
```

Then run:

```
composer install
```

### Post-Installation

[](#post-installation)

1. Run migrations:

```
php artisan migrate
```

2. Publish the React components (optional, for customization):

```
php artisan vendor:publish --tag=laravel-inertia-react-blog-assets
```

Usage
-----

[](#usage)

### Routes

[](#routes)

- `/blog` - Public blog listing
- `/blog/{slug}` - Single blog post
- `/admin/blog` - Admin blog management (requires auth)

### Requirements

[](#requirements)

- PHP ^8.1
- Laravel ^10.0
- React with Inertia.js
- User model with `isAdmin()` method

### Customization

[](#customization)

The package publishes React components to `resources/js/vendor/laravel-inertia-react-blog/` which you can customize as needed.

GitHub Setup
------------

[](#github-setup)

To publish this package to GitHub:

1. Create a new repository: `https://github.com/nsanden/laravel-inertia-react-blog`
2. Initialize git in the package directory
3. Add, commit, and push the code
4. Create a release tag (e.g. `v1.0.0`)
5. Submit to Packagist for auto-discovery

Development
-----------

[](#development)

This version (2.0) represents a major upgrade from the minimal v1.0, adding all the advanced features mentioned above. Future enhancements could include:

- Categories/tags system
- Comment system
- Advanced SEO features
- Content caching
- Multi-language support
- Email newsletter integration

License
-------

[](#license)

MIT License

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance52

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

330d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3601eb794464e8d3092a507095e361a9c71207019b5edf66382b3db181a122a9?d=identicon)[nsanden](/maintainers/nsanden)

---

Top Contributors

[![nsanden](https://avatars.githubusercontent.com/u/2072064?v=4)](https://github.com/nsanden "nsanden (23 commits)")

---

Tags

laravelpackageinertiablogreact

### Embed Badge

![Health badge](/badges/nsanden-laravel-inertia-react-blog/health.svg)

```
[![Health](https://phpackages.com/badges/nsanden-laravel-inertia-react-blog/health.svg)](https://phpackages.com/packages/nsanden-laravel-inertia-react-blog)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
