Download the PHP package se7enxweb/prime without Composer

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

7x Prime (v2.9) — PHP 8.5 Support (Stable; Open Source)

PHP 7x Prime GitHub issues

7x Prime (v2.9) is the continuing evolution of Symfony 2.8.52, now fully compatible with PHP 8.0 through PHP 8.5. Maintained by 7x (se7enx.com) and the open-source developer community that has relied on the Symfony 2.x component library for over a decade.


Table of Contents

  1. Project Notice
  2. Project Status
  3. Who is 7x
  4. What is 7x Prime?
  5. Architecture Overview
  6. Technology Stack
  7. Requirements
  8. Quick Start
  9. Main Features
  10. Building Pages, Routes, and DB Results
  11. Your First Bundle
  12. Installation
  13. Key CLI Reference
  14. Issue Tracker
  15. Where to Get More Help
  16. How to Contribute
  17. Donate & Support
  18. PHPUnit 11 Test Suite
  19. Copyright
  20. License

1. Project Notice

Please Note: This project is not associated with the original Symfony project, SensioLabs, or Fabien Potencier beyond attribution. It is an independent, 7x + community-driven continuation of the Symfony 2.8.52 codebase, stewarded and evolved by 7x (se7enx.com) to support PHP 8.x in production. The upstream Symfony source is MIT-licensed; 7x Prime honours that licence by publishing the full source on GitHub.


2. Project Status

The Symfony 2.8.52 codebase was the final upstream release of the Symfony 2.x line. Thousands of production applications built on this component library remained in active use because the architecture — a composable component system, powerful routing, full DI container, and Twig templating — remained sound and productive long after the upstream EOL.

7x Prime (v2.9) is the first release branch that brings this codebase fully into the PHP 8.x era.

Item Status
Upstream base Symfony 2.8.52 (last upstream release)
Branch 2.9
PHP ^8.0 — tested on PHP 8.5.6
Twig se7enxweb/twig ~1.34|~2.4
License MIT

Work in the 2.9 branch focuses on:


3. Who is 7x

7x is a North American web software corporation with over 24 years of experience building and maintaining PHP web applications and content platforms. Previously known as Brookins Consulting, 7x took on stewardship of the Symfony 2.8.52 codebase to ensure that the many applications built on it can continue to run on modern, supported PHP versions.

7x offers:


4. What is 7x Prime?

7x Prime is a component library and full-stack PHP framework forked from Symfony 2.8.52. It retains the original MVC architecture, routing engine, form system, security component, console toolkit, and Twig templating while adding:


5. Architecture Overview

Request Lifecycle


6. Technology Stack

Layer Technology
Language PHP ^8.0 (8.5.6 recommended)
Templating Twig 1.x / 2.x (via se7enxweb/twig)
HTTP Symfony HttpFoundation / HttpKernel
Routing Symfony Routing component
ORM (optional) Doctrine 2.x (via Bridge)
Forms Symfony Form component
Validation Symfony Validator (with annotations)
Console Symfony Console component
Cache APC / file-based cache
Sessions PHP native session storage (hardened)
Testing PHPUnit 4.x / 5.x + Symfony WebTestCase

7. Requirements

Requirements Summary

Requirement Minimum Recommended
PHP 8.0 8.5+
Apache 2.4 2.4 (event + PHP-FPM)
Nginx 1.18 1.24+
MySQL 8.0 8.0+
MariaDB 10.3 10.6+
PostgreSQL 14 16+
SQLite 3.0 3.35+
Composer 2.0 latest 2.x

8. Quick Start


9. Main Features


10. Building Pages, Routes, and DB Results

See INSTALL.md for full step-by-step instructions. Below is the three-minute version.

Define a route (YAML)

Write the controller

Render with Twig


11. Your First Bundle

A Bundle is the primary extension point in 7x Prime — a self-contained plugin that contributes routes, controllers, Twig templates, services, Doctrine entities, console commands, and more to the application.

11.1 Generating the Scaffold

Answer the interactive prompts:

Prompt Example value
Bundle namespace Acme/BlogBundle
Bundle name AcmeBlogBundle
Target directory src/
Configuration format yml

This creates:

11.2 Registering the Bundle

Add the bundle to app/AppKernel.php:

Mount its routes in app/config/routing.yml:

11.3 Adding a Service

Define services in Resources/config/services.yml:

Inject it into a controller via $this->get() or constructor injection:

11.4 Customising Templates

Override a bundle template by copying it into app/Resources/:

Twig's lookup order: app/Resources/BundleName/views/ first, then src/Bundle/Resources/views/. Any file placed under app/Resources/ wins automatically — no configuration required.

Extend the global base layout using Twig block inheritance:

Publish bundle assets (CSS, JS, images) to web/bundles/:

This symlinks src/AcmeBlogBundle/Resources/public/web/bundles/acmeblog/, making files available at /bundles/acmeblog/css/blog.css.

11.5 Full Bundle Directory Reference


12. Installation

See INSTALL.md for the full step-by-step guide covering:


13. Key CLI Reference


14. Issue Tracker

