Download the PHP
package pjeutr/laravelvisjs without Composer
On this page you can find all versions of the php package
pjeutr/laravelvisjs. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor pjeutr Package laravelvisjs Short Description Simple package to facilitate and automate the use of charts in Laravel 5.x using Visjs library License
MIT
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.
And add the Service Provider in your file config/app.php:
Finaly, for now, you must install and add to your layouts / templates the Visjs library that can be easily
found for download at: http://visjs.org/. This setting will also be improved.
Usage:
You can request to Service Container the service responsible for building the charts
and passing through fluent interface the chart settings.
For now the builder needs the name of the chart, the type of chart that can be anything that is supported by visjs and the other custom configurations like, datasets, size and options.
In the dataset interface you can pass any configuration and option to your chart.
All options available in visjs documentation are supported.
Just write the configuration with php array notations and its work!
Advanced visjs options
Since the current version allows it to add simple json string based options, it is not possible to generate options like:
Using the method optionsRaw(string) its possible to add a the options in raw format:
Examples
1 - Network Chart:
OBS:
This README as well as the package is in development but will be constantly updated and will keep you informed as soon as
are ready for production. Thank you for understanding.
Any questions or suggestions preferably open a issue!
License
LaravelVisJs is open-sourced software licensed under the MIT license.
Requiresphp Version
>=5.6.4 illuminate/support Version
5.1.* || 5.2.* || 5.3.* || 5.4.*
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 pjeutr/laravelvisjs contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.