Download the PHP package flatorb/moldssp without Composer

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

MoLDSSP - MongoDB Laravel Datatables SSP

[Travis]() Total Downloads

This package library makes it easier to use Laravel server side pagination functionality with MongoDB and Datatables (datatables.net).

Install

composer require flatorb/moldssp

Usage

DataTables.net plugin

Add the datatables.net javascript library to your application either using CDN.

View

On your blade (view) file establish the table with the following base structure.

<table class="table" id="postsTable">
    <thead>
        <tr>
            <th class="text-center">ID</th>
            <th class="text-center">Title</th>
            <th class="text-center">Author</th>
            <th class="text-center">Date</th>
            <th class="text-center">Status</th>
        </tr>
    </thead>
    <tbody></tbody>
</table>

And within your script tags of the page:

<script type="text/javascript">
    $(document).ready(function () {
        $.ajaxSetup({
            headers: {
                'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
            }
        });

        $('#postsTable').DataTable({
            serverSide: true,
            ajax: {
                url: '/api/posts',
                data: function(d) {
                    d.page = (d.start/d.length) + 1;
                },
                dataFilter: function(data) {
                    var json = jQuery.parseJSON(data);
                    json.recordsTotal = json.total;
                    json.recordsFiltered = json.total;

                    return JSON.stringify(json);
                }
            },
            language: {
                lengthMenu: "Show _MENU_",
            },
            dom: "<'row'" + "<'col-sm-6 d-flex align-items-center justify-conten-start'l>" + "<'col-sm-6 d-flex align-items-center justify-content-end'f>" + ">" + "<'table-responsive'tr>" + "<'row'" + "<'col-sm-12 col-md-5 d-flex align-items-center justify-content-center justify-content-md-start'i>" + "<'col-sm-12 col-md-7 d-flex align-items-center justify-content-center justify-content-md-end'p>" + ">",
            processing: true,
            bStateSave: true,
            fixedHeader: {
                headerOffset: 119
            },
            lengthMenu: [
                [10, 25, 50, 100, 150, -1],
                [10, 25, 50, 100, 150, "All"]
            ],
            pageLength: 25,
            pagingType: "full_numbers",
            order: [[3, "desc"]],
            deferRender: true,
            columns: [
                { "data": "customID" },
                { "data": "title" },
                { "data": {"_":"authorID", "display":"author.name" }},
                { "data": "date" },
                { "data": {"_":"statusID", "display":"status.name" }}
            ]
        });
    });
</script>

Controller

Issues

If you discover any functionality or compatibility issues (other than security issues), please use the Github bug tracker to report them.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

Testing

Need to implement. Contributions to this section will be highly values.

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

We encourage contribution to this package

Credits

License

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


All versions of moldssp with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.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 flatorb/moldssp contains the following files

Loading the files please wait ...