Posted on: March 30, 2022 11:59 AM
Posted by: Renato
Categories: Laravel documentation PHP developer programming
Views: 1839
# laravel scribe knuckles
## Laravel API Documentation Generator with Scribe | Laravel API Server
## Laravel permissions
sudo chgrp -R www-data storage bootstrap/cache ; sudo chmod -R ug+rwx storage bootstrap/cache
sudo chown -R $USER:www-data * ; sudo chmod -R ug+rwx storage bootstrap/cache
A tool to automatically fix PHP code style
composer require friendsofphp/php-cs-fixer
Execute this command to fix all files
./vendor/bin/php-cs-fixer fix
- https://memorandum.ewilan-riviere.com/development/frameworks/laravel/setup-dependencies/
php artisan vendor:publish --tag=scribe-config
composer show knuckleswtf/scribe
php artisan scribe:generate
If you're using Sanctum with scribe, you have to set :
config/scribe.php
'use_csrf' => true, //default false
- Scribe Documentation: https://scribe.knuckles.wtf/laravel/
- https://memorandum.ewilan-riviere.com/development/frameworks/laravel/setup-dependencies/
- https://gitlab.com/cpdrenato/lara6-doc
Donate to Site
Renato
Developer