Category: PHP Development Tools

Your requirements could not be resolved to an installable set of packages. 0

Install Hyperf under Docker in WSL-Ubuntu

Post Views: 28 Step 1: Create a local project directory in WSL (such as ~/wwwroot/hyperf-skeleton) 2. Modify the mount directory and adapt the path to the local directory. Reference:Hyperf official documentation development under Docker...

在 Spatie\QueryBuilder ,报错:Call to undefined method Spatie\\QueryBuilder\\AllowedFilter::endsWithStrict() 0

In spatie\QueryBuilder , an error is reported: call to undefined method spatie\\querybuilder\\AllowedFilter::endsWithStrict()

Post Views: 18 1. In spatie\QueryBuilder, an error is reported: call to undefined method spatie\QueryBuilder\\AllowedFilter::endsWithStrict(). as shown in Figure 1 2. Search in vendor/spatie/laravel-query-builder/src/allowedFilter.php: EndsWithStrict, confirm that the EndsWithStrict method does not exist. 3....

执行:composer install 时,提示:enqueue/rdkafka 0.10.19 requires ext-rdkafka -> it is missing from your system. Install or enable PHP's rdkafka extension. 0

When executing: composer install, prompt: enqueue/rdkafka 0.10.19 requires ext-rdkafka -> it is missing from your system. install or enable phpS RDKAFKA Extension.

Post Views: 11 1. When executing: composer install, prompt: enqueue/rdkafka 0.10.19 requires ext-rdkafka -> It is missing from your system. install or enable phps rdkafka extension.. as shown in Figure 1 2. Decide to...

再次运行:npm run dev,打开浏览器,不再报错 0

Create an app in Ubuntu-20.04 in WSL2: Shopify App Template – PHP

Post Views: 93 1. Reference:Install Shopify CLI 3.0 (based on Node.js) in Ubuntu-20.04 in WSL2, check whether the corresponding requirements are met in advance 2. Create an application, select the PHP template, and report...

In PHP 7.4, for URI, add query parameters based on League/URI 0

In PHP 7.4, for URI, add query parameters based on League/URI

Post Views: 13 1. In Laravel 6, there is a simple implementation based on the judgment that the string contains ? 2. However, this implementation, some complex URIs are not considered. Example: ?d=3&e=5#6, will...

执行 schedule:run 命令 ,执行成功,且成功生成对应的日志文件 0

Define scheduling tasks on modules (nwidart/laravel-modules:7.3) in Laravel 6

Post Views: 61 1. Generate a new module: blog. 2. By default, the module class will not load automatically. You can load your modules automatically using PSR-4. Edit composer.json. as shown in Figure 1...

在 Laravel 6 中,报错:E:\\wwwroot\\object\\vendor\\ramsey\\uuid\\src\\Converter\\Number\\DegradedNumberConverter.php", "class": "Ramsey\\Uuid\\Exception\\UnsatisfiedDependencyException 0

Error in Laravel 6: Cannot call Ramsey\UUID\Converter\Number\DegradedNumberConverter::ToHex without support for large Integers, since integer is an unsigned 128-bit integer; moontoast\math\bignumber is required.

Post Views: 18 1. In Laravel 6 , error: E:\\wwwroot\\object\\vendor\\ramsey\\uuid\sr c\\converter\\number\\degradedNumberConverter.php”, “class”: “ramsey\Uuid\\Exception\\UnsatisfiedDependencyException as shown in Figure 1 2. In the build production environment, execute: composer install –prefer-dist –no-ansi –no-interaction –no-progress –no-scripts –no-dev. 3....