๐Ÿ˜ PHP Digest

100 result(s) for โ€œcodeโ€

1
edonadei/caliper

Local-first eval harness for Claude Code and Codex skills

AI agent
Trendshift โ–ฒ 92 edonadei 1mo ago โš  Safety
2
Waishnav/devspace

Turn ChatGPT into Codex

AI coding assistant MCP Self-hosted
Trendshift โ–ฒ 91 Waishnav 1mo ago โš  Safety
3
shanraisshan/claude-code-best-practice

from vibe coding to agentic engineering - practice makes claude perfect

AI coding assistant
Trendshift โ–ฒ 84 shanraisshan 1mo ago โš  Safety
4
GoogleCloudPlatform/generative-ai

Sample code and notebooks for Generative AI on Google Cloud, with Gemini Enterprise Agent Platform

RAG Cloud native Programming examples
Trendshift โ–ฒ 94 GoogleCloudPlatform 1mo ago โš  Safety
5
shadcn/improve

Use your most capable model to audit your codebase and write plans for cheaper models to execute.

AI agent AI coding assistant
Trendshift โ–ฒ 88 shadcn 1mo ago โš  Safety
6
JCarterJohnson/vibecoded-design-tells

Reddit-mined data ranking the visual tells of vibe-coded (AI-built) sites: 3.2M posts scanned across 47 subreddits, with scripts, raw data, and charts.

Web scraping
Trendshift โ–ฒ 91 JCarterJohnson 1mo ago โš  Safety
7
alibaba/open-code-review

Battle-tested at Alibaba's scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in fine-tuned ruleset (NPE, thread-safety, XSS, SQL injection), OpenAI & Anthropic compatible.

AI agent AI coding assistant
Trendshift โ–ฒ 90 alibaba 1mo ago โš  Safety
8
volotat/tuimg

Terminal image viewer, that utilizes a pretrained image tokenizer's codebook as a custom 4096-glyph font for text-only image approximation.

Trendshift โ–ฒ 79 volotat 1mo ago โš  Safety
9
decolua/9remote

๐Ÿ“ฑ Terminal in Your Pocket — Control Claude Code, Codex, Gemini CLI & your Mac/Linux/Windows from any phone or browser. Vibe coding from anywhere. Alternative to MobileCLI, Claude Remote, vibe-remote, MuxAgent.

AI coding assistant Workflow automation
Trendshift โ–ฒ 87 decolua 1mo ago โš  Safety
10
thedotmack/claude-mem

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

AI agent AI coding assistant AI memory
Trendshift โ–ฒ 85 thedotmack 1mo ago โš  Safety
11
valkor-ai/loom

An open delivery harness that turns Claude Code, Codex, OpenCode, and other coding agents into repeatable software delivery systems.

AI agent AI workflow AI coding assistant Workflow automation
Trendshift โ–ฒ 78 valkor-ai 1mo ago โš  Safety
12
Gentleman-Programming/agent-teams-lite

Spec-Driven Development with AI Sub-Agents. An orchestrator + 9 specialized sub-agents for structured feature development. Zero dependencies. Pure Markdown. Works with Claude Code, OpenCode, Cursor, and more.

AI agent AI workflow AI coding assistant
Trendshift โ–ฒ 86 Gentleman-Programming 1mo ago โš  Safety
13
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io

AI coding assistant MCP
Trendshift โ–ฒ 76 farion1231 1mo ago โš  Safety
14
coreyhaines31/marketingskills

Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.

AI agent AI skills
Trendshift โ–ฒ 94 coreyhaines31 1mo ago โš  Safety
15
defendend/Claude-ast-index-search

Cli allows you to index files and greatly speed up Claude/Codex/Cursor searches (suitable for any AI agent that can use Bash)

Search
Trendshift โ–ฒ 84 defendend 1mo ago โš  Safety
16
BigPizzaV3/CodexPlusPlus

An enhanced tool for CodexApp, striving to make Codex better to use and more comfortable ไธ€ไธชCodexApp็š„ๅขžๅผบๅทฅๅ…ท๏ผŒๅŠชๅŠ›่ฎฉCodexๅ˜ๅพ—ๆ›ดๅฅฝ็”จๆ›ด่ˆ’ๆœ

AI coding assistant
Trendshift โ–ฒ 76 BigPizzaV3 1mo ago โš  Safety
17
bozhouDev/codex-orange-book

Codex ๆฉ™็šฎไนฆ๏ผšไปŽๅฎ‰่ฃ…ๅˆฐๅฎžๆˆ˜ๆกˆไพ‹็š„ๅ…จ้“พ่ทฏ Codex ไฝฟ็”จๆŒ‡ๅ—๏ผˆ้žๅฎ˜ๆ–นๅผ€ๆบ๏ผŒๅซๅฏไธ‹่ฝฝ PDF๏ผ‰

Trendshift โ–ฒ 78 bozhouDev 1mo ago โš  Safety
18
pcvelz/superpowers

An agentic skills framework & software development methodology that works - Claude Code task management support

AI agent
Trendshift โ–ฒ 80 pcvelz 1mo ago โš  Safety
19
serenakeyitan/tdoc

Prompt-native interactive HTML docs — bdocs. Generate, comment on, and publish docs from inside codex &Claude Code.

AI coding assistant
Trendshift โ–ฒ 76 serenakeyitan 1mo ago โš  Safety
20
penpot/penpot

Penpot: The open-source design tool for design and code collaboration

Self-hosted
Trendshift โ–ฒ 79 penpot 1mo ago โš  Safety
21
AgriciDaniel/claude-obsidian

Self-organizing AI second brain for Obsidian + Claude Code. Drop any source and Claude reads, links, and files it into one connected knowledge graph of plain Markdown you own. AI note-taking, personal knowledge management (PKM), and an open-source Notion alternative. Based on Ka…

AI agent
Trendshift โ–ฒ 76 AgriciDaniel 1mo ago โš  Safety
22
openai/codex-plugin-cc

Use Codex from Claude Code to review code or delegate tasks.

AI coding assistant
Trendshift โ–ฒ 84 openai 1mo ago โš  Safety
23
modem-dev/hunk

Review-first terminal diff viewer for agentic coders

AI agent
Trendshift โ–ฒ 82 modem-dev 1mo ago โš  Safety
24
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

Programming examples
Trendshift โ–ฒ 88 freeCodeCamp 1mo ago โš  Safety
25
HexmosTech/git-lrc

Free, Micro AI Code Reviews That Run on Git Commit

AI coding assistant
Trendshift โ–ฒ 78 HexmosTech 1mo ago โš  Safety
26
dzcmemory-web/bazi-ziwei-skill

AI ๅ…ซๅญ— + ็ดซๅพฎๆ–—ๆ•ฐๆŽ’็›˜ไธŽ็ปผๅˆๅฐ่ฏ Skill๏ผš็ฎ—ๆณ•็ฒพๅ‡†ๆŽ’็›˜๏ผˆไธ้  LLM ็Œœ๏ผ‰๏ผŒไธ‰็งๅˆ†ๆžๆจกๅผ๏ผŒไธ€้”ฎ็”Ÿๆˆๆฐดๅขจ้ฃŽ HTML ๅ‘ฝ็›˜ๆตทๆŠฅใ€‚ๅ…ผๅฎน Claude / Codex / Cursor / Workbuddy ็ญ‰ SKILL.md Agentใ€‚

AI agent AI skills
Trendshift โ–ฒ 82 dzcmemory-web 1mo ago โš  Safety
28
JimLiu/baoyu-design

Run Claude Design locally as an Agent Skill — Cursor, Claude Code & more. Produce polished UI mockups, prototypes, decks & wireframes as self-contained HTML, without claude.ai/design. Best with Opus 4.8.

AI agent AI skills
Trendshift โ–ฒ 82 JimLiu 1mo ago โš  Safety
29
rebel0789/codexpro

Use ChatGPT Developer Mode as a local coding agent for your repo through MCP.

AI agent AI coding assistant MCP
Trendshift โ–ฒ 80 rebel0789 1mo ago โš  Safety
30
GorvGoyl/Clone-Wars

100+ open-source clones of popular sites like Airbnb, Amazon, Instagram, Netflix, Tiktok, Spotify, Whatsapp, Youtube etc. See source code, demo links, tech stack, github stars.

Programming examples Curated list
Trendshift โ–ฒ 83 GorvGoyl 1mo ago โš  Safety
31
shiyu-coder/Kronos

Kronos: A Foundation Model for the Language of Financial Markets

Fintech
Trendshift โ–ฒ 78 shiyu-coder 1mo ago โš  Safety
32
fivetaku/fablize

A Claude Code plugin that makes Opus behave like Fable — completion, evidence, and verification enforced as procedure. Ships only what a Fable-vs-Opus comparison proved transferable.

AI agent AI workflow
Trendshift โ–ฒ 75 fivetaku 1mo ago โš  Safety
33
phpstan/phpstan

PHP Static Analysis Tool - discover bugs in your code without running it!

GitHub โ–ฒ 14k phpstan 1mo ago โš  Safety
34
codeigniter4/CodeIgniter4

Open Source PHP Framework (originally from EllisLab)

GitHub โ–ฒ 5.9k codeigniter4 1mo ago โš  Safety
35
PHPCSStandards/PHP_CodeSniffer

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

GitHub โ–ฒ 1.5k PHPCSStandards 1mo ago โš  Safety
36
LibreBooking/librebooking

LibreBooking is an open-source resource scheduling solution. It provides a flexible, mobile-friendly, and extensible interface for organizations to manage resource reservations. The "develop" branch contains the latest code of the project.

GitHub โ–ฒ 743 LibreBooking 1mo ago โš  Safety
37
phpstan/phpstan-src

PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository.

GitHub โ–ฒ 394 phpstan 1mo ago โš  Safety
38
Access Tokens with the Instagram Graph API PHP SDK

To get an access token with the Instagram Graph API PHP SDK, users must first login through the Facebook login dialog. Facebook will then send the user back to your redirect uri with a code variable in the url which you then exchange for an access token. We can also debug an acc…

Blogs justinstolpe.com ๐Ÿ’ฌ 9k justinstolpe 50mo ago
39
Instagram Basic Display API: Obtaining an Access Token

In this post we learn how to obtain and access token from the Instagram Basic Display API with a code passed to us from Instagram once the user has authorized our application. The access token we get is short lived meaning it will only be valid for an hour or so. In the next blo…

Blogs justinstolpe.com ๐Ÿ’ฌ 5.7k justinstolpe 79mo ago
40
Loading Overlay with HTML, CSS, and jQuery

  In this post we create a global loading overlay using HTML, CSS, and jQuery. There is one line of code to take over the screen and display a loader as well as one line of code to hide the loader. This loader is good for any button such as signing up, logging in, downloadi…

Blogs justinstolpe.com ๐Ÿ’ฌ 1.8k justinstolpe 89mo ago
41
More Easy Light-Dark Mode Switching: light-dark() is about to support images!

