markpurser / laravel-crudkit by markpurser

Open source CRUD framework for Laravel
998
15
5
Package Data
Maintainer Username: markpurser
Maintainer Contact: mail@markpurser.co.uk (Mark Purser)
Package Create Date: 2017-02-13
Package Last Update: 2017-08-30
Language: PHP
License: MIT
Last Refreshed: 2024-12-17 03:05:35
Package Statistics
Total Downloads: 998
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 15
Total Watchers: 5
Total Forks: 4
Total Open Issues: 1

laravel-crudkit

license

Open source CRUD framework for Laravel 5.3+.

Admin-panel

Should use this if...

  • You need a front-end to your existing MySQL or Sqlite relational database
  • You don't require a graphical builder or generator

Getting started

Install Laravel 5.3 or above.

Require this package with composer using the following command:

composer require markpurser/laravel-crudkit

After updating composer, add the service providers to the providers array in config/app.php

Markpurser\LaravelCrudKit\CrudKitServiceProvider::class,
Markpurser\LaravelCrudKit\Demo\BooksServiceProvider::class,

Publish the configuration file and public assets.

php artisan vendor:publish --provider="Markpurser\LaravelCrudKit\CrudKitServiceProvider"

In your .env file, set up your database connection to point to the example sqlite3 file.

DB_CONNECTION=sqlite
DB_DATABASE=/absolute/path/to/vendor/markpurser/laravel-crudkit/src/Demo/books.sqlite3

In your browser, go to http://localhost:8000/admin-panel

Features

Many of the features that were experimental or incomplete in the original http://crudkit.com are now working, including:

  • Many-to-one and many-to-many relationships
  • Datetime data types
  • Enum and boolean data types
  • Correct pagination of entries in the summary view
  • Simple search
  • Support for soft delete and Laravel timestamps
  • Improved fluent interface to define tables, pages and relationships

Inspired by http://crudkit.com, this project is a complete rewrite with a simplified codebase.

Documentation

https://github.com/markpurser/laravel-crudkit/wiki

Future Roadmap

  • Integration with Laravel Eloquent ORM
  • Postgres, Sql Server

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

Credits

http://markpurser.co.uk

Licensing

The code in this project is licensed under MIT license.