Download the PHP package clancats/framework without Composer

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

ClanCats Framework 2.1

Build Status License Downloads

ClanCatsFramework, painless web development no overkill. HMVC PHP framework.

This is the Application repository if you like to contribute take a look at the core repository: https://github.com/ClanCats/Core

Philosophy

There are a many brilliant frameworks out there and I don't want to reinvent the wheel. My vision of CCF is a:

full stack php framework.

User friendly or developer friendly is the core philosophy. The trick should be to keep the balance between the simplest and the best solution for a problem. I've been working on a lot big applications using Zend and Symfony2 and there was always the point where I looked at the code and thought:

"wait so to generate a random string I need a class extending a container wich provides me the util service factory to create a new string util instance where i can execute the random string method on?".

Often it's a complete overkill to reach a simple goal using these frameworks. So the goal of CCF is to make development comfortable instead of following 100% a convetion.

History

This PHP framework was originally build 2010 as the core of a social Plattform called "ClanCats". In 2012 I decided to split the core and the application apart, so CCF was born. After developing several application on CCF v1.0, the point has come to rethink the core structure and rewrite the entire thing to a new version that should go open source.

Installation

Setting up a new instance of CCF2 can be done simply with one command, or, in other words, with composer.

Run the following command to create a new CCF project.

Composer not installed? Read the installation guide here: https://getcomposer.org/download/

Requirements

To run this framework please check the following requirements:

Permissions

For some operations ( storage, packtacular etc. ) we may need to grant write permissions in the file system.

Storage: /CCF/storage/
Packtacular: /public/assets/packtacular/

You can also set these using the cli doctor.

If you get an error setting the permissions try to run the that command with sudo.


Structure

In the new CCF2 folder structure we split some things apart to make deployment much more efficient.


Configuration

There is usually no configuration required to just run the framework (depending on your environment). We do, however, recommend to do some configuration before you start developing your awesome application.

Boot

The boot configuration allow you change the core behavior of the CCF.

Environment

Define how your application detects the environment.
You can create an entirely new script of your own to return the runtime environment or you can make use of the env detector.

Check out the environment docs: Environment

Paths

Plan on running multiple CCF installations on one machine? Using just a single core? This is no problem because you can modify the CCF paths.

You are also free to add new paths. Adding a new element to the array will add the path to runtime and also create a path define:

main config

You will find an initial main configuration file under:

Security Salt

At several points CCF is going to encrypt certain things by employing salt. You should define your own salt to keep your application secure.

You can generate a random salt using the following command:

When using composer to create a new project the salt is generated automatically.

Otherwise you will find the key under security in the main configuration:

Path offset

Maybe you would like to run your application from somewhere other than the domain root, e.g. from a subfolder. forums.

For everything else, check out the main configuration documents: Configuration


Routing

Depending on your system you will need to set something up so that all public requests end on the public/index.php file.

CCF ships with an .htaccess for apache systems with mod_rewrite enabled:


All versions of framework with dependencies

PHP Build Version
Package Version
Requires clancats/core 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 clancats/framework contains the following files

Loading the files please wait ....