

A Composer ready starter kit
source link: http://keepcoding.ehsanabbasi.com/php/composer-ready-starter-kit/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

A Composer ready starter kit
After doing a few open-source projects I found myself doing some steps again and again to setup a new repository on GitHub. I live in PHP world and what I normally do is to create a Composer package along with CI operations and bunch of automated code review tools.
This might seem like an overkill specially for small projects but believe or not it pays off as the project grows. So I came up with a Composer ready starter kit to help speed up starting PHP projects on GitHub which can be found here. It includes:
composer.json
to publish your package on https://packagist.org and also to manage dependencies- Travis CI configuration file
- Scrutinizer CI configuration file
- Code Climate configuration file
- PHPUnit configuration file
- PHP Mess Detector configuration file
- MIT License
- Directory structure for source code and tests
- Readme badges
- StyleCI
- Codacy
To get started:
- Pull the repo
- Rename any
php-base-project
andPhpBaseProject
with your project name and appropriate namespace - Create an account on Travis, Scrutinizer and Code Climate and allow access to your repository
- Update
composer.json
with the relevant information to your project - Update .travis.yml with your repository token from Code Climate
- Update readme file with the right path to the badges
- Update author name in the license
Recommend
-
39
A look at the motivations, design, and goals for Redux Starter Kit Today I am extremely excited to announce that:
-
12
Webpack/TypeScript/React starter kit as of 2020 March 03, 2020 ...
-
8
Virtual Event Starter Kit Demo: https://demo.vercel.events This virtual event starter kit was used to run
-
14
My best Amazon Web Services — a practical guide All Things Distributed from Werner Vogels (CTO of Amazon.com)
-
19
uselessdev in Uncategorized July 5, 2016July 6, 2016 796 W...
-
10
Spray with Akka Starter Kit Reading Time: 3 minutesOver the last few months, Spray is fast becoming the de-facto for all the products that we are working on. Irrespective of whethe...
-
19
What Makes A Good Vape Starter Kit For Beginners What is a starter...
-
6
Microsoft Power Platform Center of Excellence (CoE) Starter Kit The Center of Excellence (CoE) Starter Kit is a set of templates that are designed to help develop a strategy for adopting, maintaining and supporting the Power Platform...
-
8
A question we get in the Infinite Red Slack Community fairly often is:Hi, I’m new to React Native. Is Ignite for beginners or experts?I’m going to answer thi...
-
11
Enterprise-ready Saas Starter KitKickstart enterprise development with Next.js Starter KitEnterprise-ready SaaS Starter Kit is a Next.js based SaaS Starter Kit that can save hundr...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK