cierrateam / alphy
Another awesome laravel package
v0.1.1
2021-01-06 03:55 UTC
Requires
- php: >=7.2
- illuminate/support: 7.*|8.*
Requires (Dev)
- laravel/framework: ^7.0|8.*
- mockery/mockery: ^1.3.1
- orchestra/testbench: ^5.3
- phpunit/phpunit: ^9.0
- psy/psysh: @stable
This package is auto-updated.
Last update: 2025-01-10 23:55:51 UTC
README
A tiny wrapper around alpine for laravel which is made for easier usage of components.
Installation
composer require cierrateam/alphy
Usage
Instead of
<div x-data="fooBar()"> <span x-text="foo" /> </div> <script> function fooBar() { return { foo: "bar", } } </script>
You can just use
<a-fooBar> <span x-text="foo" /> </a-fooBar> <script> function fooBar() { return { foo: "bar", } } </script>
Plans
We're planning to extend this shorthands by time. It's just a small start for something big. So stay tuned 🚀