home.social

#laravel — Public Fediverse posts

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

  1. 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

  2. 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

  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. 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....

  5. 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....

  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. 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

  9. 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

  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. Вебхук, в котором нельзя работать

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

    habr.com/ru/articles/1084650/

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

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

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

    habr.com/ru/articles/1084650/

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

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

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

    habr.com/ru/articles/1084650/

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