Download the PHP package webfactor/laravel-backpack-documents without Composer
On this page you can find all versions of the php package webfactor/laravel-backpack-documents. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-backpack-documents
LaravelBackpackDocuments
Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc.
Install
Via Composer
Publish the vendor files
Run the migration
[optional but recommended] add a menu item to your sidebar.blade.php
Usage
Define your document types in the published config file. Don't forget to add appropriate translations in the translation files.
Backend
Go to the defined route (default: wfcms/document) and edit your documents like in Backpack CRUD
Api
Send a GET-request to the api route (default: api/v1/documents).
If you use translation you can append lang
parameter to the api route to get the specified language. (eg. api/v1/documents?lang=de)
Customisation
You can edit many parts of the functionality. Just look at the published config file (config/webfactor/documents.php
).
If you want to overwrite the default routes, please create a route file at routes/webfactor/documents.php
and define your routes there.
For using translations check the installed version of spatie/laravel-translatable for more information.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Webfactor
- Oliver Ziegler
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-backpack-documents with dependencies
spatie/laravel-fractal Version ^5.2
spatie/laravel-translatable Version ^2 || ^3 || ^4