Submit bugs, feature requests, and improvements at: https://github.com/se7enxweb/prime/issues

If you discover a security issue, please report it responsibly by email to [email protected] rather than opening a public issue.


15. Where to Get More Help

Resource URL
Repository github.com/se7enxweb/prime
Upgrade Guide UPGRADE-2.9.md
Installation Guide INSTALL.md
Issue Tracker github.com/se7enxweb/prime/issues
Discussions github.com/se7enxweb/prime/discussions
7x Corporate se7enx.com
Support [email protected]
Sponsor 7x sponsor.se7enx.com

Recommended Books for Newcomers

Book Authors Notes
Symfony 2: The Book (symfony.com/doc) Fabien Potencier, Ryan Weaver Official documentation for Symfony 2.x — read online at symfony.com/doc/2.8
A Year With Symfony Matthias Noback Deep dive into services, DI, and extension points in Symfony 2/3
Building PHP Applications with Symfony, CakePHP, and Zend Framework Bartosz Porebski et al. Practical comparison guide; useful Symfony 2 chapters
More with Symfony Community authors Advanced techniques: performance, integration, testing, and DI
PHP Objects, Patterns, and Practice Matt Zandstra Essential OOP and design-pattern knowledge that underpins all Symfony development

16. How to Contribute

Everyone is encouraged to contribute. To get started:

  1. Fork the repository: github.com/se7enxweb/prime
  2. Clone your fork and create a feature branch:

  3. Make your changes following the existing code style
  4. Add the (c) 2004-2026 7x <[email protected]> copyright header to every modified PHP file
  5. Run the PHPUnit test suite to verify no regressions:

  6. Push and open a Pull Request against the 2.9 branch
  7. Participate in the code review — maintainers respond promptly

Please read CODE_OF_CONDUCT.md before submitting.

Bug reports, feature requests, and discussions are welcome via the issue tracker and GitHub Discussions.


17. Donate & Support

7x Prime is free and open-source. If it has saved you migration time, upgrade costs, or kept a production application running, please consider supporting the project:

Every contribution funds:


18. PHPUnit 11 Test Suite

7x Prime ships a complete test suite covering every component, bridge, and bundle in the framework, verified to pass with PHPUnit 11.5 on PHP 8.5.6 — zero errors, zero failures, zero warnings, and zero framework-attributed deprecations.

Test Suite Status

Metric Result
PHP version 8.5.6
PHPUnit version 11.5.55
Test errors 0
Test failures 0
Deprecations (framework) 0
Warnings 0
Notices 0
Tests 0 incomplete (8 genuine upstream TODO markers, accepted)

Requirements

PHPUnit 11 requires PHP 8.1 or higher and is not bundled in vendor/. Install it globally (recommended) or as a project dev dependency:

Running the Full Suite

Running a Subset

Displaying Deprecations, Warnings, and Notices

PHPUnit 11 — Key Differences from PHPUnit 4–9

PHPUnit 11 uses PHP 8 native attributes in place of docblock annotations. Both styles are accepted in 7x Prime's own test files, but attributes are preferred in new code:

Common attribute mapping:

Old annotation PHPUnit 11 attribute
@dataProvider foo #[DataProvider('foo')]
@depends testBar #[Depends('testBar')]
@group name #[Group('name')]
@covers Foo::bar #[CoversMethod(Foo::class, 'bar')]
@uses Foo #[UsesClass(Foo::class)]
@before #[Before]
@after #[After]
@requires PHP 8.1 #[RequiresPhp('8.1')]
@expectedExceptionMessage … $this->expectExceptionMessage(…) in body

Writing Tests for 7x Prime Bundles

Place test classes in src/YourBundle/Tests/ following PHPUnit conventions. Use PHPUnit\Framework\TestCase for unit tests and Symfony\Bundle\FrameworkBundle\Test\WebTestCase for full HTTP functional tests:

Run your bundle's tests:

Code Coverage

Extending the Test Suite

To add tests for framework code, create a test file in the corresponding component's Tests/ directory and follow the existing naming and structure conventions:

PHPUnit discovers tests automatically via the phpunit.xml.dist <testsuites> definition. No registration is required — place your *Test.php file in the right directory and run the suite.

See INSTALL.md — Section 15 for the full PHPUnit 11 reference guide including coverage, custom base classes, Symfony-specific test helpers, and CI integration patterns.


19. Copyright


20. License

7x Prime is released under the MIT License. See LICENSE for the full licence text.

The upstream Symfony source is also MIT-licensed. 7x Prime honours that licence by publishing the full source on GitHub.


All versions of prime with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
se7enxweb/php-parser Version dev-0.9-php8-compat
ext-xml Version *
doctrine/common Version ~2.4
se7enxweb/twig Version ~1.34|~2.4
psr/log Version ~1.0
symfony/security-acl Version ~2.7|~3.0.0
symfony/polyfill-ctype Version ~1.8
symfony/polyfill-intl-icu Version ~1.0
symfony/polyfill-mbstring Version ~1.0
symfony/monolog-bundle Version ~2.7
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 se7enxweb/prime contains the following files

Loading the files please wait ...