Download the PHP package genealabs/laravel-casts without Composer

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

Casts for Laravel

Join the chat at https://gitter.im/GeneaLabs/laravel-casts Travis SensioLabs Insight Scrutinizer Coveralls GitHub (pre-)release Packagist GitHub license

Casts for Laravel masthead image.

Requirements

Rationale

This package is an effort to streamline and make form development more efficient in Laravel Blade views.

Features

Installation

  1. Install the package:

  2. Publish the required assets:

Usage

The following shows all elements using Bootstrap 3:

screen shot 2017-03-03 at 7 53 47 am

Blade Directives

The following Blade directives developing forms a snap:

@form / {!! Form::open() !!}

@errors / {!! Form::errors() !!}

@label / {!! Form::label() !!}

Note: labels are rendered automatically when using frameworks.

Input controls

The following controls use the same syntax:

@switch / {!! Form::switch() !!}

@select / {!! Form::select() !!}

@selectMonths / {!! Form::selectMonths() !!}

@selectWeekdays / {!! Form::selectWeekdays() !!}

@selectRangeWithInterval / {!! Form::selectRangeWithInterval() !!}

CSS Framework Support

Taking advantage of framework support will handle all error validation presentation, as well as generation of labels and all the necessary form control boilerplate.

Additional framework support is planned, possibly including:

If there's a framework you would like included, feel free to reach out by opening an issue with the pertinent details.

Bootstrap 3

To have a form render for Bootstrap 3, specify the framework and form orientation in the @form directive:

Additionally, to enable the date/time picker, add the following to your JavaScript file for the page rendering the date fields:

You can include the library using Gulp and NPM (preferred), or use a CDN.

Gulp / NPM
  1. npm install save-dev bootstrap-datetimepicker-npm
  2. Then require the library in your /resources/assets/js/app.js file (after jQuery and Bootstrap have been required):

  3. Don't forget to include the CSS as well in /resources/assets/sass/app.sass:

  4. Finally, edit your /gulpfile.js as needed, and run gulp.
CDNs

Add the following references to the page(s) or your main layout file. You will need to have jQuery and Bootstrap libraries included as well.

Bootstrap 4 (alpha 3)

Nearly the same as above:

Testing


All versions of laravel-casts with dependencies

PHP Build Version
Package Version
Requires fico7489/laravel-eloquent-join Version ^4.1
illuminate/config Version ^8.0
illuminate/support Version ^8.0
jenssegers/model Version ^1.4
laravelcollective/html Version ^6.1
livewire/livewire Version ^2.0
wa72/htmlpagedom Version ^2.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 genealabs/laravel-casts contains the following files

Loading the files please wait ....