|
1 |
| - |
| 1 | + |
2 | 2 | # Laravel One-Time Operations
|
3 | 3 |
|
4 |
| -Run an operation once after each deployment - just like you do it with migrations! |
| 4 | +Run operations once after deployment - just like you do it with migrations! |
| 5 | + |
| 6 | +----- |
| 7 | + |
| 8 | +**Take your CI/CD to the next Level with Laravel One-Time Operations**! 🚀 |
| 9 | + |
| 10 | +Create specific classes for a one-time usage, that can be executed automatically after each deployment. |
| 11 | +Same as migrations they get processed once and then never again. Perfect for seeding or updating some data instantly after |
| 12 | +some database changes or feature updates. |
5 | 13 |
|
6 | 14 | This package is for you if...
|
7 | 15 |
|
8 |
| -- you often create jobs to use just one single time **after a deployment** |
9 |
| -- you sometimes **forgot to execute** that one specific job and stuff got crazy |
| 16 | +- you regularly need to **update specific data** after you deployed new code |
| 17 | +- you often execute jobs just **only one single time** after a deployment |
| 18 | +- you sometimes **forget to execute** that one specific job and stuff gets crazy |
10 | 19 | - your code gets **cluttered with jobs**, that are not being used anymore
|
| 20 | +- your co-workers always need to be reminded to **execute that one job** after some database changes |
11 | 21 | - you often seed or process data **in a migration file** (which is a big no-no!)
|
12 | 22 |
|
13 |
| -And the best thing: It works as easy as **Laravel migrations**! |
14 | 23 |
|
15 | 24 | ## Installation
|
16 | 25 |
|
@@ -56,7 +65,7 @@ php artisan operations:show pending processed disposed // use multiple filters
|
56 | 65 |
|
57 | 66 | ## Tutorials
|
58 | 67 |
|
59 |
| -### Deployment-Process |
| 68 | +### CI/CD & Deployment-Process |
60 | 69 |
|
61 | 70 | The *One-Time Operations* work exactly like [Laravel Migrations](https://laravel.com/docs/9.x/migrations).
|
62 | 71 | Just process the operations *after your code was deployed and the migrations were migrated*.
|
@@ -234,7 +243,7 @@ composer test
|
234 | 243 |
|
235 | 244 | ## License
|
236 | 245 |
|
237 |
| -Copyright © Timo Körber |
| 246 | +Copyright © Timo Körber | [www.timokoerber.com](https://www.timokoerber.com) |
238 | 247 |
|
239 |
| -Laravel JSON Seeder is open-sourced software licensed under the [MIT license](LICENSE). |
| 248 | +Laravel One-Time Operations is open-sourced software licensed under the [MIT license](LICENSE). |
240 | 249 |
|
0 commit comments