Download the PHP package marekmiklusek/laravel-starter-kit-react without Composer

On this page you can find all versions of the php package marekmiklusek/laravel-starter-kit-react. 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-starter-kit-react

๐Ÿš€ Laravel React Starter Kit

Laravel's official React starter kit enhanced with development workflow tools, code quality standards, and additional developer experience improvements from laravel-starter-kit. โœจ

Built with Inertia.js, React, Tailwind CSS, and Laravel Wayfinder.

๐Ÿ“‹ Requirements

๐Ÿš€ Quick Start

[!NOTE]

  • In config/database.php, 'engine' => 'InnoDB', is used as the default for both mysql and mariadb connections.
  • In config/essentials.php, models are unguarded by default via Unguard::class => true. This allows mass assignment without explicitly defining $fillable properties. You can change this setting if you prefer to use guarded models.

๐Ÿ“ฆ Installation

Create a new Laravel React project:

Run the automated setup script:

This command will:

  1. Install PHP dependencies via Composer
  2. Create .env file from .env.example (if not exists)
  3. Generate application key
  4. Run database migrations
  5. Install NPM dependencies
  6. Build frontend assets

โš™๏ธ Additional Setup

๐Ÿ”ง Environment Configuration

After running composer setup, configure your .env file with your database credentials:

๐ŸŒ Browser Testing Setup (Optional)

If you plan to use Pest's browser testing capabilities, install Playwright:

This installs the necessary browser binaries for running browser tests.

๐Ÿ’ป Development

๐Ÿ–ฅ๏ธ Running the Development Server

Start all development services concurrently:

This starts:

Your application will be available at http://localhost:8000 ๐ŸŽ‰

SSR Mode

To run with server-side rendering:

๐Ÿ” Authentication

Enable / Disable Registration

User self-registration is controlled by a single switch via the FORTIFY_REGISTRATION_ENABLED env variable:

When set to false:

The flag is also exposed as config()->boolean('fortify.registration_enabled') if you need to read it elsewhere in the application.

๐ŸŒ Localization

The starter kit ships with full multilingual support. English (en) and Czech (cs) are included out of the box, and every user-facing string in the React frontend goes through the translator.

๐Ÿ”ง Switching the Locale

Set the locale in your .env file:

After saving, the entire UI โ€” auth pages, settings, dashboard, navigation, validation messages โ€” renders in the selected language. No build step is needed for translation changes; the JSON dictionary is loaded server-side per request.

๐Ÿ“ Language Files

*.json holds the application-level strings keyed by their English source text (Laravel's idiomatic JSON translation format). The PHP files cover Laravel's framework-level messages.

โš›๏ธ Using Translations in React

The current locale and translations dictionary are shared as Inertia props by HandleInertiaRequests. Use the useTranslations hook in any component:

The hook also supports :placeholder interpolation:

โž• Adding a New Language

  1. Create lang/{locale}.json with the same keys as lang/en.json.
  2. Create lang/{locale}/ and translate auth.php, pagination.php, passwords.php, validation.php.
  3. Set APP_LOCALE={locale} in .env.

๐Ÿ” Code Quality

๐Ÿงน Linting & Formatting

Fix code style issues:

This runs:

๐Ÿงช Testing

Run the full test suite:

This includes:

๐ŸŒ Browser Testing

This starter kit includes Pest 4 with browser testing capabilities. Create browser tests in tests/Browser/:

๐Ÿ“œ Available Scripts

๐ŸŽผ Composer Scripts

๐Ÿ“ฆ NPM Scripts

๐Ÿ“„ License

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


All versions of laravel-starter-kit-react with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
inertiajs/inertia-laravel Version ^3.1.0
laravel/fortify Version ^1.37.2
laravel/framework Version ^13.17
laravel/tinker Version ^3.0.2
laravel/wayfinder Version ^0.1.20
nunomaduro/essentials Version ^1.2.0
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 marekmiklusek/laravel-starter-kit-react contains the following files

Loading the files please wait ...