Download the PHP package shoplic-kr/continy without Composer

On this page you can find all versions of the php package shoplic-kr/continy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package continy

Continy

아주 작고 간단한 워드프레스 플러그인과 테마 개발을 위한 컨테이너. 나름 의존성 주입을 지원한답니다!

목차

요구사항

설치

워드프레스 플러그인에서 composer 패키지 매니저를 사용하여 설치합니다.

시작하기

autoload.php 파일은 정확하게 덤프되었나요?

그다음 아래의 예시처럼 myPlugin() 래퍼 함수를 각자의 플러그인이나 테마에서 구현합니다. 이렇게 Continy 객체를 생성하면, 처음 호출 때 필요한 과정이 실행됩니다.

설정과 예시

워드프레스의 플러그인과 테마 개발의 핵심은 적절한 액션, 혹은 필터를 추가하는 것입니다. 액션과 필터를 추가할 때는 반드시 콜백 함수를 명시하게 되어 있는데, 이 콜백 함수에서 우리가 원하는 동작을 구현합니다.

워드프레스 코어에 우리가 원하는 기능을 구현하기 위해야, 그리고 보다 쉽게 해당 기능을 관리하기 위해 '모듈'이라는 콤포넌트를 사용합니다. 적절한 기능들을 의미적으로 묶어 하나의 독립적인 모듈로 표현하는 것입니다.

Continy는 이러한 설정을 하나의 PHP 배열로 관리합니다. 직접 설정을 배열로 입력하든지, 아니면 설정을 리턴하는 파일을 지정합니다. 아래는 그 예입니다.

두 옵션은 결과적으로 같은 동작을 합니다. 그리고 아래는 설정의 예시입니다.

테스트

워드프레스 테스트 라이브러리를 불러오기 위해 'subversion'이 필요합니다. subversion --version --quiet 명령으로 설치를 먼저 확인하세요.

그리고 composer install로 필요한 패키지를 설치합니다.

composer test:setup -- <db_name>> <db_user> <db_pass> 를 입력하세요. tests-core, tests-lib 디렉토리가 각각 생성됩니다.

혹시 설치 중간에 에러가 날 수 있습니다. 그렇다면 이 두 디렉토리를 깔끔히 지운 후 다시 스크립트를 실행하세요.

`

composer test로 유닛 테스트를 진행합니다.


All versions of continy with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
psr/container Version ^2.0
shoplic-kr/interface Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package shoplic-kr/continy contains the following files

Loading the files please wait ....