PHPackages                             liaosp/flexwire - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. liaosp/flexwire

ActiveLibrary

liaosp/flexwire
===============

build your app quickly

v0.2.9(5mo ago)120MITPHP

Since Aug 31Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/liaoshengping/flexwire)[ Packagist](https://packagist.org/packages/liaosp/flexwire)[ RSS](/packages/liaosp-flexwire/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (12)Used By (0)

 flexwire
==========

[](#-flexwire-)

 .

Installing
----------

[](#installing)

```
$ composer require liaosp/flexwire -vvv
```

Usage
-----

[](#usage)

```
php artisan vendor:publish --tag=flexwire-assets
php artisan vendor:publish --tag=flexwire-config
php artisan vendor:publish --tag=flexwire-app

```

Demo
====

[](#demo)

```
class FormController
{
    public function resetCode()
    {
        $content = Content::make()
            ->title('激活码')
            ->banner(['https://s21.ax1x.com/2024/12/31/pAz12M4.png'])
            ->block()
            ->add(new CodeValidateForm());
        return $content->render();
    }

    public function addTestIp()
    {
        $content = Content::make()
            ->title('添加测试IP')
            ->banner(['https://s21.ax1x.com/2024/12/31/pAz12M4.png'])
            ->block()
            ->add(new AddTestIp());
        return $content->render();
    }
}

```

Form Demo
=========

[](#form-demo)

```
