Download the PHP package enpii/wp-proj without Composer

On this page you can find all versions of the php package enpii/wp-proj. 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 wp-proj

Initialize

Development

Deploy with Docker

The Docker file is built on top of serversideup/docker-php https://github.com/serversideup/docker-php (which are ready for production according to Server Side Up team)

then the website would be available at http://127.0.0.1:19180/ (the port 19180 can be edited in .env file)

or check system info

or add Admin user

or

Working with GIT

Compiling assets (CSS, JS)

To install dependencies

Compile plugin assets

or to watch and compile

Similarly to the theme with

and watch

Working with Translation

e.g.

Notes: if you are using Yarn < 1.0, you need to add -- before arguments like this

e.g.

e.g.

Notes: Of course you can update the script (in package.json) to match your project.

Working with PHP Code Styling (PHPCS)

e.g.

you should use the relative path

e.g.

Working with Unit Test

This project uses PHPUnit and configured Codeception Test framework. You should use PHPUnit to run the test because it supports isolationProcess which allow Mockery overload, alias to happen. You can run Codeception if you want.

Creating test files

e.g

or with Codeception

this command will create the file Demoda/Test/Test.php to the path of codeception unit setting suites/tests/unit. DO REMEMBER to use the setUp() method instead of the _before() to be able to run the test file with the PHPUnit as well.

Running Unit Test

e.g. (with extra --debug option)

or you just want to see the result in the console (not an HTML file)

Notes: You can use Codeception for Unit testing as the configuration is there but Codeception does not support isolationProcess, that means the test with Mokery overload would fail.


All versions of wp-proj with dependencies

PHP Build Version
Package Version
Requires josegonzalez/dotenv Version 4.0.0
mcaskill/composer-exclude-files Version ^3.0.0
johnpbloch/wordpress-core Version ^6.0
wp-plugins/woocommerce Version ^8.0
wpackagist-theme/storefront Version ^4.0
wpackagist-theme/twentytwentyfour Version ^1.0.0
enpii/enpii-base Version *
enpii/demoda Version *
enpii/appeara-alpha Version *
php Version ^8.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 enpii/wp-proj contains the following files

Loading the files please wait ....