channlabs/starter-kit

Laravel Inertia React Starter Kit by Chann Labs.

Maintainers

Package info

github.com/channlabs/channlabs-starter-kit

Language:TypeScript

Type:project

pkg:composer/channlabs/starter-kit

Statistics

Installs: 16

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.0.2 2026-01-21 18:20 UTC

This package is auto-updated.

Last update: 2026-02-23 14:28:33 UTC


README

โšก Chann Labs Starter Kit

Premium Laravel + React Starter Kit for Modern Web Applications

Laravel React TypeScript Tailwind CSS License

Build SaaS applications 10x faster with production-ready architecture

Features โ€ข Quick Start โ€ข Documentation โ€ข Tech Stack

๐ŸŽฏ Overview

Chann Labs Starter Kit is a production-ready Laravel + React boilerplate designed for developers who want to ship faster without compromising on code quality. Built with modern best practices, it includes everything you need to launch your next SaaS product.

โœจ What Makes It Special

  • ๐Ÿš€ Zero Configuration - Get started in minutes with automated setup
  • ๐ŸŽจ Premium UI - 50+ Shadcn UI components with dark mode support
  • ๐Ÿ” Authentication Ready - Complete auth system with Laravel Fortify
  • ๐Ÿ‘ฅ Multi-Tenancy - Built-in team management and organization support
  • ๐Ÿ“ฆ Type-Safe - Full TypeScript integration with Laravel Wayfinder
  • โšก Lightning Fast - Optimized with Vite and SSR support
  • ๐ŸŽญ Modern Stack - Laravel 12, React 19, Inertia.js, Tailwind CSS v4

๐Ÿš€ Features

๐Ÿ” Authentication & Authorization

  • Login, Register, Email Verification
  • Password Reset & Two-Factor Authentication (2FA) ready
  • Role-based access control
  • Session management

๐Ÿ‘ฅ Team Management

  • Multi-tenant architecture
  • Team creation and management
  • Member invitations
  • Role and permission system

๐ŸŽจ UI Components

  • 50+ pre-built Shadcn UI components
  • Dark mode support with system preference detection
  • Responsive design for all screen sizes
  • Hugeicons integration (3000+ icons)
  • Custom animations and transitions

๐Ÿ› ๏ธ Developer Experience

  • TypeScript configuration
  • ESLint & Prettier setup
  • Laravel Pint for PHP formatting
  • Hot Module Replacement (HMR)
  • SSR support with Inertia.js
  • Type-safe routing with Laravel Wayfinder

๐Ÿ“Š Additional Features

  • Database migrations and seeders
  • API routes and controllers
  • Queue system ready
  • Email notifications
  • File upload handling
  • Form validation

๐Ÿ“ฆ Tech Stack

Backend

Frontend

Build Tools

๐Ÿ Quick Start

Prerequisites

  • PHP 8.2 or higher
  • Composer
  • Node.js 18 or higher
  • MySQL/PostgreSQL/SQLite

Installation

  1. Clone the repository
git clone https://github.com/channlabs/channlabs-starter-kit.git
cd channlabs-starter-kit
  1. Run automated setup
composer setup

This will:

  • Install PHP dependencies
  • Copy .env.example to .env
  • Generate application key
  • Run database migrations
  • Install Node.js dependencies
  • Build frontend assets
  1. Start development server
composer dev

This runs:

Alternative: Manual Setup

# Install dependencies
composer install
npm install

# Environment setup
cp .env.example .env
php artisan key:generate

# Database setup
php artisan migrate

# Build assets
npm run build

# Start server
php artisan serve

๐ŸŽจ Development

Available Commands

Composer Scripts

composer setup      # Complete project setup
composer dev        # Start development servers
composer dev:ssr    # Start with SSR support
composer lint       # Format PHP code
composer test       # Run tests

NPM Scripts

npm run dev         # Start Vite dev server
npm run build       # Build for production
npm run build:ssr   # Build with SSR
npm run lint        # Lint and fix JS/TS
npm run format      # Format code with Prettier
npm run types       # Check TypeScript types

Project Structure

channlabs-starter-kit/
โ”œโ”€โ”€ app/                    # Laravel application
โ”‚   โ”œโ”€โ”€ Console/           # Artisan commands
โ”‚   โ”œโ”€โ”€ Http/              # Controllers, Middleware
โ”‚   โ””โ”€โ”€ Models/            # Eloquent models
โ”œโ”€โ”€ database/              # Migrations, Seeders
โ”œโ”€โ”€ resources/
โ”‚   โ”œโ”€โ”€ js/                # React application
โ”‚   โ”‚   โ”œโ”€โ”€ components/    # Reusable components
โ”‚   โ”‚   โ”œโ”€โ”€ layouts/       # Page layouts
โ”‚   โ”‚   โ”œโ”€โ”€ pages/         # Inertia pages
โ”‚   โ”‚   โ””โ”€โ”€ lib/           # Utilities
โ”‚   โ””โ”€โ”€ views/             # Blade templates
โ”œโ”€โ”€ routes/                # Route definitions
โ”‚   โ”œโ”€โ”€ web.php           # Web routes
โ”‚   โ””โ”€โ”€ api.php           # API routes
โ””โ”€โ”€ tests/                 # Test files

๐Ÿ“š Documentation

Key Concepts

Routing

Routes are defined in routes/web.php and automatically generate TypeScript types via Laravel Wayfinder:

Route::get('/dashboard', function () {
    return Inertia::render('dashboard');
})->name('dashboard');
import { dashboard } from '@/routes';

<Link href={dashboard()}>Dashboard</Link>;

Components

All UI components are located in resources/js/components/ui/ and follow Shadcn UI patterns:

import { Button } from '@/components/ui/button';

<Button variant="outline">Click me</Button>;

Layouts

Page layouts are in resources/js/layouts/:

  • app-layout.tsx - Authenticated app layout
  • auth-layout.tsx - Authentication pages layout

๐ŸŽจ Customization

Theming

Colors and design tokens are configured in tailwind.config.js. The starter kit uses CSS variables for theming:

@theme {
    --color-primary: oklch(0.6 0.2 250);
    --color-background: oklch(1 0 0);
}

Adding Components

Use Shadcn CLI to add new components:

npx shadcn@latest add [component-name]

๐Ÿงช Testing

# Run all tests
composer test

# Run PHP tests only
php artisan test

# Run with coverage
php artisan test --coverage

๐Ÿš€ Deployment

Build for Production

npm run build
composer install --optimize-autoloader --no-dev
php artisan config:cache
php artisan route:cache
php artisan view:cache

Environment Variables

Key environment variables to configure:

APP_NAME="Your App Name"
APP_ENV=production
APP_DEBUG=false
APP_URL=https://yourdomain.com

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_DATABASE=your_database
DB_USERNAME=your_username
DB_PASSWORD=your_password

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

๐Ÿ’ฌ Support

Built with โค๏ธ by Chann Labs

โญ Star us on GitHub โ€” it motivates us a lot!