Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Why spark adding ResponseInterface to controller?
Post: RE: Why spark adding ResponseInterface to controll...

Now I have a little insight into it. I was wondering why it was added. I will look at DevKit too. Thank you and good luck.
352 Views
8 Replies
02-22-2024, 01:44 AM
Muzikant
    Thread: Why spark adding ResponseInterface to controller?
Post: RE: Why spark adding ResponseInterface to controll...

Kenjis, thank you. I did not know about PHP-CS-Fixer. I am still learning. I will look at it. So it was added because it can be used? Why this one and not other ones?
352 Views
8 Replies
02-21-2024, 04:35 AM
Muzikant
    Thread: Why spark adding ResponseInterface to controller?
Post: RE: Why spark adding ResponseInterface to controll...

Thank you, I appreciate it. But it is not an answer on my question. What is the reason behind adding it by default?
352 Views
8 Replies
02-20-2024, 02:45 AM
Muzikant
    Thread: Why spark adding ResponseInterface to controller?
Post: Why spark adding ResponseInterface to controller?

Why spark adding ResponseInterface to controller as it is not directly used in the scope? php spark make:controller Test PHP Code: --
352 Views
8 Replies
02-19-2024, 04:21 AM
Muzikant
    Thread: ETA on CI3 PHP8.2 support?
Post: RE: ETA on CI3 PHP8.2 support?

Great news! I am willing to upgrade my old projects, but I am not willing to migrate them to CI4.
4,946 Views
25 Replies
02-12-2024, 07:08 AM
Muzikant
    Thread: CodeIgniter's 404 simple benchmark
Post: RE: CodeIgniter's 404 simple benchmark

I created the same 404 page with Yii 3 (in development) and the result is: 25.74 requests/s (82.90%)
254 Views
1 Replies
02-11-2024, 05:42 AM
Muzikant
    Thread: CodeIgniter's 404 simple benchmark
Post: CodeIgniter's 404 simple benchmark

Hi. I ran a simple benchmark for 404 page. Average from 10 times for 10 seconds for each group with two "cold" starts before each group. Higher is better. Classis CI4 404 page: 31.05 requests/s (1...
254 Views
1 Replies
02-10-2024, 10:01 AM
Muzikant
    Thread: Localised 404 error message based on URI segment
Post: RE: Localised 404 error message based on URI segme...

That is what I thought. Thank you for your answer.
165 Views
2 Replies
02-10-2024, 01:11 AM
Muzikant
    Thread: Localised 404 error message based on URI segment
Post: Localised 404 error message based on URI segment

Hi. I am trying to get a localised 404 error message, if URI segment with supported language is present. If it is not present, it should fallback to default language, as it is with basic localisation....
165 Views
2 Replies
02-09-2024, 12:18 PM
Muzikant
    Thread: Why using the "use function" import statements for PHP native functions?
Post: RE: Why using the "use function" import statements...

I understand it now, thank you. In the case I found it, it is an another security level to avoid discrepancies while working with third party code I guess.
302 Views
2 Replies
01-16-2024, 05:53 AM
Muzikant
  Question Thread: Why using the "use function" import statements for PHP native functions?
Post: Why using the "use function" import statements for...

Hi. I am strugling to understand, why to use "use function" import statement for PHP native functions. An example code: PHP Code: --
302 Views
2 Replies
01-13-2024, 08:36 AM
Muzikant
    Thread: ETA on CI3 PHP8.2 support?
Post: RE: ETA on CI3 PHP8.2 support?

The new version cannot be released, because there are no maintainers and it is almost impossible to become a new maintainer. Is it a GitHub thing, or the decision of developers?
4,946 Views
25 Replies
12-26-2023, 05:29 AM
Muzikant
    Thread: ETA on CI3 PHP8.2 support?
Post: RE: ETA on CI3 PHP8.2 support?

If there are no technical reasons, then how to become a maintainer? I am not asking for myself, because I am not using GitHub as it is owned by Microsoft.
4,946 Views
25 Replies
12-24-2023, 03:00 AM
Muzikant
    Thread: CodeIgniter 3.1.11 error
Post: RE: CodeIgniter 3.1.11 error

What is you PHP version? From where did you get version 3.1.11? If you make a fresh install from your source, will you get those errors?
593 Views
6 Replies
12-15-2023, 01:37 AM
Muzikant
    Thread: ETA on CI3 PHP8.2 support?
Post: RE: ETA on CI3 PHP8.2 support?

What is more effective? To add support for PHP 8.2 and above, or to move thousands of projects to CodeIgniter 4? And which one is realistic to achieve? ;-) Why to abandon a lot of good projects jus...
4,946 Views
25 Replies
12-15-2023, 01:25 AM
Muzikant
    Thread: Wrong path in vendor/codeigniter4/framework/App/Config/Paths.php
Post: RE: Wrong path in vendor/codeigniter4/framework/Ap...

kenjis Wrote: (11-09-2023, 05:48 AM) -- It must be __DIR__ . '/../../system' for Zip downloads. But yes, it is not correct for Composer installation. Do you propose to stop Zip downloads? -- Oh, th...
457 Views
3 Replies
11-09-2023, 10:17 AM
Muzikant
  Bug Thread: Wrong path in vendor/codeigniter4/framework/App/Config/Paths.php
Post: Wrong path in vendor/codeigniter4/framework/App/Co...

Hi. There is a wrong path to system directory in vendor/codeigniter4/framework/App/Config/Paths.php: PHP Code: -- public string $systemDirectory = __DIR__ . '/../../system'; -- The correct one is in...
457 Views
3 Replies
11-09-2023, 01:50 AM
Muzikant
    Thread: Add AVIF and HEIF MIME types to Config/Mimes.php
Post: RE: Add AVIF and HEIF MIME types to Config/Mimes.p...

I am not registered on GitHub, because it is owned by Microsoft.
718 Views
5 Replies
10-21-2023, 02:45 AM
Muzikant
    Thread: Add AVIF and HEIF MIME types to Config/Mimes.php
Post: RE: Add AVIF and HEIF MIME types to Config/Mimes.p...

Of course I can. We are in Feature Requests, not in Support category. This is my two cents to improve framework I like. I made a good points these two types should by added generally.
718 Views
5 Replies
10-20-2023, 02:34 AM
Muzikant
    Thread: Add AVIF and HEIF MIME types to Config/Mimes.php
Post: Add AVIF and HEIF MIME types to Config/Mimes.php

Hi. I am using \CodeIgniter\Files\File\guessExtension() to identify, if a file is an image and this function is also based on MIME types. I realized, an AVIF type is not in the Config\Mimes.php file. ...
718 Views
5 Replies
10-18-2023, 01:37 AM
Muzikant

Theme © iAndrew 2016 - Forum software by © MyBB