Giter Site home page Giter Site logo

krato / infinety-crud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fikririf/crud_mod

1.0 4.0 1.0 262 KB

Quickly build an admin interface for your Eloquent models, using Laravel 5. Build a CMS in a matter of minutes.

License: MIT License

PHP 45.05% HTML 54.95%

infinety-crud's Introduction

Infinety CRUD

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Quickly build an admin interface for your Eloquent models, using Laravel 5. Erect a complete CMS at 10 minutes/model, max.

Install

Via Composer

$ composer require infinety-es/crud/

Add this under service providers array on config/app.php

'Jenssegers\Date\DateServiceProvider',

Add this to your config/app.php, under "aliases":

'CRUD' => 'Infinety\CRUD\CrudServiceProvider',
'Date' => Jenssegers\Date\Date::class,

Usage

In short:

  1. Create a controller that extends CrudController.

  2. Make your model use the CrudTrait.

  3. Create a new resource route.

  4. (optional) Define your validation rules in a Request files.

Data Types

Images:

On column array add this to tell the crud is an image:

 'type'  => 'image'

Date

On column array add this to tell the crud is an date:

 'type' => 'date',
 'language' => 'es', //Language set
 'format'   => 'd-m-Y' //Custom date format

You can format a Date object like the DateTime object (http://www.php.net/manual/en/function.date.php):

ToDO

Add documentation

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

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

infinety-crud's People

Contributors

fikririf avatar ghitu avatar heymowski avatar ismaeloku avatar krato avatar tabacitu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

heymowski

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.