定制 tooinfinity/flextra 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tooinfinity/flextra

最新稳定版本:1.4.2

Composer 安装命令:

composer require tooinfinity/flextra

包简介

Minimal Laravel Authentication with Inertia, React, Vue, Svelte, and nWidart Laravel Modules

README 文档

README

Laravel Authentication Breeze support with nWidart Laravel Modules with Frontend Frameworks (React, Vue, Svelte, Blade,API) and Tailwind CSS.

Project that inspired and used to build this package

Latest Version on Packagist Total Downloads GitHub Actions Software License

Flextra is a versatile Laravel package designed to simplify authentication scaffolding. It seamlessly integrates InertiaJS (React, Vue, Svelte), Blade, nWidart Laravel Modules, and Tailwind CSS, enabling you to build modular, scalable, and modern web applications effortlessly.

The name Flextra combines "Flex" (flexibility) and "Extra" (enhanced features), embodying the package's mission to deliver flexible and robust solutions for Laravel development.

Features

  • Authentication Scaffolding: Provides a lightweight and modular authentication system for Laravel projects.
  • InertiaJS Integration: Supports frontends built with React, Vue, and Svelte via InertiaJS.
  • Blade Support: Offers traditional Blade views for projects that do not require frontend frameworks.
  • nWidart Laravel Modules: Leverages modular architecture to enable scalable and maintainable applications.
  • Tailwind CSS: Styled with modern and responsive design principles using Tailwind.

Installation

Install the package using Composer :

composer require tooinfinity/flextra

Usage

this Package is installed and setup laravel modules and breeze authentication with stack you prefer and Tailwind CSS automatically. by default the name of the module is Auth but you can change it by passing the name of the module as an options like this.

php artisan flextra:install [stack] --module=Authentications [--other-options]

Supported stacks: react, vue, svelte, blade and api

Options: --typescript, --ssr, --pest

php artisan flextra:install [stack] --options

Example

React Stack

php artisan flextra:install react

Vue Stack with options

php artisan flextra:install vue --typescript --ssr --pest
php artisan flextra:install vue --module=Authentications  --typescript --ssr --pest

Testing is not implement yet

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 46
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-13