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

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

๐Ÿš€ Laravel Livewire Starter Kit

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

๐Ÿ“ฆ Bundled Packages

Beyond Laravel's default Livewire stack, this kit ships pre-configured with:

๐Ÿ“‹ 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 Livewire 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. Create .env.production file from .env.example (if not exists)
  4. Generate application key
  5. Run database migrations
  6. Install NPM dependencies
  7. 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.

๐ŸŒ Localization

The starter kit ships with English (en) and Czech (cs) translations. Translation files live in the lang/ directory:

Switch the active language by setting APP_LOCALE in your .env file:

To add another language, create a new lang/{locale}.json for UI strings and a matching lang/{locale}/ directory for the framework files.

๐Ÿ‘ค Creating Users

Users are created from the CLI:

The command prompts for name, email and password (with confirmation). Created users have their email already verified.

๐Ÿ”‘ Enable / Disable Two-Factor Authentication

Two-factor authentication is controlled by a single switch via the FORTIFY_2FA_ENABLED env variable:

When set to false:

The TwoFactorAuthenticatable trait stays on the User model. It is inert without the feature registered, and removing it would break factories that fill 2FA columns. Tests always run with 2FA enabled regardless of .env (forced via phpunit.xml), so the 100% coverage gate is not affected by toggling this flag locally.

๐Ÿ’พ Database Backups

The starter kit ships with marekmiklusek/database-backup for automated MySQL backups. The config is already published to config/database-backup.php, so no vendor:publish is needed.

Backups are stored locally on the local disk in storage/app/private/database-backups, and old backups are cleaned up automatically after 14 days.

A daily backup is already scheduled in routes/console.php:

Run it manually at any time:

Adjust the disk, directory, filename pattern, retention period, and mail notifications in config/database-backup.php. To back up to Google Drive instead of (or alongside) local storage, add a google disk to config/filesystems.php and set storage.disk. See the package README for the full Google Drive setup guide.

๐Ÿ“ข Telegram Error Logging

The starter kit ships with marekmiklusek/telegram-logger, which forwards Laravel log messages and exceptions to a Telegram chat in real time. The config is already published to config/telegram-logger.php.

Add your bot credentials to .env (the keys are already present in .env.example):

No logging channel setup is required. The package hooks into Laravel's log events automatically, so ordinary Log::error() calls and unhandled exceptions are delivered:

By default only error and above are sent. Change the threshold or enable silent notifications in config/telegram-logger.php:

[!TIP] The logger stays idle unless it is enabled and both credentials are set, so leaving TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID empty in local development sends nothing. Use TELEGRAM_LOGGER_ENABLED=false to switch it off per environment without clearing the credentials.

๐Ÿš€ Production Environment

The setup script automatically creates a .env.production file. Configure it with production-specific settings:

Configure production environment variables:

๐Ÿ’ป Development

๐Ÿ–ฅ๏ธ Running the Development Server

Start all development services concurrently:

This starts:

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

๐Ÿ” 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/:

๐Ÿงช Testing Livewire Components

Test your Livewire components with Pest's built-in Livewire testing:

๐Ÿ“œ 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-livewire with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
laravel/ai Version ^1.4.0
laravel/fortify Version ^1.42.0
laravel/framework Version ^13.42.0
laravel/tinker Version ^3.1.0
livewire/flux Version ^2.21.0
livewire/volt Version ^1.11.2
marekmiklusek/database-backup Version ^3.0.0
marekmiklusek/laravel-slack-errors Version ^2.0
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-livewire contains the following files

Loading the files please wait ...