Download the PHP package skwi/project-base-bundle without Composer

On this page you can find all versions of the php package skwi/project-base-bundle. 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 project-base-bundle

Deprecated Alert

This bundle is not maintained anylonger because it violates several SOLID principles.

SkwiProjectBaseBundle

Build Status

This is a bundle with some basic code I often use in my projects. Feel free to use it or enhance it.

Compatibility

The current version of the bundle is only compatible with Symfony 2.5+ Version 1.0 provides compatibility with older versions of Symfony

Setup

Install SkwiProjectBaseBundle

Simply run assuming you have installed composer (composer.phar or composer binary) :

Configuration

Register the bundle in app/AppKernel.php:

In your app/config.yml file, you may need to set up several parameters

Usage

Base Manager

This abstract class provides methods for object managed by Doctrine ORM or Doctrine ODM and MongoDb.

Philosophy

The idea is to extends this class to manage a specific entity. Other entities can be managed by an single manager but the $objectName and $repository property will be used for a default managed entity.

Project setup

It's recommended for a manager extend the class and to be injected as a service.

Methods

The method provided by the base manager are described in the class API documentation.

Password encoder

The password encoder class provides an implementation of Symfony's PasswordEncoderInterface using the algorithm defined in the app/config.yml file

It's available as a service in the container.

Text helper

The text helper is a static class.

Note : The slug method is quite basic at the moment, it might be enhance in a future update. Make sure to use 1.* version for compatibility.

Base view

A base twig view is provided y the bundle.

It loads the libraries for :

Note : The libraries are loaded form the CDN, with a local fallback for IE version inferior to IE9.

Form templates

The bundle also provide preset form templates for Bootstrap 3.

Twig extensions

TextExtension

The TextExtension provides the following Twig filters

Testing

Unit tests are written using atoum. You will get atoum, among other dependencies, when running composer install. To run tests, you will need to run the following command :

API Documentation

API documentation is generated with PHPDoc and phpdoc-md

To generate it, you will need to run the following commands :

ToDo

Known issues

Versioning

As of version 2.0.0, version tags are formated in a semantic way :

MAJOR.MINOR.PATCH.


All versions of project-base-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
symfony/framework-bundle Version >=2.1
doctrine/common Version >=2.1
pagerfanta/pagerfanta Version 1.0.*@dev
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 skwi/project-base-bundle contains the following files

Loading the files please wait ....