amelaye / biophp
Enjoy my BioPHP version !
Requires
- php: ^8.2
- doctrine/orm: ^3.6
- guzzlehttp/guzzle: ^7.15
- jms/serializer-bundle: ^5.5
- phpunit/phpunit: ^11.5
- symfony/cache: ^7.4
- symfony/config: ^7.4
- symfony/console: ^7.4
- symfony/dependency-injection: ^7.4
- symfony/error-handler: ^7.4
- symfony/event-dispatcher: ^7.4
- symfony/filesystem: ^7.4
- symfony/finder: ^7.4
- symfony/framework-bundle: ^7.4
- symfony/http-foundation: ^7.4
- symfony/http-kernel: ^7.4
- symfony/routing: ^7.4
- symfony/stopwatch: ^7.4
- symfony/string: ^7.4
- symfony/var-dumper: ^7.4
- symfony/var-exporter: ^7.4
Requires (Dev)
- doctrine/doctrine-bundle: ^2.19
- doctrine/rst-parser: ^0.5.7
- phpdocumentor/shim: ^3.10
- symfony/cache-contracts: ^3.0
- symfony/doctrine-bridge: ^7.4
- twig/twig: ^3.17
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.0
- v1.0.0
- v0.1.18
- v0.1.15
- v0.1.14
- v0.1.13
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.8
- v0.1.8-alpha
- v0.1.7
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.0
- dev-develop
- dev-feature/services_builders
- dev-feature/data-api-platform
- dev-features/reorganisation-parameters
- dev-feature/doctrine-databases
- dev-fix/testing-travis
- dev-add-license-1
This package is auto-updated.
Last update: 2026-09-20 07:59:59 UTC
README
Introduction
You can read the website of the application, with docs and informations about the project : https://www.amelayes-biophp.net.
This is my own version of BioPHP available here : http://biophp.org. It requires at least PHP 8.2 (tested up to PHP 8.5) and every framework which can work on it, as Symfony 7.
The original legacy code is included inside, and the licence is still GPL2.
It works very easily :
The application is connected with a REST API, for the Biology Data, available at : https://api.amelayes-biophp.net. If you want to use your own API, it must implements my schema API (cf. code documentation), and then you can have fun !
The BioTools (amelaye/biotools) package is working !
Content
BioPHP is actually a Symfony bundle. Create your own PHP application and run :
$ composer require amelaye/biophp
If you want to use the predefined data schema, please run after :
$ bin/console doctrine:schema:create
And then it creates the tables structure.
Using a Symfony application
You can have some examples for a Symfony application here : https://demo.amelayes-biophp.net
Using you own code (standalone)
If you have your standalone version, you can use it like this (after installing composer and creating a composer.json file) :
<?php require_once 'vendor/autoload.php'; use Amelaye\BioPHP\Domain\Sequence\Service\SequenceManager; $client = new GuzzleHttp\Client([ 'base_uri' => 'https://api.amelayes-biophp.net' ]); $serializer = JMS\Serializer\SerializerBuilder::create() ->build(); $aminoApiManager = new \Amelaye\BioPHP\Api\AminoApi($client, $serializer); $nucleotidManager = new \Amelaye\BioPHP\Api\NucleotidApi($client, $serializer); $elementManager = new \Amelaye\BioPHP\Api\ElementApi($client, $serializer); $sequenceManager = new SequenceManager($aminoApiManager, $nucleotidManager, $elementManager); $aMirrors = $sequenceManager->findMirror("AGGGAATTAAGTAAATGGTAGTGG", 6, 8, 'E'); echo "<pre>"; var_dump($aMirrors); echo "<pre>"; ?>