home.social

#laravel — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #laravel, aggregated by home.social.

  1. I've made a new release:
    Laravel Eloquent driver for DuckDB

    Support latest and lowest Laravel versions (12 & 13)

    Support for lateral joins, whereBinary() and Vector Similarity Search (HNSW)

    Extended examples in readme:
    - client-server mode (Quack Remote Protocol)
    - bulk insertion (1M rows in <1s)
    - read and write Excel files
    - read private data using REST APIs
    - CSV data import
    - Laravel Octane and Swoole

    github.com/thomas-0816/laravel

    #php #laravel #analytics #duckdb #eloquent #bigdata #excel

  2. I've made a new release: Laravel Eloquent driver for DuckDB

    Support latest and lowest Laravel versions (12 & 13)

    Support for lateral joins, whereBinary() and Vector Similarity Search (HNSW)

    Extended examples in readme:
    - client-server mode (Quack Remote Protocol)
    - bulk insertion (1M rows in <1s)
    - read and write Excel files
    - read private data using REST APIs
    - CSV data import
    - Laravel Octane and Swoole

    github.com/thomas-0816/laravel

    #php #laravel #analytics #duckdb #eloquent #bigdata #excel

  3. August on LaraPlugins: Cursor 31% of MCP traffic, Claude 13%. Humans: 8,800 visitors.

    Agents do not care about stars. They ask: is this patched, does it support my version, is anyone still home.

    #Laravel #AI #PHP

  4. August on LaraPlugins: Cursor 31% of MCP traffic, Claude 13%. Humans: 8,800 visitors.

    Agents do not care about stars. They ask: is this patched, does it support my version, is anyone still home.

    #Laravel #AI #PHP

  5. August on LaraPlugins: Cursor 31% of MCP traffic, Claude 13%. Humans: 8,800 visitors.

    Agents do not care about stars. They ask: is this patched, does it support my version, is anyone still home.

    #Laravel #AI #PHP

  6. Testing weird combinations of #yii2 being a source of user/auth and #laravel being a separate entity, reusing the user/auth...

    OIDC, direct db... and to be frank at the cost of a couple million tokens (yes) I can validate several prototypes and think on the consequences, architecture and "is it actually worth it"... without this all, Id not even consider exploring....

  7. Testing weird combinations of #yii2 being a source of user/auth and #laravel being a separate entity, reusing the user/auth...

    OIDC, direct db... and to be frank at the cost of a couple million tokens (yes) I can validate several prototypes and think on the consequences, architecture and "is it actually worth it"... without this all, Id not even consider exploring....

  8. Testing weird combinations of #yii2 being a source of user/auth and #laravel being a separate entity, reusing the user/auth...

    OIDC, direct db... and to be frank at the cost of a couple million tokens (yes) I can validate several prototypes and think on the consequences, architecture and "is it actually worth it"... without this all, Id not even consider exploring....

  9. Testing weird combinations of #yii2 being a source of user/auth and #laravel being a separate entity, reusing the user/auth...

    OIDC, direct db... and to be frank at the cost of a couple million tokens (yes) I can validate several prototypes and think on the consequences, architecture and "is it actually worth it"... without this all, Id not even consider exploring....

  10. I built a website for humans. The machines just showed up.

    Most traffic to LaraPlugins now comes from agents, not people. That changed how I think about it.

    #Laravel #AI #OpenSource

  11. I built a website for humans. The machines just showed up.

    Most traffic to LaraPlugins now comes from agents, not people. That changed how I think about it.

    #Laravel #AI #OpenSource

  12. I built a website for humans. The machines just showed up.

    Most traffic to LaraPlugins now comes from agents, not people. That changed how I think about it.

    #Laravel #AI #OpenSource

  13. I built a website for humans. The machines just showed up.

    Most traffic to LaraPlugins now comes from agents, not people. That changed how I think about it.

    #Laravel #AI #OpenSource

  14. I built a website for humans. The machines just showed up.

    Most traffic to LaraPlugins now comes from agents, not people. That changed how I think about it.

    #Laravel #AI #OpenSource

  15. Вебхук, в котором нельзя работать

    Каждое нажатие кнопки в телеграм-боте — это HTTP-запрос от Telegram к вам. Около трёхсот тысяч человек в месяц, у каждого в сессии десятки нажатий, и всё это приходит в один POST-эндпоинт, у которого нет ни права на пятисотку, ни права подумать. Пропускная способность считается до обидного просто: max_connections, делённое на время ответа. Отвечаете за 200 мс при сорока соединениях — двести апдейтов в секунду. Отвечаете за две секунды — двадцать. И ждёт при этом не абстрактный клиент, а конкретный пользователь, у которого следующее нажатие просто не доедет. Что осталось внутри вебхука и что уехало в очередь, почему дедупликация по update_id обязана быть атомарной, зачем в ответ на вебхук можно вернуть вызов метода API — и четыре бага, которые нашлись в собственном коде, пока я это писал.

    habr.com/ru/articles/1084650/

    #laravel #telegram_bot_api #webhook #высокая_нагрузка #идемпотентность #php

  16. Вебхук, в котором нельзя работать

    Каждое нажатие кнопки в телеграм-боте — это HTTP-запрос от Telegram к вам. Около трёхсот тысяч человек в месяц, у каждого в сессии десятки нажатий, и всё это приходит в один POST-эндпоинт, у которого нет ни права на пятисотку, ни права подумать. Пропускная способность считается до обидного просто: max_connections, делённое на время ответа. Отвечаете за 200 мс при сорока соединениях — двести апдейтов в секунду. Отвечаете за две секунды — двадцать. И ждёт при этом не абстрактный клиент, а конкретный пользователь, у которого следующее нажатие просто не доедет. Что осталось внутри вебхука и что уехало в очередь, почему дедупликация по update_id обязана быть атомарной, зачем в ответ на вебхук можно вернуть вызов метода API — и четыре бага, которые нашлись в собственном коде, пока я это писал.

    habr.com/ru/articles/1084650/

    #laravel #telegram_bot_api #webhook #высокая_нагрузка #идемпотентность #php

  17. Вебхук, в котором нельзя работать

    Каждое нажатие кнопки в телеграм-боте — это HTTP-запрос от Telegram к вам. Около трёхсот тысяч человек в месяц, у каждого в сессии десятки нажатий, и всё это приходит в один POST-эндпоинт, у которого нет ни права на пятисотку, ни права подумать. Пропускная способность считается до обидного просто: max_connections, делённое на время ответа. Отвечаете за 200 мс при сорока соединениях — двести апдейтов в секунду. Отвечаете за две секунды — двадцать. И ждёт при этом не абстрактный клиент, а конкретный пользователь, у которого следующее нажатие просто не доедет. Что осталось внутри вебхука и что уехало в очередь, почему дедупликация по update_id обязана быть атомарной, зачем в ответ на вебхук можно вернуть вызов метода API — и четыре бага, которые нашлись в собственном коде, пока я это писал.

    habr.com/ru/articles/1084650/

    #laravel #telegram_bot_api #webhook #высокая_нагрузка #идемпотентность #php