lightszentip / laravel-starter-base-app
A powerful starter kit for Laravel applications featuring Filament and Jetstream, designed for rapid development with the latest quality standards. Perfect for building scalable and maintainable Laravel apps with a modern tech stack including Livewire, PHPStan, and Pest.
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 1
Open Issues: 8
Type:project
Requires
- php: ^8.2
- graham-campbell/security: 11.2
- laravel/framework: ^11.21
- laravel/pennant: ^1.11
- laravel/tinker: ^2.9
Requires (Dev)
- fakerphp/faker: ^1.23
- larastan/larastan: ^2.9
- laravel/pint: ^1.17
- laravel/sail: ^1.31
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.4
- pestphp/pest: ^2.35
- phpat/phpat: ^0.10.18
- phpmd/phpmd: @stable
- psalm/plugin-laravel: ^v2.11.0
- psalm/plugin-mockery: ^1.1
- psalm/plugin-phpunit: ^0.19.0
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: 3.10.2
- vimeo/psalm: 5.25.0
- dev-main
- 1.0.1
- 1.0.0
- 1.0.0-RC1
- dev-jetstream
- dev-renovate/jetstream-patch-all-patch
- dev-renovate/jetstream-lock-file-maintenance
- dev-renovate/main-lock-file-maintenance
- dev-renovate/filamentphp-patch-all-patch
- dev-renovate/filamentphp-laravel-pennant-1.14.x-lockfile
- dev-renovate/filamentphp-laravel-framework-11.36.x-lockfile
- dev-renovate/jetstream-laravel-framework-11.36.x-lockfile
- dev-renovate/main-actions-upload-artifact-digest
- dev-renovate/jetstream-laravel-pennant-1.14.x-lockfile
- dev-filamentphp
- dev-renovate/filamentphp-major-3-devdependencies-(major)
- dev-renovate/jetstream-major-3-devdependencies-(major)
- dev-renovate/main-major-3-devdependencies-(major)
This package is auto-updated.
Last update: 2024-12-23 19:55:20 UTC
README
Introduction
Laravel Starter Base App Kit is a boilerplate for starting new Laravel projects with a pre-configured setup for code quality tools, environment configuration, and essential packages. This kit aims to streamline the development process by providing a solid foundation for building robust and maintainable Laravel applications.
Installation
To create a new project using this starter kit, run the following command:
default
composer create-project lightszentip/laravel-starter-base-app
jetstream
composer create-project lightszentip/laravel-starter-base-app:dev-jetstream
filamentphp
composer create-project lightszentip/laravel-starter-base-app:dev-filamentphp
Setup
After creating the project, navigate to the project directory and set up your environment:
cd laravel-starter-base-app
cp .env.example .env
Run the database migrations and seeders:
php artisan migrate php artisan db:seed
Features
- Pre-configured Code Quality Tools: Includes Pint, Larastan, PHPMD, PSALM, and PHPCodeSniffer.
- Environment Configuration: Easy setup for environment variables.
- Essential Packages: Pre-installed packages for security, static analysis, and more.
Code Quality Tools
This starter kit comes with several code quality tools pre-configured:
- Pint: Pint Workflow
- Larastan: Larastan Workflow
- PHPMD: PHPMD Workflow
- PSALM: PSALM Workflow
- PHPCodeSniffer: PHPCodeSniffer Workflow
Usage
Running Code Quality Tools
To run the code quality tools, use the following commands:
- Pint:
./vendor/bin/pint
- Larastan:
./vendor/bin/phpstan analyse
- PHPMD:
./vendor/bin/phpmd app text phpmd.ruleset.xml
- PSALM:
./vendor/bin/psalm
- PHPCodeSniffer:
./vendor/bin/phpcs
Environment Configuration
Configure your environment variables in the .env
file. Here are some key settings:
- APP_NAME: The name of your application.
- APP_ENV: The environment your application is running in (local, production, etc.).
- APP_KEY: The application key (use
php artisan key:generate
to generate one). - DB_CONNECTION: The database connection type (e.g., mysql).
- DB_HOST: The database host.
- DB_PORT: The database port.
- DB_DATABASE: The database name.
- DB_USERNAME: The database username.
- DB_PASSWORD: The database password.
Contributing
Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Support
For any issues or questions, please open an issue on the GitHub repository.