evo-mark/inertia-11-template

The skeleton application for the Laravel framework.

dev-main 2024-03-24 12:56 UTC

This package is auto-updated.

Last update: 2024-10-24 14:33:18 UTC


README

Laravel 11 Application Template

Introduction

This template installs a barebones Laravel 11 installation with the following features:

General

  • InertiaJS / Vue3 framework

Backend

  • Basic auth controllers for login, forgot password, verify email and reset password
  • Command for make:service which creates and binds a service with a backing facade
  • Prebuilt services for flash messages, icon paths and page metadata included
  • Error handling with frontend page for Inertia errors

Frontend

  • Tailwind and sensible presets
  • InertiaRoutes plugin
  • InertiaI18n plugin for using your localisation strings inside Vue
  • Vue3AutoViteComponents plugin which automatically imports components from components/sync and components/async directories.
  • Global Vue component for SvgIcon which registers vue3-icon
  • UnpluginAutoImports will auto-import from vue, @inertiajs/vue3, vue-i18n, inertiaRoutes and both composables and helpers directories.
  • Simple Header, Footer and DefaultLayout application structure.

Development

  • Laravel pint configured for use via composer pint.
  • ESLint and Prettier for code-presentation enforcement
  • Merge support for composer.local.json file

Installation

composer create-project -s dev evo-mark/inertia-11-template example-app

Then inside your created application folder:

  • Setup database and .env file.
  • composer update
  • pnpm install
  • npm run dev