Download the PHP package simplydi/framework without Composer

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

SimplyDI Framework

This is a fullstack PHP Framework based out of mezzio framework (formerly, Zend Expressive).

All the documentation is present in the docs folder. You can delete the docs folder if not needed.

Tailwind CSS

Run the command below to compile compressed tailwind css.

Mezzio Skeleton and Installer

Begin developing PSR-15 middleware applications in seconds!

mezzio builds on laminas-stratigility to provide a minimalist PSR-15 middleware framework for PHP with routing, DI container, optional templating, and optional error handling capabilities.

This installer will setup a skeleton application based on mezzio by choosing optional packages based on user input as demonstrated in the following screenshot:

screenshot-installer

The user selected packages are saved into composer.json so that everyone else working on the project have the same packages installed. Configuration files and templates are prepared for first use. The installer command is removed from composer.json after setup succeeded, and all installer related files are removed.

Getting Started

Start your new Mezzio project with composer:

After choosing and installing the packages you want, go to the <project-path> and start PHP's built-in web server to verify installation:

You can then browse to http://localhost:8080.

Installing alternative packages

There is a feature to install alternative packages: Instead of entering one of the selection you can actually type the package name and version.

That feature allows you to install any alternative package you want. It has its limitations though:

Troubleshooting

If the installer fails during the composer create-project phase, please go through the following list before opening a new issue. Most issues we have seen so far can be solved by self-update and clear-cache.

  1. Be sure to work with the latest version of composer by running composer self-update.
  2. Try clearing Composer's cache by running composer clear-cache.

If neither of the above help, you might face more serious issues:

Application Development Mode Tool

This skeleton comes with laminas-development-mode. It provides a composer script to allow you to enable and disable development mode.

To enable development mode

Note: Do NOT run development mode on your production server!

Note: Enabling development mode will also clear your configuration cache, to allow safely updating dependencies and ensuring any new configuration is picked up by your application.

To disable development mode

Development mode status

Configuration caching

By default, the skeleton will create a configuration cache in data/config-cache.php. When in development mode, the configuration cache is disabled, and switching in and out of development mode will remove the configuration cache.

You may need to clear the configuration cache in production when deploying if you deploy to the same directory. You may do so using the following:

You may also change the location of the configuration cache itself by editing the config/config.php file and changing the config_cache_path entry of the local $cacheConfig variable.

Skeleton Development

This section applies only if you cloned this repo with git clone, not when you installed mezzio with composer create-project ....

If you want to run tests against the installer, you need to clone this repo and setup all dependencies with composer. Make sure you prevent composer running scripts with --no-scripts, otherwise it will remove the installer and all tests.

Please note that the installer tests remove installed config files and templates before and after running the tests.

Before contributing read the contributing guide.


All versions of framework with dependencies

PHP Build Version
Package Version
Requires php Version ~8.0.0 || ~8.1.0 || ~8.2.0
auth0/auth0-php Version ^8.7
composer/package-versions-deprecated Version ^1.10.99
dibi/dibi Version ^5.0
guzzlehttp/guzzle Version ^7.7
guzzlehttp/psr7 Version ^2.6
http-interop/http-factory-guzzle Version ^1.2
laminas/laminas-component-installer Version ^2.6 || ^3.0
laminas/laminas-config-aggregator Version ^1.6
laminas/laminas-diactoros Version ^2.24.2
laminas/laminas-pimple-config Version ^1.1.1
laminas/laminas-stdlib Version ^3.6
mezzio/mezzio Version ^3.7
mezzio/mezzio-fastroute Version ^3.0.3
mezzio/mezzio-helpers Version ^5.7
mezzio/mezzio-platesrenderer Version ^2.2
nette/caching Version ^3.2
nette/utils Version ^4.0
simplydi/dotenv Version ^1.0
simplydi/functions Version dev-main
simplydi/simplyconfig Version dev-main
simplydi/simplymarkdown Version dev-main
tracy/tracy Version ^2.10
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 simplydi/framework contains the following files

Loading the files please wait ....