Download the PHP package lumosolutions/actionable without Composer
On this page you can find all versions of the php package lumosolutions/actionable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lumosolutions/actionable
More information about lumosolutions/actionable
Files in lumosolutions/actionable
Package actionable
Short Description Provides a clean, elegant way to create dispatchable and runnable actions in Laravel with built-in array conversion capabilities
License MIT
Homepage https://github.com/lumosolutions/actionable
Informations about the package actionable
⚡ Actionable
Transform your Laravel code into clean, testable, and reusable actions. Say goodbye to bloated controllers and hello to elegantly organized business logic!
💡 Why Actionable?
Ever found yourself writing the same business logic patterns over and over? Controllers getting too fat? Service classes becoming a mess? Actionable is here to save the day!
🎯 Key Features
🏃♂️ Runnable Actions
Execute business logic with a single, expressive call. No more hunting through service classes!
📬 Dispatchable Actions
Seamlessly queue your actions for background processing. It's as easy as changing run()
to dispatch()
!
🔄 Smart Array Conversion
Convert between arrays and objects effortlessly with our powerful attribute system. Perfect for APIs!
🛠️ Artisan Generators
Scaffold Actions and DTOs in seconds with our intuitive Artisan commands.
🎨 Flexible Attributes
Fine-tune serialization behavior with elegant attributes like #[FieldName]
, #[DateFormat]
, and more!
📦 Installation
That's it! No configuration needed. Start writing better code immediately.
🚀 Quick Start
Your First Action in 30 Seconds
1️⃣ Generate an action:
2️⃣ Define your logic:
3️⃣ Use it anywhere:
That's it! Clean, testable, reusable. 🎉
📚 Documentation
⚡ Actions
Actions are the heart of your application's business logic. They're single-purpose classes that do one thing and do it well.
Basic Actions
Queueable Actions
Need background processing? Just add a trait!
🗄️ Data Transfer Objects (DTOs)
DTOs with superpowers! Convert between arrays and objects seamlessly.
🏷️ Powerful Attributes
#[FieldName]
- API-Friendly Naming
#[DateFormat]
- Date Formatting Made Easy
#[ArrayOf]
- Handle Nested Objects
#[Ignore]
- Keep Secrets Secret
🛠️ Artisan Commands
Generate boilerplate with style:
🌟 Real-World Examples
E-commerce Order Processing
User Registration Flow
🤲 Contributing
We love contributions! Whether it's a bug fix, new feature, or improvement to our docs - we appreciate it all. Please feel free to submit a pull request or open an issue.
📄 License
Actionable is open-sourced software licensed under the MIT license.
💬 Support & Community
- 🐛 Found a bug? Open an issue
- 💡 Have an idea? Start a discussion
- 🔒 Security concern? Email me at [email protected]