repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/TravelingSalesmanProblem/Bruteforce.php
src/TravelingSalesmanProblem/Bruteforce.php
<?php namespace Graphp\Algorithms\TravelingSalesmanProblem; use Graphp\Algorithms\TravelingSalesmanProblem\MinimumSpanningTree as AlgorithmTspMst; use Graphp\Graph\Edge; use Graphp\Graph\Exception\UnexpectedValueException; use Graphp\Graph\Exception\UnderflowException; use Graphp\Graph\Graph; use Graphp\Graph\Set\Edg...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/TravelingSalesmanProblem/NearestNeighbor.php
src/TravelingSalesmanProblem/NearestNeighbor.php
<?php namespace Graphp\Algorithms\TravelingSalesmanProblem; use Graphp\Graph\Exception\UnexpectedValueException; use Graphp\Graph\Set\Edges; use Graphp\Graph\Vertex; use SplPriorityQueue; class NearestNeighbor extends Base { /** * @var Vertex */ private $vertex; public function __construct(Ver...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/TravelingSalesmanProblem/MinimumSpanningTree.php
src/TravelingSalesmanProblem/MinimumSpanningTree.php
<?php namespace Graphp\Algorithms\TravelingSalesmanProblem; use Graphp\Algorithms\MinimumSpanningTree\Kruskal as MstKruskal; use Graphp\Algorithms\Search\BreadthFirst as SearchDepthFirst; use Graphp\Graph\Graph; use Graphp\Graph\Set\Edges; class MinimumSpanningTree extends Base { /** * @var Graph */ ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/MaximumMatching/Base.php
src/MaximumMatching/Base.php
<?php namespace Graphp\Algorithms\MaximumMatching; use Graphp\Algorithms\BaseGraph; use Graphp\Graph\Exception\UnexpectedValueException; use Graphp\Graph\Graph; use Graphp\Graph\Set\Edges; abstract class Base extends BaseGraph { /** * Get the count of edges that are in the match * * @return int ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/MaximumMatching/Flow.php
src/MaximumMatching/Flow.php
<?php namespace Graphp\Algorithms\MaximumMatching; use Graphp\Algorithms\Directed; use Graphp\Algorithms\Groups; use Graphp\Algorithms\MaxFlow\EdmondsKarp as MaxFlowEdmondsKarp; use Graphp\Graph\Exception\UnexpectedValueException; use Graphp\Graph\Set\Edges; use Graphp\Graph\Vertex; class Flow extends Base { pub...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/Tree/Base.php
src/Tree/Base.php
<?php namespace Graphp\Algorithms\Tree; use Graphp\Algorithms\BaseGraph; use Graphp\Algorithms\Degree; use Graphp\Graph\Graph; use Graphp\Graph\Set\Vertices; use Graphp\Graph\Vertex; /** * Abstract base class for tree algorithms * * This abstract base class provides the base interface for working with * graphs t...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/Tree/InTree.php
src/Tree/InTree.php
<?php namespace Graphp\Algorithms\Tree; use Graphp\Algorithms\Tree\BaseDirected as DirectedTree; use Graphp\Graph\Exception\UnexpectedValueException; use Graphp\Graph\Vertex; /** * Alternative InTree implementation where Edges "point towards" root Vertex * * ROOT * ^ ^ * / \ * ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/Tree/OutTree.php
src/Tree/OutTree.php
<?php namespace Graphp\Algorithms\Tree; use Graphp\Algorithms\Tree\BaseDirected as DirectedTree; use Graphp\Graph\Exception\UnexpectedValueException; use Graphp\Graph\Vertex; /** * Usual OutTree implementation where Edges "point away" from root Vertex * * ROOT * / \ * A <--/ \--> B * ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/Tree/Undirected.php
src/Tree/Undirected.php
<?php namespace Graphp\Algorithms\Tree; use Graphp\Algorithms\Tree\Base as Tree; use Graphp\Graph\EdgeUndirected; use Graphp\Graph\Exception\UnexpectedValueException; use Graphp\Graph\Set\Vertices; use Graphp\Graph\Vertex; /** * Undirected tree implementation * * An undirected tree is a connected Graph (single co...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/Tree/BaseDirected.php
src/Tree/BaseDirected.php
<?php namespace Graphp\Algorithms\Tree; use Graphp\Algorithms\Tree\Base as Tree; use Graphp\Graph\Exception\UnderflowException; use Graphp\Graph\Exception\UnexpectedValueException; use Graphp\Graph\Set\Vertices; use Graphp\Graph\Vertex; /** * Abstract algorithm base class for working with directed, rooted trees * ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/MaxFlow/EdmondsKarp.php
src/MaxFlow/EdmondsKarp.php
<?php namespace Graphp\Algorithms\MaxFlow; use Graphp\Algorithms\Base; use Graphp\Algorithms\ResidualGraph; use Graphp\Algorithms\ShortestPath\BreadthFirst; use Graphp\Graph\EdgeDirected; use Graphp\Graph\Exception\InvalidArgumentException; use Graphp\Graph\Exception\OutOfBoundsException; use Graphp\Graph\Exception\U...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/Search/BreadthFirst.php
src/Search/BreadthFirst.php
<?php namespace Graphp\Algorithms\Search; use Graphp\Graph\Set\Vertices; class BreadthFirst extends Base { /** * @param int $maxDepth * @return Vertices */ public function getVertices($maxDepth = PHP_INT_MAX) { $queue = array($this->vertex); // to not add vertices twice in ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/Search/Base.php
src/Search/Base.php
<?php namespace Graphp\Algorithms\Search; use Graphp\Algorithms\BaseVertex; use Graphp\Graph\Exception\InvalidArgumentException; use Graphp\Graph\Set\Vertices; use Graphp\Graph\Vertex; abstract class Base extends BaseVertex { const DIRECTION_FORWARD = 0; const DIRECTION_REVERSE = 1; const DIRECTION_BOTH ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/Search/DepthFirst.php
src/Search/DepthFirst.php
<?php namespace Graphp\Algorithms\Search; use Graphp\Graph\Set\Vertices; class DepthFirst extends Base { /** * calculates an iterative depth-first search * * @return Vertices */ public function getVertices() { $visited = array(); $todo = array($this->vertex); w...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/MinimumSpanningTree/Base.php
src/MinimumSpanningTree/Base.php
<?php namespace Graphp\Algorithms\MinimumSpanningTree; use Graphp\Algorithms\Base as AlgorithmBase; use Graphp\Graph\Edge; use Graphp\Graph\Graph; use Graphp\Graph\Set\Edges; use SplPriorityQueue; /** * Abstract base class for minimum spanning tree (MST) algorithms * * A minimum spanning tree of a graph is a subg...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/MinimumSpanningTree/Prim.php
src/MinimumSpanningTree/Prim.php
<?php namespace Graphp\Algorithms\MinimumSpanningTree; use Graphp\Graph\Edge; use Graphp\Graph\Exception\UnexpectedValueException; use Graphp\Graph\Set\Edges; use Graphp\Graph\Vertex; use SplPriorityQueue; class Prim extends Base { /** * @var Vertex */ private $startVertex; public function __c...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/MinimumSpanningTree/Kruskal.php
src/MinimumSpanningTree/Kruskal.php
<?php namespace Graphp\Algorithms\MinimumSpanningTree; use Graphp\Graph\Edge; use Graphp\Graph\Exception\UnexpectedValueException; use Graphp\Graph\Graph; use Graphp\Graph\Set\Edges; use SplPriorityQueue; class Kruskal extends Base { /** * @var Graph */ private $graph; public function __constr...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/Property/GraphProperty.php
src/Property/GraphProperty.php
<?php namespace Graphp\Algorithms\Property; use Graphp\Algorithms\BaseGraph; /** * Simple algorithms for working with Graph properties * * @link https://en.wikipedia.org/wiki/Graph_property */ class GraphProperty extends BaseGraph { /** * checks whether this graph has no edges * * Also known a...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/src/Property/WalkProperty.php
src/Property/WalkProperty.php
<?php namespace Graphp\Algorithms\Property; use Graphp\Algorithms\Base as BaseAlgorithm; use Graphp\Algorithms\Loop as AlgorithmLoop; use Graphp\Graph\Walk; /** * Simple algorithms for working with Walk properties * * @see GraphProperty */ class WalkProperty extends BaseAlgorithm { /** * the Walk to ope...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/DegreeTest.php
tests/DegreeTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\Degree as AlgorithmDegree; use Graphp\Graph\Exception\UnderflowException; use Graphp\Graph\Exception\UnexpectedValueException; use Graphp\Graph\Graph; class DegreeTest extends TestCase { public function testGraphEmpty() { $graph = new Gra...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/ConnectedComponentsTest.php
tests/ConnectedComponentsTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\ConnectedComponents as AlgorithmConnected; use Graphp\Graph\Graph; class ConnectedComponentsTest extends TestCase { public function testNullGraph() { $graph = new Graph(); $alg = new AlgorithmConnected($graph); $this->as...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/CompleteTest.php
tests/CompleteTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\Complete as AlgorithmComplete; use Graphp\Graph\Graph; class CompleteTest extends TestCase { public function testGraphEmptyK0() { $graph = new Graph(); $alg = new AlgorithmComplete($graph); $this->assertTrue($alg->isComp...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/BipartitTest.php
tests/BipartitTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\Bipartit as AlgorithmBipartit; use Graphp\Graph\Graph; class BipartitTest extends TestCase { public function testGraphEmpty() { $graph = new Graph(); $alg = new AlgorithmBipartit($graph); $this->assertTrue($alg->isBipart...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/TestCase.php
tests/TestCase.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Graph\Edge; use Graphp\Graph\EdgeDirected; use Graphp\Graph\Graph; use Graphp\Graph\Vertex; use PHPUnit\Framework\TestCase as BaseTestCase; class TestCase extends BaseTestCase { protected function assertGraphEquals(Graph $expected, Graph $actual) { ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/DetectNegativeCycleTest.php
tests/DetectNegativeCycleTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\DetectNegativeCycle; use Graphp\Graph\Graph; class DetectNegativeCycleTest extends TestCase { public function testNullGraph() { $graph = new Graph(); $alg = new DetectNegativeCycle($graph); $this->assertFalse($alg->hasCy...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/ResidualGraphTest.php
tests/ResidualGraphTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\ResidualGraph; use Graphp\Graph\Graph; class ResidualGraphTest extends TestCase { public function testGraphEmpty() { $graph = new Graph(); $alg = new ResidualGraph($graph); $residual = $alg->createGraph(); $this-...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/LoopTest.php
tests/LoopTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\Loop as AlgorithmLoop; use Graphp\Graph\Graph; class LoopTest extends TestCase { public function testGraphEmpty() { $graph = new Graph(); $alg = new AlgorithmLoop($graph); $this->assertFalse($alg->hasLoop()); } ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/ParallelTest.php
tests/ParallelTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\Parallel as AlgorithmParallel; use Graphp\Graph\Graph; class ParallelTest extends TestCase { public function testGraphEmpty() { $graph = new Graph(); $alg = new AlgorithmParallel($graph); $this->assertFalse($alg->hasEdge...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/WeightTest.php
tests/WeightTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\Weight as AlgorithmWeight; use Graphp\Graph\Graph; class WeightTest extends TestCase { public function testGraphEmpty() { $graph = new Graph(); $alg = new AlgorithmWeight($graph); $this->assertEquals(null, $alg->getWeigh...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/DirectedTest.php
tests/DirectedTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\Directed as AlgorithmDirected; use Graphp\Graph\Graph; class DirectedTest extends TestCase { public function testGraphEmpty() { $graph = new Graph(); $alg = new AlgorithmDirected($graph); $this->assertFalse($alg->hasDire...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/EulerianTest.php
tests/EulerianTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\Eulerian as AlgorithmEulerian; use Graphp\Graph\Graph; class EulerianTest extends TestCase { public function testGraphEmpty() { $graph = new Graph(); $alg = new AlgorithmEulerian($graph); $this->assertFalse($alg->hasCycl...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/GroupsTest.php
tests/GroupsTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\Groups as AlgorithmGroups; use Graphp\Graph\Graph; class GroupsTest extends TestCase { public function testGraphEmpty() { $graph = new Graph(); $alg = new AlgorithmGroups($graph); $this->assertEquals(array(), $alg->getGr...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/TopologicalSortTest.php
tests/TopologicalSortTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\TopologicalSort; use Graphp\Graph\Graph; class TopologicalSortTest extends TestCase { public function testGraphEmpty() { $graph = new Graph(); $alg = new TopologicalSort($graph); $this->assertInstanceOf('Graphp\Graph\Set...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/FlowTest.php
tests/FlowTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\Flow as AlgorithmFlow; use Graphp\Graph\Graph; class FlowTest extends TestCase { public function testGraphEmpty() { $graph = new Graph(); $alg = new AlgorithmFlow($graph); $this->assertFalse($alg->hasFlow()); $th...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/SymmetricTest.php
tests/SymmetricTest.php
<?php namespace Graphp\Tests\Algorithms; use Graphp\Algorithms\Symmetric as AlgorithmSymmetric; use Graphp\Graph\Graph; class SymmetricTest extends TestCase { public function testGraphEmpty() { $graph = new Graph(); $alg = new AlgorithmSymmetric($graph); $this->assertTrue($alg->isSy...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/ShortestPath/DijkstraTest.php
tests/ShortestPath/DijkstraTest.php
<?php namespace Graphp\Tests\Algorithms\ShortestPath; use Graphp\Algorithms\ShortestPath\Dijkstra; use Graphp\Graph\Graph; use Graphp\Graph\Vertex; class DijkstraTest extends BaseShortestPathTest { protected function createAlg(Vertex $vertex) { return new Dijkstra($vertex); } public function...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/ShortestPath/BreadthFirstTest.php
tests/ShortestPath/BreadthFirstTest.php
<?php namespace Graphp\Tests\Algorithms\ShortestPath; use Graphp\Algorithms\ShortestPath\BreadthFirst; use Graphp\Graph\Graph; use Graphp\Graph\Vertex; class BreadthFirstTest extends BaseShortestPathTest { protected function createAlg(Vertex $vertex) { return new BreadthFirst($vertex); } pub...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/ShortestPath/BaseShortestPathTest.php
tests/ShortestPath/BaseShortestPathTest.php
<?php namespace Graphp\Tests\Algorithms\ShortestPath; use Graphp\Algorithms\ShortestPath\Base as ShortestPathAlg; use Graphp\Graph\Graph; use Graphp\Graph\Vertex; use Graphp\Tests\Algorithms\TestCase; abstract class BaseShortestPathTest extends TestCase { /** * * @param Vertex $vertex * @return Sh...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/ShortestPath/MooreBellmanFordTest.php
tests/ShortestPath/MooreBellmanFordTest.php
<?php namespace Graphp\Tests\Algorithms\ShortestPath; use Graphp\Algorithms\ShortestPath\MooreBellmanFord; use Graphp\Graph\Graph; use Graphp\Graph\Vertex; class MooreBellmanFordTest extends BaseShortestPathTest { protected function createAlg(Vertex $vertex) { return new MooreBellmanFord($vertex); ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/MinimumCostFlow/CycleCancellingTest.php
tests/MinimumCostFlow/CycleCancellingTest.php
<?php namespace Graphp\Tests\Algorithms\MinimumCostFlow; use Graphp\Algorithms\MinimumCostFlow\CycleCanceling; use Graphp\Graph\Graph; class CycleCancellingTest extends BaseMcfTest { protected function createAlgorithm(Graph $graph) { return new CycleCanceling($graph); } }
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/MinimumCostFlow/BaseMcfTest.php
tests/MinimumCostFlow/BaseMcfTest.php
<?php namespace Graphp\Tests\Algorithms\MinimumCostFlow; use Graphp\Algorithms\MinimumCostFlow\Base; use Graphp\Graph\Graph; use Graphp\Tests\Algorithms\TestCase; abstract class BaseMcfTest extends TestCase { /** * * @param Graph $graph * @return Base */ abstract protected function create...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/MinimumCostFlow/SuccessiveShortestPathTest.php
tests/MinimumCostFlow/SuccessiveShortestPathTest.php
<?php namespace Graphp\Tests\Algorithms\MinimumCostFlow; use Graphp\Algorithms\MinimumCostFlow\SuccessiveShortestPath; use Graphp\Graph\Graph; class SuccessiveShortestPathTest extends BaseMcfTest { protected function createAlgorithm(Graph $graph) { return new SuccessiveShortestPath($graph); } }
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/TravelingSalesmanProblem/BruteforceTest.php
tests/TravelingSalesmanProblem/BruteforceTest.php
<?php namespace Graphp\Tests\Algorithms\TravelingSalesmanProblem; use Graphp\Algorithms\TravelingSalesmanProblem\Bruteforce; use Graphp\Graph\Graph; use Graphp\Tests\Algorithms\TestCase; class BruteforceTest extends TestCase { public function testGetWeightReturnsExpectedWeightForSimpleCycle() { $grap...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/MaximumMatching/FlowTest.php
tests/MaximumMatching/FlowTest.php
<?php namespace Graphp\Tests\Algorithms\MaximumMatching; use Graphp\Algorithms\MaximumMatching\Flow; use Graphp\Graph\Graph; use Graphp\Tests\Algorithms\TestCase; class FlowTest extends TestCase { // /** // * run algorithm with small graph and check result against known result // */ // public funct...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/Tree/OutTreeTest.php
tests/Tree/OutTreeTest.php
<?php namespace Graphp\Tests\Algorithms\Tree; use Graphp\Algorithms\Tree\OutTree; use Graphp\Graph\Graph; class OutTreeTest extends BaseDirectedTest { protected function createGraphTree() { // c1 <- root -> c2 $graph = new Graph(); $root = $graph->createVertex(); $c1 = $graph...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/Tree/InTreeTest.php
tests/Tree/InTreeTest.php
<?php namespace Graphp\Tests\Algorithms\Tree; use Graphp\Algorithms\Tree\InTree; use Graphp\Graph\Graph; class InTreeTest extends BaseDirectedTest { protected function createGraphTree() { // c1 -> root <- c2 $graph = new Graph(); $root = $graph->createVertex(); $c1 = $graph->...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/Tree/UndirectedTest.php
tests/Tree/UndirectedTest.php
<?php namespace Graphp\Tests\Algorithms\Tree; use Graphp\Algorithms\Tree\Undirected; use Graphp\Graph\Graph; use Graphp\Tests\Algorithms\TestCase; class UndirectedTest extends TestCase { protected function createTree(Graph $graph) { return new Undirected($graph); } public function testNullGr...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/Tree/BaseDirectedTest.php
tests/Tree/BaseDirectedTest.php
<?php namespace Graphp\Tests\Algorithms\Tree; use Graphp\Algorithms\Tree\BaseDirected; use Graphp\Graph\Graph; use Graphp\Graph\Set\Vertices; use Graphp\Tests\Algorithms\TestCase; abstract class BaseDirectedTest extends TestCase { /** * * @param Graph $graph * @return BaseDirected */ abst...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/MaxFlow/EdmondsKarpTest.php
tests/MaxFlow/EdmondsKarpTest.php
<?php namespace Graphp\Tests\Algorithms\MaxFlow; use Graphp\Algorithms\MaxFlow\EdmondsKarp as AlgorithmMaxFlowEdmondsKarp; use Graphp\Graph\Graph; use Graphp\Tests\Algorithms\TestCase; class EdmondsKarpTest extends TestCase { public function testEdgeDirected() { // 0 -[0/10]-> 1 $graph = new ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/Search/BreadthFirstTest.php
tests/Search/BreadthFirstTest.php
<?php namespace Graphp\Tests\Algorithms\Search; use Graphp\Algorithms\Search\BreadthFirst; use Graphp\Graph\Graph; use Graphp\Tests\Algorithms\TestCase; class BreadthFirstTest extends TestCase { public function providerMaxDepth() { return array( "simple path (no limit)" => array( ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/MinimumSpanningTree/PrimTest.php
tests/MinimumSpanningTree/PrimTest.php
<?php namespace Graphp\Tests\Algorithms\MinimumSpanningTree; use Graphp\Algorithms\MinimumSpanningTree\Prim; use Graphp\Graph\Vertex; class PrimTest extends BaseMstTest { protected function createAlg(Vertex $vertex) { return new Prim($vertex); } }
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/MinimumSpanningTree/KruskalTest.php
tests/MinimumSpanningTree/KruskalTest.php
<?php namespace Graphp\Tests\Algorithms\MinimumSpanningTree; use Graphp\Algorithms\MinimumSpanningTree\Kruskal; use Graphp\Graph\Graph; use Graphp\Graph\Vertex; class KruskalTest extends BaseMstTest { protected function createAlg(Vertex $vertex) { return new Kruskal($vertex->getGraph()); } p...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/MinimumSpanningTree/BaseMstTest.php
tests/MinimumSpanningTree/BaseMstTest.php
<?php namespace Graphp\Tests\Algorithms\MinimumSpanningTree; use Graphp\Algorithms\MinimumSpanningTree\Base as MstBase; use Graphp\Graph\Graph; use Graphp\Graph\Vertex; use Graphp\Tests\Algorithms\TestCase; abstract class BaseMstTest extends TestCase { /** * @param Vertex $vertex * @return MstBase ...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/Property/PropertyGraphTest.php
tests/Property/PropertyGraphTest.php
<?php namespace Graphp\Tests\Algorithms\Property; use Graphp\Algorithms\Property\GraphProperty; use Graphp\Graph\Graph; use Graphp\Tests\Algorithms\TestCase; class PropertyGraphTest extends TestCase { public function testEmptyIsEdgeless() { $graph = new Graph(); $alg = new GraphProperty($gra...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
graphp/algorithms
https://github.com/graphp/algorithms/blob/269389305c94ad9b72b35a9f798ed70c1f708fc2/tests/Property/WalkPropertyTest.php
tests/Property/WalkPropertyTest.php
<?php namespace Graphp\Tests\Algorithms\Property; use Graphp\Algorithms\Property\WalkProperty; use Graphp\Graph\Graph; use Graphp\Graph\Walk; use Graphp\Tests\Algorithms\TestCase; class WalkPropertyTest extends TestCase { public function testTrivialGraph() { $graph = new Graph(); $v1 = $graph...
php
MIT
269389305c94ad9b72b35a9f798ed70c1f708fc2
2026-01-05T04:40:43.543752Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/CoreSphereConsoleBundle.php
CoreSphereConsoleBundle.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle; use CoreSphere\ConsoleBundle\DependencyInj...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Routing/Loader.php
Routing/Loader.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Routing; use Symfony\Component\Config\Loade...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Formatter/HtmlOutputFormatterDecorator.php
Formatter/HtmlOutputFormatterDecorator.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Formatter; use Symfony\Component\Console\Fo...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Contract/Executer/CommandExecuterInterface.php
Contract/Executer/CommandExecuterInterface.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Contract\Executer; /** * Takes a string to...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Output/StringOutput.php
Output/StringOutput.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Output; use Symfony\Component\Console\Outpu...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Controller/ConsoleController.php
Controller/ConsoleController.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Controller; use CoreSphere\ConsoleBundle\Co...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/DependencyInjection/Extension/CoreSphereConsoleExtension.php
DependencyInjection/Extension/CoreSphereConsoleExtension.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\DependencyInjection\Extension; use Symfony\...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/DataCollector/DataCollector.php
DataCollector/DataCollector.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\DataCollector; use Symfony\Component\HttpFo...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Console/ApplicationFactory.php
Console/ApplicationFactory.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Console; use Symfony\Bundle\FrameworkBundle...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Tests/Routing/LoaderTest.php
Tests/Routing/LoaderTest.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Tests\Routing; use CoreSphere\ConsoleBundle...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Tests/Formatter/HtmlOutputFormatterDecoratorTest.php
Tests/Formatter/HtmlOutputFormatterDecoratorTest.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Tests\Formatter; use CoreSphere\ConsoleBund...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Tests/Output/StringOutputTest.php
Tests/Output/StringOutputTest.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Tests\Output; use CoreSphere\ConsoleBundle\...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Tests/Controller/ConsoleControllerTest.php
Tests/Controller/ConsoleControllerTest.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Tests\Controller; use CoreSphere\ConsoleBun...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Tests/DependencyInjection/Extension/CoreSphereConsoleExtensionTest.php
Tests/DependencyInjection/Extension/CoreSphereConsoleExtensionTest.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Tests\DependencyInjection\Extension; use Co...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Tests/Source/KernelWithBundlesWithCommands.php
Tests/Source/KernelWithBundlesWithCommands.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Tests\Source; use Doctrine\Bundle\FixturesB...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Tests/DataCollector/DataCollectorTest.php
Tests/DataCollector/DataCollectorTest.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Tests\DataCollector; use CoreSphere\Console...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Tests/Console/ApplicationFactoryTest.php
Tests/Console/ApplicationFactoryTest.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Tests\Console; use CoreSphere\ConsoleBundle...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Tests/Executer/CommandExecuterTest.php
Tests/Executer/CommandExecuterTest.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Tests\Executer; use CoreSphere\ConsoleBundl...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Tests/Executer/CommandExecutorSource/SomeKernel.php
Tests/Executer/CommandExecutorSource/SomeKernel.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Tests\Executer\CommandExecutorSource; use S...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
CoreSphere/ConsoleBundle
https://github.com/CoreSphere/ConsoleBundle/blob/19679d097fb9383d54804de8392d1bfd72307c4b/Executer/CommandExecuter.php
Executer/CommandExecuter.php
<?php /* * This file is part of the CoreSphereConsoleBundle. * * (c) Laszlo Korte <me@laszlokorte.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CoreSphere\ConsoleBundle\Executer; use CoreSphere\ConsoleBundle\Cont...
php
BSD-3-Clause
19679d097fb9383d54804de8392d1bfd72307c4b
2026-01-05T04:40:51.045098Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Model/AuthCode.php
Model/AuthCode.php
<?php App::uses('OAuthAppModel', 'OAuth.Model'); /** * AuthCode Model * * @property Client $Client * @property User $User */ class AuthCode extends OAuthAppModel { /** * Primary key field * * @var string */ public $primaryKey = 'code'; /** * Display field * * @var string */ public $displayField = 'co...
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Model/OAuthAppModel.php
Model/OAuthAppModel.php
<?php /** * Description of OAuthAppModel * * @author Thom */ class OAuthAppModel extends AppModel { //put your code here }
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Model/Client.php
Model/Client.php
<?php App::uses('OAuthAppModel', 'OAuth.Model'); App::uses('String', 'Utility'); /** * Client Model * * @property AccessToken $AccessToken * @property AuthCode $AuthCode * @property RefreshToken $RefreshToken */ class Client extends OAuthAppModel { /** * Primary key field * * @var string */ public $primar...
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Model/AccessToken.php
Model/AccessToken.php
<?php App::uses('OAuthAppModel', 'OAuth.Model'); /** * AccessToken Model * * @property Client $Client * @property User $User */ class AccessToken extends OAuthAppModel { /** * Primary key field * * @var string */ public $primaryKey = 'oauth_token'; /** * Display field * * @var string */ public $displ...
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Model/RefreshToken.php
Model/RefreshToken.php
<?php App::uses('OAuthAppModel', 'OAuth.Model'); /** * RefreshToken Model * * @property Client $Client * @property User $User */ class RefreshToken extends OAuthAppModel { /** * Primary key field * * @var string */ public $primaryKey = 'refresh_token'; /** * Display field * * @var string */ public $d...
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Model/Behavior/HashedFieldBehavior.php
Model/Behavior/HashedFieldBehavior.php
<?php App::uses('ModelBehavior', 'Model'); App::uses('Security', 'Utility'); /** * Enable automatic field hashing when in Model::save() Model::find() */ class HashedFieldBehavior extends ModelBehavior { /** * Behavior defaults */ protected $_defaults = array( 'fields' => array(), ); /** * Setup behavior *...
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Controller/OAuthController.php
Controller/OAuthController.php
<?php /** * CakePHP OAuth Server Plugin * * This is an example controller providing the necessary endpoints * * @author Thom Seddon <thom@seddonmedia.co.uk> * @see https://github.com/thomseddon/cakephp-oauth-server * */ App::uses('OAuthAppController', 'OAuth.Controller'); /** * OAuthController * */ class ...
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Controller/OAuthAppController.php
Controller/OAuthAppController.php
<?php App::uses('AppController', 'Controller'); App::import('Vendor', 'oauth2-php/lib/OAuth2'); App::import('Vendor', 'oauth2-php/lib/IOAuth2Storage'); App::import('Vendor', 'oauth2-php/lib/IOAuth2GrantCode'); App::import('Vendor', 'oauth2-php/lib/IOAuth2RefreshTokens'); /** * Description of OAuthAppController * ...
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Controller/Component/OAuthComponent.php
Controller/Component/OAuthComponent.php
<?php /** * CakePHP OAuth Server Plugin * * This is the main component. * * It provides: * - Cakey interface to the OAuth2-php library * - AuthComponent like action allow/deny's * - Easy access to user associated to an access token * - More!? * * @author Thom Seddon <thom@seddonmedia.co.uk> * @see https://...
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Test/Case/AllOAuthTestsTest.php
Test/Case/AllOAuthTestsTest.php
<?php class AllOAuthTestsTest extends PHPUnit_Framework_TestSuite { public static function suite() { $suite = new CakeTestSuite('OAuth Tests'); $path = CakePlugin::path('OAuth') . 'Test' . DS . 'Case' . DS; $suite->addTestDirectory($path . 'Model' . DS . 'Behavior'); return $suite; } }
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Test/Case/Model/Behavior/HashedFieldBehaviorTest.php
Test/Case/Model/Behavior/HashedFieldBehaviorTest.php
<?php App::uses('CakeTestCase', 'TestSuite'); class HashedFieldBehaviorTest extends CakeTestCase { public $fixtures = array( 'plugin.o_auth.access_token', ); protected $_clientId = '1234567890'; protected $_token = '0123456789abcdefghijklmnopqrstuvwxyz'; public function setUp() { $this->AccessToken = Cla...
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Test/Fixture/AccessTokenFixture.php
Test/Fixture/AccessTokenFixture.php
<?php /** * AccessTokenFixture * */ class AccessTokenFixture extends CakeTestFixture { /** * Fields * * @var array */ public $fields = array( 'oauth_token' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 40, 'key' => 'primary', 'collate' => 'utf8_general_ci', 'charset' => 'utf8')...
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Config/routes.php
Config/routes.php
<?php Router::connect('/oauth/:action/*', array('controller' => 'OAuth', 'plugin' => 'o_auth'));
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
thomseddon/cakephp-oauth-server
https://github.com/thomseddon/cakephp-oauth-server/blob/88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324/Config/Migration/1339124026_firstmigrationoauth.php
Config/Migration/1339124026_firstmigrationoauth.php
<?php class FirstMigrationOAuth extends CakeMigration { /** * Migration description * * @var string * @access public */ public $description = ''; /** * Actions to be performed * * @var array $migration * @access public */ public $migration = array( 'up' => array( 'create_table' => array( 'access...
php
MIT
88d1daa9a35892c8b73ef1ddc5fb67ac9ec70324
2026-01-05T04:40:52.970980Z
false
awcodes/filament-badgeable-column
https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/rector.php
rector.php
<?php declare(strict_types=1); use Rector\Config\RectorConfig; return RectorConfig::configure() ->withPaths([ __DIR__.'/src', ]) ->withPreparedSets( deadCode: true, codeQuality: true, typeDeclarations: true, privatization: true, earlyReturn: true, s...
php
MIT
993c1ac7667ad4fffefba0e0e087598264d53b92
2026-01-05T04:41:05.841685Z
false
awcodes/filament-badgeable-column
https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/src/BadgeableColumnServiceProvider.php
src/BadgeableColumnServiceProvider.php
<?php declare(strict_types=1); namespace Awcodes\BadgeableColumn; use Spatie\LaravelPackageTools\Package; use Spatie\LaravelPackageTools\PackageServiceProvider; class BadgeableColumnServiceProvider extends PackageServiceProvider { public function configurePackage(Package $package): void { $package->...
php
MIT
993c1ac7667ad4fffefba0e0e087598264d53b92
2026-01-05T04:41:05.841685Z
false
awcodes/filament-badgeable-column
https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/src/Components/BadgeableColumn.php
src/Components/BadgeableColumn.php
<?php declare(strict_types=1); namespace Awcodes\BadgeableColumn\Components; use Awcodes\BadgeableColumn\Concerns\HasBadges; use Filament\Tables\Columns\TextColumn; class BadgeableColumn extends TextColumn { use HasBadges; }
php
MIT
993c1ac7667ad4fffefba0e0e087598264d53b92
2026-01-05T04:41:05.841685Z
false
awcodes/filament-badgeable-column
https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/src/Components/Badge.php
src/Components/Badge.php
<?php declare(strict_types=1); namespace Awcodes\BadgeableColumn\Components; use Closure; use Filament\Infolists\Components\Entry; use Filament\Support\Components\ViewComponent; use Filament\Support\Concerns\HasColor; use Filament\Support\Concerns\HasFontFamily; use Filament\Support\Concerns\HasWeight; use Filament\...
php
MIT
993c1ac7667ad4fffefba0e0e087598264d53b92
2026-01-05T04:41:05.841685Z
false
awcodes/filament-badgeable-column
https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/src/Components/BadgeableEntry.php
src/Components/BadgeableEntry.php
<?php declare(strict_types=1); namespace Awcodes\BadgeableColumn\Components; use Awcodes\BadgeableColumn\Concerns\HasBadges; use Filament\Infolists\Components\TextEntry; class BadgeableEntry extends TextEntry { use HasBadges; }
php
MIT
993c1ac7667ad4fffefba0e0e087598264d53b92
2026-01-05T04:41:05.841685Z
false
awcodes/filament-badgeable-column
https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/src/Concerns/HasBadges.php
src/Concerns/HasBadges.php
<?php declare(strict_types=1); namespace Awcodes\BadgeableColumn\Concerns; use Closure; use Illuminate\Contracts\Support\Htmlable; use Illuminate\Support\HtmlString; use Illuminate\Support\Str; trait HasBadges { protected array|Closure $prefixBadges = []; protected array|Closure $suffixBadges = []; pr...
php
MIT
993c1ac7667ad4fffefba0e0e087598264d53b92
2026-01-05T04:41:05.841685Z
false
awcodes/filament-badgeable-column
https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/tests/Pest.php
tests/Pest.php
<?php declare(strict_types=1);
php
MIT
993c1ac7667ad4fffefba0e0e087598264d53b92
2026-01-05T04:41:05.841685Z
false
awcodes/filament-badgeable-column
https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/tests/src/TestCase.php
tests/src/TestCase.php
<?php declare(strict_types=1); namespace Awcodes\BadgeableColumn\Tests; use Awcodes\BadgeableColumn\BadgeableColumnServiceProvider; use Awcodes\BadgeableColumn\Tests\Providers\PostsTableServiceProvider; use BladeUI\Heroicons\BladeHeroiconsServiceProvider; use BladeUI\Icons\BladeIconsServiceProvider; use Filament\Act...
php
MIT
993c1ac7667ad4fffefba0e0e087598264d53b92
2026-01-05T04:41:05.841685Z
false
awcodes/filament-badgeable-column
https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/tests/src/Fixtures/Livewire/PostsTable.php
tests/src/Fixtures/Livewire/PostsTable.php
<?php declare(strict_types=1); namespace Awcodes\BadgeableColumn\Tests\Fixtures\Livewire; use Awcodes\BadgeableColumn\Components\Badge; use Awcodes\BadgeableColumn\Components\BadgeableColumn; use Awcodes\BadgeableColumn\Tests\Fixtures\Models\Post; use Exception; use Filament\Actions\Concerns\InteractsWithActions; us...
php
MIT
993c1ac7667ad4fffefba0e0e087598264d53b92
2026-01-05T04:41:05.841685Z
false
awcodes/filament-badgeable-column
https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/tests/src/Fixtures/Livewire/InfolistPage.php
tests/src/Fixtures/Livewire/InfolistPage.php
<?php declare(strict_types=1); namespace Awcodes\BadgeableColumn\Tests\Fixtures\Livewire; use Awcodes\BadgeableColumn\Components\Badge; use Awcodes\BadgeableColumn\Components\BadgeableEntry; use Exception; use Filament\Schemas\Concerns\InteractsWithSchemas; use Filament\Schemas\Contracts\HasSchemas; use Filament\Sch...
php
MIT
993c1ac7667ad4fffefba0e0e087598264d53b92
2026-01-05T04:41:05.841685Z
false
awcodes/filament-badgeable-column
https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/tests/src/Fixtures/Models/Post.php
tests/src/Fixtures/Models/Post.php
<?php declare(strict_types=1); namespace Awcodes\BadgeableColumn\Tests\Fixtures\Models; use Awcodes\BadgeableColumn\Tests\Database\Factories\PostFactory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Post extends Model { use HasFactory; protected $cast...
php
MIT
993c1ac7667ad4fffefba0e0e087598264d53b92
2026-01-05T04:41:05.841685Z
false