laravel-queueable-action
laravel-actions
Our great sponsors
laravel-queueable-action | laravel-actions | |
---|---|---|
2 | 17 | |
615 | 2,329 | |
1.5% | - | |
3.8 | 5.2 | |
2 months ago | about 2 months ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-queueable-action
-
Actions vs Jobs
These: https://github.com/spatie/laravel-queueable-action
-
Refactoring #2: From controllers to actions
As an extra, one could also work with Spatie's Actions package to make them queueable, or even the full-fledged Laravel Actions package. We kept it simple for now using Plain Old Objects in PHP (POOP).
laravel-actions
-
Laravel Ecommerce Tutorial: Part 7, Product Options
Let's install laravel actions package to help us with crafting actions that we can use anywhere
-
What's the best approach for refactoring my controller into action classes?
First, this is an excellent question. But to answer it, we need to define some terms. Do you mean "action" as in ADR, where the action class is what would have been a controller action method (aka "single-action controller")? Or do you mean "action" as the Laravel folks often use it, a la https://laravelactions.com/ ?
-
Practical Guide: How to Build a Web Scraper with Laravel Actions
I could have accomplished the same result with a simple command. But as I mentioned: "For this project, I decided to experiment with Laravel Actions. It is not required but seems like the right tool for the job.". There is definitely more value in the concept than explained in my brief example.
-
Any tutorial out there on converting a monolith Laravel App to a micro APIs service provider?
Good package for making Actions: https://github.com/lorisleiva/laravel-actions
-
Refactoring to Batched Jobs from Actions - CLI-Driven Development for Large Jobs
https://laravelactions.com/ https://laravel.com/docs/9.x/queues#adding-jobs-to-batches
-
Best boilerplate for Laravel?
As mentioned before, Jetstream has the concept of Actions. This is a "pattern" that has emerged in the Laravel community in the last few years. There is also a nice package to make working with Actions easier: Laravel Actions
-
Registration Form with Multiple Models and Form Request Validation [Question]
I would look into using Laravel Actions, designed to do this.
-
Is Repository Design Patterns Worth it ??
If you have complex business logic or queries that are either too fat for controllers or, especially, you want to re-use in various parts of your app, there are other ways to abstract them. I recently started using Laravel Actions for this, and I love it. You can also use service or utility classes, but I like actions because they help my team keep to the single responsibility principle and write small, refactorable (the real key to good, lasting code) units. The package is also cool because you can use single actions to run the same logic as a controller, a job, a command, etc.
-
Splitting code in MVC pattern
I use plain PHP classes, but there is also a well made package out there, which allows you to queue Actions as well. https://laravelactions.com/
-
Refactoring #2: From controllers to actions
As an extra, one could also work with Spatie's Actions package to make them queueable, or even the full-fledged Laravel Actions package. We kept it simple for now using Plain Old Objects in PHP (POOP).
What are some alternatives?
laravel-workflow - Durable workflow engine that allows users to track job status, orchestrate microservices and write long running persistent distributed workflows in PHP powered by Laravel Queues. Inspired by Temporal and Azure Durable Functions.
daybreak - Simple timesheets and vacation management for small businesses.
openlittermap-web - https://opengeospatialdata.springeropen.com/articles/10.1186/s40965-018-0050-y
pipeline - Supercharged Pipelines for Laravel.
fortify - Backend controllers and scaffolding for Laravel authentication.
mvea - MVEA Architectural Pattern : Model View Endpoint Action
react-native - A framework for building native applications using React
lasso-ci-cd - Laravel CI/CD pipeline using Lasso and GitHub Actions.
adr - Action-Domain-Responder: a web-specific alternative to Model-View-Controller.
importDevTo - GitHub Action to import markdown posts from a Dev.to user
php-hook - PHP library for hook management