legecha / laces
Opinionated enhancements to the official Laravel starter kit for Livewire.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.2
- laravel/framework: ^12.0
- laravel/tinker: ^2.10.1
- livewire/flux: ^2.1.1
- livewire/flux-pro: ^2.1
- livewire/volt: ^1.7.0
Requires (Dev)
- fakerphp/faker: ^1.23
- laravel/pail: ^1.2.2
- laravel/pint: ^1.18
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- pestphp/pest: ^3.8
- pestphp/pest-plugin-laravel: ^3.2
- tightenco/duster: ^3.2
README
An opinionated custom start kit for Laravel projects, building on the official Laravel starter kit with Livewire and Flux UI
This repository is an alternative starting point to the Laravel starter kit that uses Livewire with Flux UI. This is a great starting point, but I was bored of performing the same actions when starting new projects so decided to create this custom starter kit, and now offer it to anyone else who might find it useful.
The goal for this custom starter kit is to be an up-to-date version of the offical starter kit with the below enhancements.
Check out the To Do section to see my plans for this project, including automating the changes programatically instead of manually.
Features
- Uses Livewire with clases, not Volt
- Uses Pest for testing
- Removes GitHub workflows
- Adds
APP_TIMEZONE
to app config - Declare
strict_types
on all PHP files - Use
RefreshDatabase
trait for bothUnit
andFeature
tests- And create
unit
andfeature
testing groups respectively
- And create
- Installs Tighten Duster
- Adds
declare_strict_types
PHP CS Fixer Rule - Adds Composer
fix
andlint
commands to call Duster
- Adds
- Installs Prettier with Tailwind and Blade support
- Adds NPM
format
command to call prettier
- Adds NPM
- Adds Flux UI Pro
- Enforce better password defaults (minimum 10 chars, mixed case, symbols and numbers)
- Update all tests and user seeder to reflect this
- Update app layout to allow guests
- Remove Laravel welcome page and use app layout for homepage
Installation
Create a new project using this repos as your starter kit:
laravel new my-app --using=legecha/laces
Note: During install you'll be asked for your user/pass (email and key) for Flux UI Pro, which you can get from the Flux UI Dashboard.
To Do
- Create scripts to automate the conversion of a standard starter kit to a release candidate with all the features set up and ready to go.
Contribute
As I said, this is a fairly opinionated set of changes to an official starter kit, but (in my opinion :D) they are in alignment with cool and clever people who've contributed ideas and standards to Laravel in the past, that become popular official features. So with that in mind, I certainly welcome your opinion, ideas and pull requests!