Download the PHP package mikelmi/mks-smart-table without Composer

On this page you can find all versions of the php package mikelmi/mks-smart-table. 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 mks-smart-table

Server side processing for angular-smart-table for Laravel 5

This package provides services for server-side processing data for angular-smart-table

Installation

  1. Install via composer

  2. Add the service provider in config/app.php, to providers:

  3. Publish assets

Usage

Server side

Create route for handling smart-table-request.

Inside the route:

  1. Create data source. It can be Query Builder (Eloquent/Database) or Collection

  2. Create SmartTable Engine instance

  3. Apply request

  4. Return the response

Client side

  1. Include javascript file. This package ships with three js files:

    • mks-smart-table.js - contains only base functionality, without any libraries
    • mks-smart-table-st.js - includes angular-smart-table
    • mks-smart-table-full.js - includes all required dependencies (angular 1.x and angular-smart-table)

    E.g. (in your template):

  2. Add mks-smart-table dependency to your angular application. E.g.:

  3. Init controller TableCtrl

  4. Output the table

  5. Advanced features:

    • Global search

      You can add some input outside the table for filtering the results

      And then add mst-watch-query directive to the table head

    • Select rows

    • 'Select All' checkbox

    • TableCtrl functions
      • removeLocalRow(row) - remove row without server-side action
      • removeRow(row, url, confirmText) - remove row after server-side action by url
      • removeSelected(url, confirmText) - remove selected rows after server-side action by url
      • getSelected() - get selected rows
      • updateRow(row, url, confirmText) - post row by url and update it with returned data
      • updateSelected(url, confirmText) - same as updateRow but works with array of selected rows

Additional Info

There is no styles for the tables in this package. You can Twitter Bootstrap for styling it.

Here https://github.com/mikelmi/mks-smart-table/tree/master/example you can check the example of usage this package.

For more information about client-side implementation please visit the angular-smart-table site - https://lorenzofox3.github.io/smart-table-website/


All versions of mks-smart-table with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
illuminate/support Version >=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 mikelmi/mks-smart-table contains the following files

Loading the files please wait ....