Category: cli

Symfony Console Beyond the Basics – Helpers and Other Tools

It’s undeniable how useful console commands can be when developing software. Not too long ago we re-introduced the Symfony Console component. This component allows us to create structured and testable CLI commands. We created some simple commands and tested them; but when our commands become bigger and more compl...

Re-Introducing Symfony Console – CLI PHP for the Uninitiated!

“The console component eases the creation of beautiful and testable command line interfaces.” This is how we are welcomed when we visit the Symfony Console component tool page. As software developers, we often feel the need to resort to command line tools. These kinds of tools are helpful when we need to do...

Can You Build a CLI Image Drawing Laravel App with These Packages?

It’s time for our monthly hunt for new open source libraries to use and contribute to! If you’re new to Sourcehunt, it’s our monthly post for promoting open source projects that seem interesting or promising and could use help in terms of Github stars or pull requests. It’s our way of giving bac...

Create Your Own Yeoman-Style Scaffolding Tool with Caporal.js

Starting a new project (especially as a JavaScript developer) can often be a repetitive and tedious process. For each new project, we normally need to add a package.json file, pull in some standard dependencies, configure them, create the correct directory structure, add various other files … The list goes on. ...

How to Pass Command Line Parameters to Gulp Tasks

I’m a big fan of Gulp.js and recent surveys indicate almost 44% of front-end developers are using Gulp today. Gulp’s simplicity is one of its most attractive features. You write a task function in your gulpfile.js: gulp.task('doSomething', () => { // do something }); then execute that task fro...

Intro to Vue.js: Vue-cli and Lifecycle Hooks

This is the third part in a five part series about the JavaScript framework, Vue.js. We’ll cover Vue-cli, and talk a little more about real-life development processes. This is not intended to be a complete guide, but rather an overview of the basics to get you up and running so you can get to know Vue.js and und...

Build a JavaScript Command Line Interface (CLI) with Node.js

As great as Node.js is for “traditional” web applications, its potential uses are far broader. Microservices, REST APIs, tooling, working with the Internet of Things and even desktop applications—it’s got your back. Another area where Node.js is really useful is for building command-line application...

Sourcehunt: Cron Management, Hackathon Starters, PHP-GUI…

Ready for a new edition of sourcehunt? Get those starring-fingers ready! lavary/crunz [15 ★] crunz is a Laravel scheduler-inspired cron manager for PHP, fully framework agnostic and independent. In many ways, it’s similar to Jobby and cron-manager, so we’ll leave the comparisons up to you… for now. Laravel Hac...

Sourcehunt PHP Xmas 2015: Give the Gift of Pull Requests!

Before we round the year up, there’s one more issue of Sourcehunt to publish, as a small Xmas gift to all the underrepresented open source projects out there. Let’s get everyone some more contributors, shall we? mindplay-dk/unbox [8 ★] There’s no shortage of container-interop compatible container implementatio...

A Beginner Splurge in Node.js

It’s 3 a.m., hands over the keyboard while staring at an empty console. The bright prompt over a dark backdrop ready, yearning to take in commands. Want to hack up Node.js for a little while? One of the exciting news about Node.js is that it runs anywhere. This opens up the stack to various ways to experiment wit...