You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+17-39Lines changed: 17 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,24 +11,22 @@ Leaf UI is a PHP library for building user interfaces.
11
11
12
12
Leaf UI doesn't need a new compiler or any extensive compiling, it's just the same old PHP you write everyday; as such, you can build full scalable Leaf UI powered apps or just sprinkle Leaf UI into your existing HTML/PHP code.
13
13
14
-
v0.2.0 of Leaf UI is currently in development. It's a complete rewrite of the library and will be released soon. It comes with a lot of new features and a new API. Leaf UI v0.2.0 will allow you to build full scalable Leaf UI powered apps, write reactive UIs all in PHP. You can think of it as a PHP version of React.
14
+
v0.2.0 of Leaf UI is currently in development, it is a complete rewrite of the library that comes with a lot of new features and a new API. Leaf UI v0.2.0 will allow you to build full scalable Leaf UI powered apps, write reactive UIs all in PHP. You can think of it as a PHP version of React.
15
15
16
16
## Installing Leaf UI
17
17
18
-
Like most PHP libraries, we recommend installing Leaf UI with [composer](//getcomposer.org). Just open up your console and type:
18
+
Like most PHP libraries, we recommend installing Leaf UI with the [Leaf CLI](https://cli.leafphp.dev):
19
19
20
20
```bash
21
-
composer require leafs/ui
21
+
leaf install ui@dev-next
22
22
```
23
23
24
-
Or install the next version of Leaf UI:
24
+
Or with [composer](//getcomposer.org). Just open up your console and type:
25
25
26
26
```bash
27
-
composer require leafs/ui@dev-next
27
+
composer require leafs/ui:dev-next
28
28
```
29
29
30
-
This will install Leaf UI into your application. You don't have to worry about bloating your application: Leaf UI has no external dependencies.
31
-
32
30
After this, you can use all of Leaf UI's methods and components.
33
31
34
32
View the [documentation here](https://staging.ui.leafphp.dev/)
The most beautiful part about all this is that it can run outside Leaf. It is completely independent of Leaf and can be used in any PHP application.
89
+
The most beautiful part about all this is that it can run outside Leaf. It is completely independent of Leaf or any other framework and can be used in any PHP application.
89
90
90
91
_This file is still being updated!_
91
92
@@ -107,33 +108,10 @@ We are glad to have you. All contributions are welcome! To get started, familiar
107
108
108
109
To report a security vulnerability, you can reach out to [@mychidarko](https://twitter.com/mychidarko) or [@leafphp](https://twitter.com/leafphp) on twitter. We will coordinate the fix and eventually commit the solution in this project.
Your cash contributions go a long way to help us make Leaf even better for you. You can sponsor Leaf and any of our packages on [open collective](https://opencollective.com/leaf) or check the [contribution page](https://leafphp.dev/support/) for a list of ways to contribute.
129
114
130
115
And to all our existing cash/code contributors, we love you all ❤️
131
116
132
117
View the [sponsors](https://leafphp.dev/support/) page to see all our sponsors.
0 commit comments