facade please
ve this
บางครั้งคุณต้องการสร้างอาคารสำหรับวิธีการที่เข้าถึงได้ทั่วโลก แต่คุณไม่ชอบทำเพราะคุณต้องทำสองสามขั้นตอน ซุปซองโปรด! เป็นแพ็คเกจ Laravel เพื่อแก้ปัญหาของคุณเพียงคำสั่งเดียวและด้านหน้าของคุณก็พร้อมใช้งาน!
composer require nauvalazhar/facade-please
เพิ่มลงใน config/app.php
'providers' => [
...
NauvalazharFacadePleaseFacadePleaseServiceProvider::class,
php artisan facade usage
php artisan facade:please YourFacade
อาคารที่สร้างขึ้นจะถูกเก็บไว้ในโฟลเดอร์ app/MyFacades โดยค่าเริ่มต้น แต่คุณสามารถเปลี่ยนโฟลเดอร์ปลายทางในไฟล์ config/facadeplease.php ก่อนที่จะทำเช่นนั้นคุณต้องทำขั้นตอนนี้
php artisan facade:delete YourFacade
php artisan facade:list
php artisan facade:diag YourFacade [--methods] [--public] [--private]
php artisan vendor:publish --tag=facadeplease
0.2.0 - Hope you love this
-----
New
---
- Optional argument for command: php artisan facade
- Automatically adds a comma at the end of the provider array element and aliases array in `config/app.php`
- Added a new command to list all facades
- Added a new command to diagnose the facade
- Added new command for usage
Changes
-------
- Add 'require' in composer.json
- Some changes to the 'php artisan facade' command
- Some changes to the 'php artisan facade:delete' command
0.1.1 - Initial release
-----
Fix
---
- fix Composer.json
0.1.0 - First release (Don't use this)
- First commit
ขอบคุณ @Rizalio สำหรับความช่วยเหลือใด ๆ !
ใบอนุญาต MIT