Download the PHP package kakaprodo/system-analytic without Composer

On this page you can find all versions of the php package kakaprodo/system-analytic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package system-analytic

system-analytic

A laravel package that simplifies the implementation of the analytics of your system based on the data in your DB

1. Prerequisites

2. Installation

3. Publishing Skeleton

After running the above command, a new folder will be created in your app/Http folder(by default) and in the app/Http/Requests folder. in the next section you are going to discover the magic that will be happening in these files. Put your shoes on πŸ€ͺ

4. Your First Analytic class(handler)

1. Create a handler

To generate the analytic class, you will need to run the bellow command:

A bellow handler will be created, now let's explain this:

As you can see,we have three magic methods and very important to understand:

2. Define Basic query In the Handler

Now we have our handler, let's give it a sens, so that it can return the block chart data of new users of the system

Now we have our handler that returns number of the new users at each date. Note that you can make any logic of your choice to your query and that will work.

3. Register the handler class

Now you have your handler ready to be used. To register your handler you need to open the AnalyticHandlerRegister class and register it under the handlers method. you will see this class in the analytic skeleton folder that we have created early in this doc.

You can see, we have used NewUserBarChart::type() , the type method will automatically return the kebak case of the name of your handler class. so if you think you will have multiple handlers with the same names, then you can specify your own names at the place of NewUserBarChart::type().

3. Using the handler class

Now to call the handler , we will be using the class AnalyticGate and the registered name of your handler. Note that, the AnalyticGate is the gate to all registered handlers.

VERY SIMPLE RIGHT ???πŸ€ͺπŸ€ͺπŸ€ͺπŸ€ͺπŸ€ͺπŸ€ͺπŸ€ͺ!!!

Now from the above code, we have used only two options among the list of options supported by the AnalyticGate class. here other options you can use

Now i know, you are asking yourself why this dude didn't finish the documentation. 😜Man, i can not put everything here but trust me, i'm working on the full documentation and you will be the first to know about it once i finish. now high five πŸ–βœ‹πŸΎ.


All versions of system-analytic with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
laravel/framework Version >=8.0
kakaprodo/custom-data Version >=1.9.5 || dev-develop
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kakaprodo/system-analytic contains the following files

Loading the files please wait ....