Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter HTMX
#4

[quote pid="405307" dateline="1673779217"]
I have no plans of supporting PHP 7.4, but you can certainly install this library manually and make the necessary changes. I would search for things like match, str_starts_with and union types in method parameters. It shouldn't be hard.
[/quote]
Thanks, it was not hard actually. I have created a fork and made it work with php7, here: https://github.com/dgvirtual/codeigniter-htmx

One can install it manually and the @michalsn's  codeigniter-htmx-demo app seems to work flawlessly with it (the demo app itself seems not to contain any PHP8-only code).

I did not test it the proper way though; I tried running composer test and

For now, unfortunately, I was unable to add a possibility to install it via composer. Tried this:

adding to the app's composer.json file repositories key:
Code:
    "repositories": {
        "codeigniter-htmx": {
            "type": "vcs",
            "url": "[email protected]:dgvirtual/codeigniter-htmx.git"
        },
    }
and then issuing command
Code:
composer require michalsn/codeigniter-htmx:php7port

still complains about PHP version:
Code:
  [InvalidArgumentException]                                                                                                       
  Package michalsn/codeigniter-htmx has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version: 
    - michalsn/codeigniter-htmx v1.1.0 requires php ^8.0 which does not match your installed version 7.4.3. 
And if one tries to ignore the PHP version:
Code:
composer require michalsn/codeigniter-htmx:dev-php7port  --ignore-platform-reqs
Composer still complains:
Code:
[InvalidArgumentException]                                                                                           
  Could not find package michalsn/codeigniter-htmx in a version matching "dev-php7port" and a stability matching "dev".
If anyone could look into that, we could make it installable via composer.
==

Donatas G.
Reply


Messages In This Thread
CodeIgniter HTMX - by michalsn - 01-14-2023, 06:37 AM
RE: CodeIgniter HTMX - by dgvirtual - 01-15-2023, 03:22 AM
RE: CodeIgniter HTMX - by michalsn - 01-15-2023, 03:40 AM
RE: CodeIgniter HTMX - by dgvirtual - 01-20-2023, 07:17 AM
RE: CodeIgniter HTMX - by michalsn - 01-20-2023, 08:11 AM
RE: CodeIgniter HTMX - by dgvirtual - 01-20-2023, 09:04 AM
RE: CodeIgniter HTMX - by dgvirtual - 01-21-2023, 04:15 AM
RE: CodeIgniter HTMX - by michalsn - 01-23-2023, 12:01 AM
RE: CodeIgniter HTMX - by dgvirtual - 02-04-2023, 08:46 AM
RE: CodeIgniter HTMX - by michalsn - 02-04-2023, 09:02 AM
RE: CodeIgniter HTMX - by dgvirtual - 08-28-2023, 02:50 AM
RE: CodeIgniter HTMX - by dgvirtual - 02-04-2023, 09:09 AM
RE: CodeIgniter HTMX - by kilishan - 02-04-2023, 10:07 PM
RE: CodeIgniter HTMX - by SubrataJ - 04-01-2023, 08:00 AM
RE: CodeIgniter HTMX - by InsiteFX - 04-02-2023, 11:29 PM
RE: CodeIgniter HTMX - by SubrataJ - 04-02-2023, 11:40 PM
RE: CodeIgniter HTMX - by InsiteFX - 04-04-2023, 12:02 AM
RE: CodeIgniter HTMX - by michalsn - 08-28-2023, 02:59 AM
RE: CodeIgniter HTMX - by dgvirtual - 08-29-2023, 12:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB