Posts marked with “GitHub”
Running PHPCBF Automatically with GitHub Actions
As developers, we each have a specific way that we like to format our code and we can have extremely strong feelings about our preferences. This is fine if we’re the sole developer working on a project but it can be a real problem when you’re working with a team of developers. In this situation, […]
Automating Our Tests With GitHub Actions
As developers, we need to automate as much as possible. This saves us time and money as well as keeps us from skipping steps. I used to have a project where I would run my tests manually before I push them into production. It started out taking 1 to 5 minutes and that was fine […]
Automating with GitHub Actions
The discipline of CI/CD, which increases the quality and the velocity, is essential in the software industry, both in open source and in business projects, with ever more numerous and practical tools. Successful development companies are increasingly regarding it as a mandatory skill, and we can clearly understand why once we have gotten into the […]
The Workshop: GitHub Actions for Continuous Integration
Continuous Integration (CI), or the ongoing process of integrating changes in a shared version control repository, should be a goal of every project you work on. This month, we’re going to dive into configuring GitHub Actions to build and test our PHP application. Then we’ll look at a larger scale API, which also uses GitHub […]
Self-Host Your Team’s Git With Gitolite
By Gabriel Zerbib If you wish to set up a private Git server for your personal, work, or team projects, but favor free software and simple architecture, or don’t want a service hosted by a third party, then Gitolite is the solution for you. Designed in 2005 by Linus Torvalds for the needs of the […]
The Dev Lead Trenches: Reviewing Code
Code reviews are one of the best ways to help a team ensure they’re writing the best code possible. In all of the jobs where we have done peer-lead code reviews, we have caught more bugs and had better discussions about code than in places or times where we just hammer code through the approval process. I know, I know; we all write beautiful, bug-free code, so why go through the hassle of a code review?
Signed Commits With Git
Many developers confuse platforms like GitHub with tools like Git. On the one hand, this is a bit confusing for those trying to learn the terminology we use on a daily basis. On the other hand, the visibility of GitHub—and its fantastic community features—make it easier for developers to get a handle on critical elements […]
More powerful Validation from Respect
Dirty data: nobody likes it. It’s one of the biggest problems any web developer faces, where the input given by a user must validated before it can be accepted. Without this necessary step someone could wreck all sorts of havoc on your application, whether it’s just causes errors to appear or worst case opens security holes to allow malicious activity.
XHP: Inline XML For PHP
Anyone developing with PHP quickly learns that PHP’s ability to generate HTML is both a blessing and a curse. While PHP supports the ability to generate dynamic websites and HTML, it often creates kludgy and difficult code. Facebook, one of the world’s largest consumers of PHP and fresh off their announcement of HipHop, has noted […]