Download the PHP package samsonasik/ci4-album without Composer

On this page you can find all versions of the php package samsonasik/ci4-album. 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 ci4-album

Example of CodeIgniter 4 Module : Album Module

Latest Version ci build Mutation testing badge Code Coverage PHPStan Downloads

Feature

Installation

1. Get The Module

a. require via composer

OR

b. manually, by go to app/ThirdParty directory in project root, and clone this repository to the app/ThirdParty directory:

see https://help.github.com/en/github/authenticating-to-github/error-permission-denied-publickey# for common clone issue troubleshooting.

then register "Album" to App/Config/Autoload.php's psr4 property:

2. Set CI_ENVIRONMENT, base url, index page, and database config in your .env file based on your existing database (If you don't have a .env file, you can copy first from env file: cp env .env first). If the database not exists, create database first.

3. Run db migration

4. Run db seed (Optional)

5. Run development server:

6. Open in browser http://localhost:8080/album

Settings

Configure pagination per-page, by copy src/Config/Album.php file into app/Config directory, and modify the namespace to Config:

In above class, the paginationPerPage property's value can be changed.

Testing

On very first run, you need to create database, and migration for testing purpose with set phpunit.xml file from phpunit.xml.dist:

and then configure the phpunit.xml to ensure it has a match db configuration with your local dev environment. If the database not exists, create database first.

Ensure that you use different DB for testing.

After it, install the codeigniter and phpunit dependency:

Lastly, run the test:

`

Contributing

Contributions are very welcome. Please read CONTRIBUTING.md


All versions of ci4-album with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2.0 || ~8.3.0 || ~8.4.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 samsonasik/ci4-album contains the following files

Loading the files please wait ....