Download the PHP package ghostcompiler/laravel-react-jsx-boilerplate without Composer

On this page you can find all versions of the php package ghostcompiler/laravel-react-jsx-boilerplate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-react-jsx-boilerplate

Ghost Compiler Logo

Laravel React Inertia.js Vite Tailwind CSS Ghost Compiler

Laravel React JSX Boilerplate

A blank, production-ready boilerplate for building modern Laravel apps with React and JSX — not TypeScript.

Laravel’s official starter kits ship with React + TSX. This boilerplate gives you the same modern stack (Inertia, Vite, Tailwind, Wayfinder) in plain JavaScript/JSX, so you can move fast without TypeScript tooling if that is not your preference.


What is in this project

Backend

Piece Details
Laravel 13 Latest framework with streamlined routing, middleware, and config
Inertia Laravel Server-driven SPA responses — no separate API layer required for page loads
Wayfinder Type-safe route and action helpers generated from your Laravel routes
SQLite by default Ready for local dev; swap to MySQL/PostgreSQL in .env
Queue & jobs tables Migrations included for background work when you need it
PHPUnit Feature and unit test scaffolding

Frontend

Piece Details
React 19 + JSX Components in .jsx — no .tsx required
Inertia React Page navigation without full client-side routing setup
Vite 8 Fast HMR in dev, optimized builds for production
Tailwind CSS 4 Utility-first styling via the Vite plugin
React Compiler Enabled through Babel for optimized React rendering
Instrument Sans Loaded via Laravel Vite font plugin (Bunny Fonts)

App features (included out of the box)

Developer experience


Project structure


Requirements


Getting started

Create a new project

Option A — Laravel installer

Option B — Composer

Option C — Clone the repository

Start development

Visit http://localhost:8000.

Manual setup (alternative)

If you skipped composer setup, run:

For local development with HMR:

In a second terminal:


Scripts

Composer

Command Description
composer setup Full project bootstrap
composer dev Server + queue + logs + Vite
composer test Pint check + PHPUnit
composer lint Fix PHP style with Pint
composer lint:check Check PHP style (CI mode)

npm

Command Description
npm run dev Vite dev server with HMR
npm run build Production asset build
npm run lint ESLint on resources/js
npm run lint:fix ESLint with auto-fix
npm run format Prettier check
npm run format:fix Prettier write

Adding a new page

  1. Create a React page, e.g. resources/js/pages/dashboard.jsx
  2. Register a route in routes/web.php:

  3. Use Wayfinder helpers (regenerated on build) for type-safe links from JSX

What you can build from this

This is intentionally minimal — a blank boilerplate, not a full auth dashboard or starter kit. That makes it a strong base for:

Use case How this boilerplate helps
SaaS dashboards Add auth (Fortify/Breeze), layouts, and Inertia pages on top of the existing middleware stack
Internal tools Laravel for data, permissions, and queues; React for interactive UI without a separate SPA repo
CRUD admin panels Models, migrations, controllers, and Inertia forms — Wayfinder keeps routes in sync
Marketing sites + app Blade or Inertia landing pages, shared Tailwind theme, dark mode already wired
API-backed products Start Inertia-first; add API routes later if mobile or third-party clients are needed
Learning Laravel + React Official Laravel docs apply; frontend examples use JSX instead of TSX

Typical next steps:


CI / quality

GitHub Actions run on pushes and pull requests to main, master, develop, and workos:

Run the same checks locally:

Or simulate CI with act:


Repository

https://github.com/ghostcompiler/laravel-react-jsx-boilerplate


License

MIT License



All versions of laravel-react-jsx-boilerplate with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
inertiajs/inertia-laravel Version ^3.0
laravel/framework Version ^13.7
laravel/tinker Version ^3.0
laravel/wayfinder Version ^0.1.14
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ghostcompiler/laravel-react-jsx-boilerplate contains the following files

Loading the files please wait ...