Download the PHP package chippyash/slim-dic without Composer

On this page you can find all versions of the php package chippyash/slim-dic. 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 slim-dic

chippyash/Slim-Dic

Quality Assurance

Coming soon!

What?

Provides Symfony Dependency Injection for a Slim Application

Also provides a minimalist Controller pattern class for use in your applications.

For an example application that uses this library, please see Slim-DIC Example

Why?

The Slim framework is great for lightweight sites but lacks the ease of creating testable, adaptable code that can be found when adopting a strict DI approach to development.

This small library supports the integration of the easy to use, yet powerful Symfony version of a DI container with the lightweight Slim Framework, giving you the ability to create great, maintainable and configurable web sites quickly.

How?

Changing the library

  1. fork it
  2. write the test
  3. amend it
  4. do a pull request

Found a bug you can't figure out?

  1. fork it
  2. write the test
  3. do a pull request

NB. Make sure you rebase to HEAD before your pull request

Where?

The library is hosted at Github. It is available at Packagist.org

See The (PHP) Matrix for more PHP packages from this author.

Installation

Install Composer

For production

add

    "chippyash/slim-dic": "~1.0"

to your composer.json "requires" section

For development

Clone this repo, and then run Composer in local repo root to pull in dependencies

    git clone [email protected]:chippyash/Slim-Dic.git Slimdic
    cd Slimdic
    composer install --dev

To run the tests:

    cd Slimdic
    vendor/bin/phpunit -c test/phpunit.xml test/

License

This software library is released under the BSD 3 Clause license

This software library is Copyright (c) 2014-2018, Ashley Kitson, UK

History

V1.0.0 Initial release

V1.0.1 Refactor getting controller name

V2.0.0 Change of license from GPL V3 to BSD 3 Clause, php version dependency update


All versions of slim-dic with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
slim/slim Version ~2.0
symfony/filesystem Version ~2.6
symfony/dependency-injection Version ~2.6
symfony/config Version ~2.6
chippyash/strong-type Version ~2.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 chippyash/slim-dic contains the following files

Loading the files please wait ....