承接 alexbonavila/learning-composer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

alexbonavila/learning-composer

最新稳定版本:v1.0

Composer 安装命令:

composer create-project alexbonavila/learning-composer

包简介

This is a project to learn how composer works

README 文档

README

Introduction

This project is part of a set of roadmaps, where this is a small gear intended to collect a series of concepts, related to composer.

Specifically, the father of this project can be found here:

Objective

The objective of this project is to remember and record the knowledge that the autoe has about composer, following the parent roadmap.

  • Basic Commands: require, install, update, ...
  • Package version control
  • Packagist
  • Autoload

Instructions and Concepts

In this section, the commands and concepts used will be listed and explained in general terms.

Basic Commands

The init command is used to start a new project using the composer setup:

$ composer init

The require command is used to add new dependencies to a project:

$ composer require <pakage>

To add the nesbot/carbon package, use the following command:

$ composer require nesbot/carbon

The install command is used to install all the dependencies defined in composer.json file:

$ composer install

The update command updates the dependencies to their latest allowed versions within the limits are defined in composer.json:

$ composer update

Package version control

Packages have been installed in composer.json, just to learn the different forms of package version control.

Packagist

The package has been moved for better practices, composer.json has also been modified and a repository has been created in packagist.

Autoload

The section is finished using some autoload options, and completed with some basic code:

Command to try code:

$ php public/index.php

Final Execution

Bibliography

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-11-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固