Download the PHP package rafwell/laravel-simplegrid without Composer

On this page you can find all versions of the php package rafwell/laravel-simplegrid. 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 laravel-simplegrid

About this project

rafwell/laravel-simplegrid is a component for build powerful grids, with less code. The component is ready to work with Bootstrap 3, have features to export to xls, csv and pdf, simple/advanced search, ordenation, actions inline or bulk.

Compatibility

rafwell/laravel-simplegrid is compatibly with Laravel 5.2+

Instalation

  1. Add the dependency to your composer.json or .
  2. Execute .
  3. Add to your our service provider:
  4. Execute
  5. Include in your html the js and css dependencies.

Dependencies

This package was written to work with bootstrap 3 and Jquery. We need the following dependencies:

Properly we added to our package those dependencies. You can add this from your , like that:

CSS Files

JS Files

An simple example

In your controller:

In your function:

In your view:

The result will be like this: Simple grid

A more complex example

Change the code of your controller to:

The result will be like this: Complex grid The advanced search allow you search field by field. The rendered is like this: Complex grid advanced search

Your model has relationships? Try it:

Mutators

All mutators get of the principal table will work normally when the renderer called. For personalize or trait an line before show, for make an visual concatenate or formatter, you can use the method:

In some case, some actions cannot be called. For example, if you cannot allow edit button if the status is equal 2:

Extra Configurations

After you publish the our service provider, will apear in your config folder a file named . In him, you can change the standard of date and datetime fields of advanced search, the initial value of 'showing x rows per page' and more!

Language

This package is multi-language. We use the location of you laravel instalattion, configured in your . If we have the translation this will be automatically loaded. You can see the currently supported languages in our lang folder.

Disclaimer

This repository is new, 'forked' from rafwell/laravel-grid. The original repository does not contemple multi-language features. It has been discontinued in favor of this.

Contribute

If you want contribute, you can open issues to discussion.

License

The MIT License (MIT). Please see License File for more information.

Breakingchanges log


All versions of laravel-simplegrid with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
box/spout Version ^3.3
tgalopin/html-sanitizer Version ^1.4
barryvdh/laravel-snappy Version ^1.0
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 rafwell/laravel-simplegrid contains the following files

Loading the files please wait ....