2017 © Pedro Peláez
 

library laravel-backpack-documents

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc

image

webfactor/laravel-backpack-documents

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc

  • Wednesday, July 11, 2018
  • by OliverZiegler
  • Repository
  • 2 Watchers
  • 1 Stars
  • 63 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 34 % Grown

The README.md

LaravelBackpackDocuments

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc., (*2)

Install

Via Composer, (*3)

``` bash $ composer require webfactor/laravel-backpack-documents, (*4)


Publish the vendor files ``` bash $ php artisan vendor:publish --provider="Webfactor\Laravel\Backpack\Documents\DocumentsServiceProvider"

Run the migration, (*5)

``` bash $ php artisan migrate, (*6)


\[optional but recommended\] add a menu item to your `sidebar.blade.php` ``` html <li> <a href="{{ url(config('webfactor.documents.backend.route_prefix').'/'.config('webfactor.documents.backend.route')) }}"> <i class="fa fa-file-o"></i> <span>{{ trans('webfactor::documents.entity_name_plural') }}</span> </a> </li>

Usage

Define your document types in the published config file. Don't forget to add appropriate translations in the translation files., (*7)

Backend

Go to the defined route (default: wfcms/document) and edit your documents like in Backpack CRUD, (*8)

Api

Send a GET-request to the api route (default: api/v1/documents)., (*9)

If you use translation you can append lang parameter to the api route to get the specified language. (eg. api/v1/documents?lang=de), (*10)

Customisation

You can edit many parts of the functionality. Just look at the published config file (config/webfactor/documents.php)., (*11)

If you want to overwrite the default routes, please create a route file at routes/webfactor/documents.php and define your routes there., (*12)

For using translations check the installed version of spatie/laravel-translatable for more information., (*13)

Change log

Please see CHANGELOG for more information on what has changed recently., (*14)

Testing

bash $ composer test, (*15)

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details., (*16)

Security

If you discover any security related issues, please email oliver.ziegler@webfactor.de instead of using the issue tracker., (*17)

Credits

License

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

The Versions

11/07 2018

dev-master

9999999-dev https://github.com/webfactor/laravel-backpack-documents

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel documents backpack webfactor

11/07 2018

v1.0.6

1.0.6.0 https://github.com/webfactor/laravel-backpack-documents

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel documents backpack webfactor

25/06 2018

v1.0.5

1.0.5.0 https://github.com/webfactor/laravel-backpack-documents

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel documents backpack webfactor

09/04 2018

v1.0.4

1.0.4.0 https://github.com/webfactor/laravel-backpack-documents

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel documents backpack webfactor

07/02 2018

v1.0.3

1.0.3.0 https://github.com/webfactor/laravel-backpack-documents

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel documents backpack webfactor

07/02 2018

v1.0.2

1.0.2.0 https://github.com/webfactor/laravel-backpack-documents

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel documents backpack webfactor

04/02 2018

dev-tswonke-patch-1

dev-tswonke-patch-1 https://github.com/webfactor/laravel-backpack-documents

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel documents backpack webfactor

02/02 2018

dev-readme-fix

dev-readme-fix https://github.com/webfactor/laravel-backpack-documents

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel documents backpack webfactor

02/02 2018

v1.0.1

1.0.1.0 https://github.com/webfactor/laravel-backpack-documents

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel documents backpack webfactor

02/02 2018

v1.0.0

1.0.0.0 https://github.com/webfactor/laravel-backpack-documents

Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel documents backpack webfactor