Download the PHP package codenco-dev/nova-grid-system without Composer

On this page you can find all versions of the php package codenco-dev/nova-grid-system. 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 nova-grid-system

Nova grid system for Laravel Nova

Install

You can install this package via composer:

Then, you will need to register the tool within the NovaServiceProvider.php:

How to use?

This package allows you to define field sizes for detail, update or resource creation pages with tailwind CSS classes.

Like I want

You can use the size method on your field to add a meta property for each page. All Tailwind fluid classes for size can be used. See https://tailwindcss.com/docs/width/#fluid-width

Where I want

If you don't want to change the size of fields on each page, you can use methods to filter the effect:

Stacked or not stacked...

Automatically, with the default configuration, the field labels are stacked. If you don't want this, you can use the stacked method with a parameter value of false. As for previous point, you can do it wherever you want with:

Damn ! There is a bottom border

On the detail page, Nova automatically remove its lower border for the last field. In this package, it's not possible to calculate the last field, so you can delete it yourself. You can use these methods:

Example

This code uses the simplest method of configuration::

In this previous example, sizes are ok in forms pages but not in detail pages. This code presents several configurations depending on the context and uses different methods

Play with default values

Do you want go fast to configure your app ? With the HasDefaultSize trait, you can use defined default values.

You can use this trait in each resource where you want or on the App\Nova\Resource file if you want have default values on each resource automatically.

You be able to define default values on several ways :

Methods can be : defaultFieldSize,defaultFieldSizeOnDetail,defaultFieldSizeOnCreating,defaultFieldSizeOnUpdating.

Configuration

You can disable each "automatic" feature for each type of page with the nova-grid-system.php config file. You can define default sizes for every fields. To publish it, you can use this command:

License

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

About

This package is inspired by a deleted package by Eduardo Geschonke https://github.com/jobcerto


All versions of nova-grid-system with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
laravel/nova Version ^4.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 codenco-dev/nova-grid-system contains the following files

Loading the files please wait ....