In a database, and more specifically in a table, there are often two columns, created_at and updated_at. Eloquentize primarily uses these two pieces of information. If I have a table with clients, let's say:
| Name | Email | Created At | | --- | --- | --- | | Bob | bob@nowaythisdomainexist.com | Yesterday at 09h00 | | Emy | emy@testtest.com | Today at 10h12 |
Eloquentize will run every day at midnight and count based on created_at how many users were created that day.
In addition to counting the rows of a table, Eloquentize can also perform simple operations.
Let's imagine the invoice table:
| Reference | Customer | Amount | Created At | | --- | --- | --- | --- | | BILL_000001 | bob@nowaythisdomainexist.com | 127 € | Today at 10h12 | | BILL_000002 | emy@testtest.com | 548 € | Today at 11h10 |
Eloquentize is capable of providing two indicators from this table, the sum of the receipts of the day of 12/02/2024 and the average of the invoices of that day.
There are thousands of ways to know if an application is doing well or not. One certainty is that the number of users created, or the number of invoices issued or even the number of reports generated are reliable indicators to know over time if an application has a problem.
With eloquentize, you can keep an overview of multiple laravel applications. With the customizable dashboards, different users can have access to the data they need.