foundationapp/power-ups 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

foundationapp/power-ups

Composer 安装命令:

composer require foundationapp/power-ups

包简介

This is the power-ups package.

README 文档

README

Power-Ups allow developers to create re-usable TALL Stack components for Laravel applications.

Power-Ups Image

Latest Version on Packagist Total Downloads

Similar to how 🍄 Power-Ups help Mario complete a level, this package helps developers save time by providing a clear list of available Tall Stack Components to choose from. Now, developers can build 🍄 Power-ups and easily re-use them in any another application.

Installation

You can install the package via composer:

composer require foundationapp/power-ups

After including the package, you can install any Power-Up by running:

php artisan powerup:install vendor/repo

If we wanted to install the https://github.com/foundationapp/hello-world example, we would run:

php artisan powerup:install foundationapp/hello-world

You can install any power-up by passing the vendor/repo to the install command.

Usage

After installing a power-up, you can enable it with:

php artisan powerup:enable name-of-component

and use it on any page:

<livewire:powerup.name-of-component />

You can see a list out all the installed Power-Ups by running the following command:

php artisan powerup:list

If you wish to disable or remove the Power-up, you may run the following commands accordingly:

php artisan powerup:disable name-of-component
php artisan powerup:remove name-of-component

Available Power-Ups

Here are a list of a some available Power-Ups you can use, or you can create your own.

  • 👋 Hello World - Example power-up for learning purposes
  • 📸 Media Selector - Add an Emoji, Icon, or Image using the MediaSelector

Create Your Own Power-Ups

If you wish to create your own Power-Up, you can easily copy the HelloWorld example and create your own. This will allow you to convert any existing Livewire component and turn it into your own Power-Up that can be used across all your apps.

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email tony@devdojo.com instead of using the issue tracker.

Credits

License

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

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-22