https://github.com/renatoxm/laravel-starter
Laravel 11 Starter Project
https://github.com/renatoxm/laravel-starter
docker eslint github-workflows larastan laravel laravel-pint laravel11 lintstaged prettier pretty-quick sail vscode
Last synced: about 2 months ago
JSON representation
Laravel 11 Starter Project
- Host: GitHub
- URL: https://github.com/renatoxm/laravel-starter
- Owner: renatoxm
- License: mit
- Created: 2024-03-18T12:54:27.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-19T21:33:32.000Z (about 2 years ago)
- Last Synced: 2025-03-12T00:30:09.789Z (about 1 year ago)
- Topics: docker, eslint, github-workflows, larastan, laravel, laravel-pint, laravel11, lintstaged, prettier, pretty-quick, sail, vscode
- Language: PHP
- Homepage:
- Size: 259 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel 11 Starter Project
Laravel 11 Starter project
## Stack
[](https://laravel.com/docs/11.x)
[](https://www.mysql.com/)
[](https://vitejs.dev/)
[](https://www.docker.com/)
## Features
- [x] 📏 [ESLint — To find and fix problems in your code](https://eslint.org/)
- [x] 💖 [Prettier — Code Formatter for consistent style](https://prettier.io/)
- [x] 🐶 [Husky — For running scripts before committing](https://typicode.github.io/husky/)
- [x] 🚓 [Commitlint — To make sure your commit messages follow the convention](https://commitlint.js.org/)
- [x] 🚫 [lint-staged — Run ESLint and Prettier against staged Git files](https://github.com/lint-staged/lint-staged)
- [x] 🗲 [Pretty-quick - Runs prettier on git changed files](https://github.com/prettier/pretty-quick)
- [x] 🔍 [Laravel IDE Helper - Generates helper files that enable your IDE to provide accurate autocompletion](https://github.com/barryvdh/laravel-ide-helper)
- [x] 🍺 [Laravel Pint - An opinionated PHP code style fixer for minimalists](https://laravel.com/docs/11.x/pint)
- [x] ⚗️ [PHP Stan and Larastan - finding errors in your php code](https://github.com/larastan/larastan)
- [x] 😸 Github CI/CD workflow - Enforcing code formatting on pull requests
- [x] 🤖 [Dependabot - automating the dependency update process](https://docs.github.com/en/code-security/getting-started/dependabot-quickstart-guide)
- [x] ⌨️ .vscode settings - Auto formating options
## Instalation
- Clone the repo
- Run composer install & npm install commands
- Run migrations
```sh
composer i
npm i
artisan migrate
```
## Commands
- [Laravel IDE Helper](#laravel-ide-helper)
- [Commitzen](#commitzen)
- [PHP Stan](#php-stan)
- [Laravel Pint](#laravel-pint)
### Laravel IDE Helper
Re-generate the docs yourself
```sh
sail artisan ide-helper:generate
```
Automatic PHPDocs for models
```sh
sail artisan ide-helper:models
```
### Commitzen
Using commitzen instead of git commit -m "something"
```sh
git cz
```
### PHP Stan
Run PHP Stan
```sh
composer analyse
```
### Laravel Pint
Format Laravel code
```sh
composer format
```
## License
This project is licensed under the MIT license, Copyright (c) 2023 Renato Nabinger. For more information see the [LICENSE](LICENSE.md) file.