2017 © Pedro Peláez
 

library crud-api

A laravel package providing an admin interface to create, edit and delete models.

image

taskforcedev/crud-api

A laravel package providing an admin interface to create, edit and delete models.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 18 Versions
  • 7 % Grown

The README.md

CrudApi

Status: Testing Ready, (*1)

We have tested the package in multiple scenarios and are comfortable using it in our own production contexts. Please let us know however if you do encounter an issue., (*2)

Build Status Scrutinizer Code Quality Codacy Badge Code Climate StyleCI FOSSA Status, (*3)

Integration Tests

Laravel 5.3 / CrudAPI 1.0.x
Laravel 5.4 / CrudAPI 1.1.x
Laravel 5.5 / CrudAPI 1.1.x

This package provides administration interfaces for models out of the box, in order for this to work Laravel 5.3 conventions must be followed as per the assumptions below:, (*4)

Assumptions

  • The package uses the $fillable attribute on your model in order to populate crud forms
  • Models:
    • Models must have a public property $validation containing the array of validation rules.
  • Authorization: Policies must be created to provide access to each model or extend a policy with a generic admin before filter.

User Model: This package assumes users will register on their own accord or be able to reset their own password, therefor any field called Password (or lowercase) will be hidden from the admin forms for security purposes., (*5)

Installation

To install add the package to your projects composer.json, (*6)

Laravel 5.3, (*7)

"require": {
    "taskforcedev/crud-api": "1.0.*"
}

Laravel 5.4, (*8)

"require": {
    "taskforcedev/crud-api": "1.1.*"
}

Once installed add the service provider in your laravels config/app.php., (*9)

'providers' => [
    ...
    // Add the laravel support class also if not already present.
    Taskforcedev\LaravelSupport\ServiceProvider::class,

    Taskforcedev\CrudApi\ServiceProvider::class,
]

Laravel 5.5, (*10)

"require": {
    "taskforcedev/crud-api": "1.1.*"
}

If you wish to use your own layout in the admin api then follow the instructions from https://github.com/taskforcedev/laravel-support to publish the taskforce-support config and set the layout name there., (*11)

In this case a yield is required for scripts to output the javascript required by the framework as well as jquery and bootstrap being included in your application, (*12)

@yield('scripts')

Configuration

Overriding the configuration is not currently in use however support for other frameworks may be added in the future, incase you wish to override or add to the config use:, (*13)

php artisan vendor:publish --tag="crudapi-config"

You will then see Copied File at /config/crudapi.php, (*14)

Technologies Used

  • Laravel 5.3+
  • Bootstrap

Contributing

Please see file CONTRIBUTING.md for information on how you can help., (*15)

Security

If you find a security issue in this package please raise an issue with a prefix of [Security] on our Issue Board, (*16)

License

FOSSA Status, (*17)

The Versions

06/02 2018

1.1.x-dev

1.1.9999999.9999999-dev

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel crud admin views

06/02 2018

v1.1.9

1.1.9.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel crud admin views

06/02 2018

v1.1.8

1.1.8.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel crud admin views

01/09 2017

dev-master

9999999-dev

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel crud admin views

01/09 2017

v1.1.7

1.1.7.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel crud admin views

27/04 2017

1.0.x-dev

1.0.9999999.9999999-dev

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel user login routes views

02/02 2017

v1.1.5

1.1.5.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel crud admin views

02/02 2017

v1.1.4

1.1.4.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel crud admin views

02/02 2017

v1.1.3

1.1.3.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel crud admin views

02/02 2017

v1.1.2

1.1.2.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel crud admin views

01/02 2017

v1.0.5

1.0.5.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel user login routes views

26/01 2017

v1.1.1

1.1.1.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel user login routes views

26/01 2017

v1.1.0

1.1.0.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel user login routes views

29/12 2016

v1.0.4

1.0.4.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel user login routes views

29/12 2016

v1.0.3

1.0.3.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel user login routes views

29/12 2016

v1.0.2

1.0.2.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel user login routes views

25/11 2016

v1.0.1

1.0.1.0

A laravel package providing an admin interface to create, edit and delete models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel user login routes views

17/11 2016

v1.0.0

1.0.0.0

A laravel package providing routes, controller and views for user login/register, etc.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Taskforcedev

laravel user login routes views