/* DL GRID @src https://codepen.io/bramus/pen/POEaXg*/ @media(min-width: 30em) { dl { display: grid; grid-template: auto / 10em 1fr; } dt { grid-column: 1; } dd { grid-column: 2; } dt, dd { margin: 0; padding: .3em .5em; border-top: 1px solid rgba(0,0,0,.1); } :is(dt, dd) > :fir…

Blogs bram.us ๐Ÿ’ฌ 3 Bramus! 4mo ago
42
PHPStan custom rules

Recently I discovered that this code passed our PHPStan level 10 checks: use http\Exception\InvalidArgumentException; // ... throw new InvalidArgumentException; I was surprised as http\Exception\InvalidArgumentException is not a class in our system. While cooling, I discovered t…

Blogs akrabat.com ๐Ÿ’ฌ 2 Rob 5mo ago
44
Stop commenting your code just to say you did

Summary – Code comments that point out the obvious make the important comments harder to spot. Developers are better off when there are only a few comments for the code that deserves an explanation. You open up an electrical box and see a few hundred wires. Lots of differe…

Blogs bradt.ca ๐Ÿ’ฌ 21 bradt 150mo ago
45
Developer Founders Should Start with Hiring a Developer

TL;DR – Developer founders going at it alone should hire a developer from the beginning so they can spend more of their time on things other than writing code. I’ve been reflecting on how amazing it is to be a software developer with entrepreneurial ambitions in the …

Blogs bradt.ca ๐Ÿ’ฌ 5 bradt 141mo ago
46
Version-Controlled Documentation Inside Your Laravel App with Laradocs

Laradocs turns markdown files committed alongside your code into a served documentation site at /docs, with folder-based navigation, front-matter metadata, and content reuse via variables and macros. The post Version-Controlled Documentation Inside Your Laravel App with Laradocs…

Blogs laravel-news.com Paul Redmond 1mo ago
47
Reducing code motion

Read the full post on https://stitcher.io/blog/reducing-code-motion

Blogs stitcher.io Brent 9mo ago
48
Your JetBrains IDE Expertise, Now on LinkedIn

Every developer has tools they rely on daily. The workflows they’ve built around them, the ways they’ve learned to move faster, debug smarter, and write better code – that kind of hands-on experience can be hard to put into words. We’re collaborating with LinkedIn to…

Blogs blog.jetbrains.com Ekaterina Ryabukha 1mo ago
49
Symfony 8.1.1 released

Symfony 8.1.1 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your project. Tip Want to be notified whenever a new Symfony release is published? …

Blogs symfony.com Fabien Potencier 1mo ago
50
Symfony 8.0.14 released

Symfony 8.0.14 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your project. Tip Want to be notified whenever a new Symfony release is published?…

Blogs symfony.com Fabien Potencier 1mo ago
51
Symfony 7.4.14 released

Symfony 7.4.14 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your project. Tip Want to be notified whenever a new Symfony release is published?…

Blogs symfony.com Fabien Potencier 1mo ago
52
Symfony 6.4.42 released

Symfony 6.4.42 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your project. Tip Want to be notified whenever a new Symfony release is published?…

Blogs symfony.com Fabien Potencier 1mo ago
53
Symfony 8.1.1 released

Symfony 8.1.1 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your project. Tip Want to be notified whenever a new Symfony release is published? …

Blogs symfony.com Fabien Potencier 1mo ago
54
Symfony 8.0.14 released

Symfony 8.0.14 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your project. Tip Want to be notified whenever a new Symfony release is published?…

Blogs symfony.com Fabien Potencier 1mo ago
55
Symfony 7.4.14 released

Symfony 7.4.14 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your project. Tip Want to be notified whenever a new Symfony release is published?…

Blogs symfony.com Fabien Potencier 1mo ago
56
Symfony 6.4.42 released

Symfony 6.4.42 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your project. Tip Want to be notified whenever a new Symfony release is published?…

Blogs symfony.com Fabien Potencier 1mo ago
58
Laravel Bootstrap Components

Easily use Bootstrap components as Laravel componentsBootstrap is a very popular front-end framework. A lot of developers use it to quickly create interfaces for their Laravel App, so do we at Appstract. While it makes a lot of tasks easier, it also requires a lot of HTML code t…

Blogs medium.com Olav van Schie 111mo ago
59
Make your Laravel App Fly with PHP OPcache

Easy guide to enable and optimize OPcache for a faster applicationWhat is OPcache?Every time you execute a PHP script, the script needs to be compiled to byte code. OPcache leverages a cache for this bytecode, so the next time the same script is requested, it doesn’t have to rec…

Blogs medium.com Olav van Schie 115mo ago
60
Create a Laravel Workbench

For Package DevelopmentA workbench is a project dedicated for creating all your packages.First stepThe first step that needs to be taken, is cloning Laravel. Go to your code directory and run git clone git@github.com:laravel/laravel.git. Your workbench directory will now be call…

Blogs medium.com Gijs Jorissen 115mo ago
61
A Few Quick Tips to Make PhpStorm Faster

These tips can make your PhpStorm experience faster and more delightfulPhpStorm is a great IDE for PHP development. Its code intelligence system makes it much easier to work with large projects over a normal text editor.However, PhpStorm can do much more than that. It is packed …

Blogs medium.com Olav van Schie 116mo ago
62
Code Golf

From time to time a friend and I play a programming game that I consider to be a version of Code Golf. Typically, the goal of Code Golf is to solve some challenge using as little bytes as possible. In the version of the game we play however, the limitation is the use of certain …

Blogs medium.com Colin DeCarlo 127mo ago
63
Narrowing types for static analysis

I have spent the last year moving a few big old codebases, including Composer, to PHPStan's level 8. Here are a few lessons I think I have learned in the process. Baseline + strict static analysis is the way to go I was for a while skeptical about using the baseline feature as i…

Blogs seld.be Jordi Boggiano 48mo ago
64
Selectively ignore lines in git diff

I have a things-as-code project that outputs mostly text-based formats, but a lot of them. To keep an eye on consistency, I rebuild all the outputs and dump them into a local git repository so I can very easily diff to spot any changes – which was fine until we added a bui…

Blogs lornajane.net <span class='p-author h-card'>lornajane</span> 5mo ago
65
Git renames are not renames

I consider myself pretty git-confident, I&#8217;ve worked with it a lot, taught it, been a git consultant, run engineering and various things-as-code teams. This week I had a spectactular git problem where merging one branch into another produced changes that didn&#8217;t exist …

Blogs lornajane.net <span class='p-author h-card'>lornajane</span> 6mo ago
66
CSS position: sticky now sticks to the nearest scroller on a per axis basis!

/* DL GRID @src https://codepen.io/bramus/pen/POEaXg*/ @media(min-width: 30em) { dl { display: grid; grid-template: auto / 10em 1fr; } dt { grid-column: 1; } dd { grid-column: 2; } dt, dd { margin: 0; padding: .3em .5em; border-top: 1px solid rgba(0,0,0,.1); } :is(dt, dd) > :fir…

Blogs bram.us Bramus! 4mo ago
67
Detect at-rule support in CSS with @supports at-rule(@keyword)

/* DL GRID @src https://codepen.io/bramus/pen/POEaXg*/ @media(min-width: 30em) { dl { display: grid; grid-template: auto / 10em 1fr; } dt { grid-column: 1; } dd { grid-column: 2; } dt, dd { margin: 0; padding: .3em .5em; border-top: 1px solid rgba(0,0,0,.1); } :is(dt, dd) > :fir…

Blogs bram.us Bramus! 4mo ago
68
SQLServer 2022 + PHP with Docker

A few years back I made a post on how I work with PHP + SQLServer. In the intervening years, the code samples in that post have aged like milk and no longer work.

Blogs mark-story.com 15mo ago
69
Building time limited workers with SIGALRM

Recently, I’ve been working on a system that needs to run tasks scheduled by either web requests, or other tasks. These tasks are trusted but sometimes problematic code. While developers generally write good code, we all make mistakes and the occasional slow job that can run for…

Blogs mark-story.com 18mo ago
70
Feature flagging for CakePHP

I wanted to share a new CakePHP plugin that provides feature flagging. In a Saas environment, I’ve been a long time advocate for using feature flags to release changes instead of deploys. Feature flags let you better manage release risk by allowing you deliver code with new feat…

Blogs mark-story.com 20mo ago
72
Eliminating Visual Debt

Today we're talking about Visual debt in our code. As an introduction, I suggest to watch this short tutorial about visual debt by @jeffrey_way. The concept is simple: let's take the example from Laracasts and re-visit the steps taken to remove visual debt. interface EventInterf…

Blogs ocramius.github.io 111mo ago
73
On Aggregates and Domain Service interaction

Some time ago, I was asked where I put I/O operations when dealing with aggregates. The context was a CQRS and Event Sourced architecture, but in general, the approach that I prefer also applies to most imperative ORM entity code (assuming a proper data-mapper is involved). Scen…

Blogs ocramius.github.io 115mo ago
74
Beyond the Code: Why Engineering Matters

AI can generate software faster than ever before. But speed is not the same thing as engineering. For the first time in software history, a beginner can open an AI coding tool, write a few prompts, and generate an entire application within hours — a&#8230;

Blogs heera.it Sheikh Heera 2mo ago
75
Behavior Is the New Source Code

For decades, software engineering was built around one core assumption: humans could understand software by reading the source code. That assumption shaped almost everything in engineering: The model was simple. A developer wrote code. Another developer reviewed it. Teams truste…

Blogs heera.it Sheikh Heera 2mo ago
79
Don't abuse the closures

by Pream Totaram I started to read about clean coding practices and started to wonder how they can apply to JavaScript where it is common to define a function within a function. What I started to think is, how could it be possible for a block of code to obey the Single Responsib…

Blogs dev.imagineeasy.com easybibpream 144mo ago
80
Intro to PHP extensions

These are the slides for a talk about writing PHP extensions that I gave at the Berlin PHP User Group: Extending PHP - How to mount a rocket launcher on the back of an elephant (online) (PDF version) The code I used for demos is available on github and can serve as a kind of sta…

Blogs dev.imagineeasy.com badlynamedcode 146mo ago
81
Introducing travis-artifacts.php

At Imagine Easy, we pride ourselves on building great products on a great foundation. A great foundation means to also focus on code quality, and with said quality, the right amount of tests and (of course) coding standards. Travis-CI For continuous integration and continuous de…

Blogs dev.imagineeasy.com tillinside-blog 149mo ago
82
Cleaning Code As You Go

by Yitzchak Schaffer (@yitznewton) As one of the first steps in a major new feature we are working on for EasyBib, we needed to introduce some polymorphism into the application. The polymorphic class was already implemented in another product; all that we needed to do was refact…

Blogs dev.imagineeasy.com yitznewton-blog 149mo ago
83
Maintaining Clean Boundaries

by Yitzchak Schaffer (@yitznewton) One of Uncle Bob&rsquo;s pieces of advice in Clean Code, is to protect the boundaries of your codebase from change. In practical terms, this means insulating the use of third-party libraries in your codebase by wrapping them in an adapter inter…

Blogs dev.imagineeasy.com yitznewton-blog 150mo ago
84
Turning Comments into Code

by Yitzchak Schaffer (@yitznewton) I was just reading in Clean Code: The proper use of comments is to compensate for our failure to express ourself in code. Note that I used the word failure. I meant it. Comments are always failures. We must have them because we cannot always fi…

Blogs dev.imagineeasy.com yitznewton-blog 150mo ago
85
The Angel of Refactoring

by Yitzchak Schaffer (@yitznewton) This is one of the nicest feelings in coding. You&rsquo;ve been working a couple of hours on some legacy code, with a thorny refactoring of stuff that&rsquo;s used in a couple of places. After a morning buried in the code that deals with one of…

Blogs dev.imagineeasy.com yitznewton-blog 151mo ago
86
Protecting Against XSS In RAILS - JavaScript Contexts

Recently my team was working to implement Brakeman in our CI processes to automatically scan our codebase for security vulnerabilities. Among a few other issues, it identified a handful of similar XSS vulnerabilities of a similar pattern:&lt;script type="text/javascript"> var FO…

Blogs blog.ircmaxell.com Anthony Ferrara 98mo ago
87
Ponderings on Odoriferous Syntactical Constructifications

(AKA: “Thoughts on code smells” and how “high brow” they have become)We have a habit of talking about “code smells” to indicate patterns and practices that our experience has shown can be problematic. Many of these “smells” are backed by a lot of data and really are legitimate p…

Blogs blog.ircmaxell.com Anthony Ferrara 109mo ago
88
The PHP License, Simplified

I’ve been fascinated with copyright since high school and with open source licensing for most of my career. Yes, I’m a nerd, but I really do find it compelling to think about how humans communicate ideas—through words, songs, photographs, videos, and even code—and claim ownershi…

Blogs ben.ramsey.dev Ben Ramsey 3mo ago
89
Testing the PDO_ODBC driver on macOS

Note This post was originally published on DEV. In response to Christoph’s comment on PR #6935, I wanted to check to see exactly what PHP returns when calling PDO::getAttribute() on PDO_ODBC with PDO::ATTR_SERVER_INFO and PDO::ATTR_SERVER_VERSION. Looking at the code, I could te…

Blogs ben.ramsey.dev Ben Ramsey 63mo ago
90
Building PHP Projects on AWS CodeBuild

I’ve had a great time at AWS re:Invent this week, attending sessions and hanging out with some of the ShootProof team. My favorite part of the week was the “mini con” on containers. I spent Thursday immersed in sessions dedicated to deploying Docker containers on AWS. Of course,…

Blogs ben.ramsey.dev Ben Ramsey 117mo ago
91
Hour of Code

It was dark when I pulled into the parking lot of the middle school where I would spend the next hour volunteering for the Hour of Code. I had no idea what to expect. I hadn’t spoken much with the site coordinator, and I thought 5pm was an odd time to host the event. I’ve spoken…

Blogs ben.ramsey.dev Ben Ramsey 129mo ago
92
Visualizing event streams

In my recent talk on Evil by Design, I showed how I&rsquo;ve been visualizing event streams as a means to get a better grip on how aggregates behave in production. The talk&rsquo;s scope kept me from showing the code that goes together with the examples shown. Consider this post…

Blogs jefclaes.be 129mo ago
93
Finding unused code (F#)

Coming from C#, I&rsquo;m used to the compiler warning me about unused variables. Relying on the compiler to help me with checked exceptions in F#, I noticed that unused values (and functions) would go unnoticed. Having accidentally read earlier that Haskell has a compiler flag …

Blogs jefclaes.be 137mo ago
94
Checked errors in F#

In the land of C#, exceptions are king. By definition exceptions help us deal with &ldquo;unexpected or exceptional situations that arise while a program is running&rdquo;. In that regard, we&rsquo;re often optimistic, overoptimistic. Most code bases treat errors as exceptional …

Blogs jefclaes.be 138mo ago
95
Scaling promotion codes

In our system a backoffice user can issue a promotion code for users to redeem. Redeeming a promotion code, a user receives a discount on his next purchase or a free gift. A promotion code is only active for a limited amount of time, can only be redeemed a limited amount of time…

Blogs jefclaes.be 138mo ago
96
Interview with Doug Bierer

Join host Cal Evans as he talks with PHP 8 author and trainer Doug Bierer about PHP 8, Doug&#8217;s new book, and all things happening with Doug. @bierer_doug Show Notes &quot;PHP 8 Programming Tips, Tricks and Best Practices&quot; filecms Source Code repo for Doug&#039;s book &…

Blogs voicesoftheelephpant.com cal@voicesoftheelephpant.com (Cal Evans) 54mo ago
97
Interview with Michael Bodnarchuk

Listen as host Khayrattee Wasseem talks with Michael Bodnarchuk creator of Codeception &amp; CodeceptJS. This is a deep dive into the journey of someone who started from scratch creating &amp; releasing opensource softwares. @davert Show Notes Michael Bodnarchuk on Twitter Micha…

Blogs voicesoftheelephpant.com cal@voicesoftheelephpant.com (Cal Evans) 57mo ago
98
Interview with Olatunbosun Egberinde

@bosunski Show Notes PHP Sandbox Olatunbosun Egberinde on Github From Zero to Ciroue: Introducing an Online Code Sandbox for PHP Audio This episode is sponsored by RingCentral Developers The post Interview with Olatunbosun Egberinde appeared first on Voices of the ElePHPant.

Blogs voicesoftheelephpant.com cal@voicesoftheelephpant.com (Cal Evans) 71mo ago
99
Empty or Zero Percent (0%) Code Coverage With PHPUnit and pcov

I recently updated my PHP version and, since I use Docker, I upgraded the image version to get the newer version. After doing this, my PHPUnit tests stopped reporting coverage. With v8.5 of PHPUnit I saw all the files in the report but every one was returning 0% coverage. I upgr…

Blogs archybold.com 30mo ago
100
Ruby: How to iterate "the right way"

If any of you have written code in the last year that had an explicit loop [&#8230;], you don&#8217;t understand collections.Professor David West OOP Is Dead! Long Live OODD! You may be baffled by this quote if you come from a C-flavored language such as C++ and Java, where expl…

Blogs jeromedalbert.com Jerome Dalbert 153mo ago