chirukinbb

chirukinbb

PHP developer from 2017. Most worked with WordPress

Member Since 3 years ago

Experience Points
0
follower
Lessons Completed
0
follow
Best Reply Awards
10
repos

24 contributions in the last year

Pinned
⚡ Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker
⚡ native php socket
Activity
Sep
5
1 month ago
Activity icon
issue

chirukinbb issue laracasts/Lets-Build-a-Forum-in-Laravel

chirukinbb
chirukinbb

About Storage Drivers

Hi, i uploaded images to google drive by this method https://awesomeopensource.com/project/ivanvermeyen/laravel-google-drive-demo to get it image on ppage i must get url to it but GD find files by id code $avatarPath = $request->file('avatar')->store(null,'google'); returned name of uploading file

Question: does Laravel have possibility to switch name to id to returned? ask because i find object in library but not find where extracted name from this object

Aug
26
2 months ago
Activity icon
issue

chirukinbb issue barryvdh/laravel-ide-helper

chirukinbb
chirukinbb

PHPDOC for custom facades

Hello, I write class with custom logics of my laravel ap and make it as facade by this code code of my facade ` namespace App\Facades;

use Illuminate\Support\Facades\Facade;

class AppService extends Facade {

protected static function getFacadeAccessor(): string
{
    return 'App\Services\AppLogic';
}

} code of my service provider namespace App\Providers;

use App\Services\User; use Illuminate\Support\ServiceProvider;

class AppLogicServiceProvider extends ServiceProvider { /** * Register services. * * @return void */ public function register() { $this->app->bind(AppLogic::class); } } in config/app.php 'providers'=>[ ... \App\Providers\AppLogicServiceProvider::class ] ` methods of facade can be called as facade but I can't generate phpdocs for it. I run php artisan clear-compiled and php artisan ide-helper:generate but in _ide_helper.php class AppService not exists if i write AppService ::someMethodFromServiceLogic() it work

my question - how to generate phpdocs?

Aug
18
2 months ago
Activity icon
issue

chirukinbb issue PHPOffice/PHPWord

chirukinbb
chirukinbb

How switched class ZipArchive?

Use this lib in Laravel app and doesn't can enabled zip module in php Cod of my controller `

input('id'))) return; $path = Storage::disk('local')->path('docs/'.self::$docMap[$request->input('id')]);//dd($path); $document = IOFactory::load($path); ... } } ` Needed ZipArchive class, but i want use PhpOffice\PhpWord\Shared\ZipArchive. When i rewrite setting string from __construct method to index - nothings change when i wrong?