Resources are visualizations that can be attached to one or many report.
By default, Laracube resources are stored in the app/Laracube/Resources directory of your application.
All new resources should extend one of the base resource.
For example, If you create a table resource called NetRevenueByProduct, it will look something like this
<?php
namespace App\Laracube\Resources;
use Laracube\Laracube\Base\ResourceTable;
class NetRevenue extends ResourceTable
{
// ...
}Once you have defined a resource, you can then add them to the
resources method of a report.