Skip to content

Commit 142b63e

Browse files
committed
chore: Initial commit 🎉
0 parents  commit 142b63e

File tree

23 files changed

+417
-0
lines changed

23 files changed

+417
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/vendor/
2+
composer.lock
3+
/wiki/
4+
/build/
5+
.phpunit.result.cache

CHANGELOG.md

Whitespace-only changes.

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Ollie Read
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<img src="articulate.png">
2+
3+
![Packagist Version](https://img.shields.io/packagist/v/articulate/concise)
4+
![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/articulate/concise)
5+
6+
![GitHub](https://img.shields.io/github/license/articulate-laravel/concise)
7+
![Laravel](https://img.shields.io/badge/laravel-11.x-red.svg)
8+
[![codecov](https://codecov.io/gh/articulate-laravel/concise/branch/main/graph/badge.svg?token=FHJ41NQMTA)](https://codecov.io/gh/articulate-laravel/concise)
9+
10+
![Unit Tests](https://github.com/articulate-laravel/concise/actions/workflows/tests.yml/badge.svg)
11+
![Static Analysis](https://github.com/articulate-laravel/concise/actions/workflows/static-analysis.yml/badge.svg)
12+
13+
# Concise for Laravel
14+
### A super lightweight data mapper ORM for Laravel
15+
16+
This package is currently under development.
17+
Check back in the future for updates.

articulate.png

129 KB
Loading

composer.json

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
{
2+
"name": "articulate/concise",
3+
"description": "A super lightweight data mapper ORM for Laravel",
4+
"keywords": [
5+
"laravel",
6+
"orm",
7+
"data mapper",
8+
"datamapper",
9+
"lightweight"
10+
],
11+
"type": "library",
12+
"require": {
13+
"php": "^8.2",
14+
"laravel/framework": "^11.0 | ^12.0"
15+
},
16+
"require-dev": {
17+
"phpunit/phpunit": "^11.0.1",
18+
"orchestra/testbench": "^9.4",
19+
"larastan/larastan": "^2.9",
20+
"infection/infection": "^0.29.8"
21+
},
22+
"license": "MIT",
23+
"autoload": {
24+
"psr-4": {
25+
"Articulate\\Concise\\": "src/"
26+
},
27+
"files": []
28+
},
29+
"autoload-dev": {
30+
"psr-4": {
31+
"Articulate\\Concise\\Tests\\": "tests/",
32+
"App\\": "workbench/app/",
33+
"Database\\Factories\\": "workbench/database/factories/",
34+
"Database\\Mappers\\": "workbench/database/mappers/",
35+
"Database\\Seeders\\": "workbench/database/seeders/"
36+
}
37+
},
38+
"authors": [
39+
{
40+
"name": "Ollie Read",
41+
"email": "[email protected]"
42+
}
43+
],
44+
"minimum-stability": "stable",
45+
"scripts": {
46+
"post-autoload-dump": [
47+
"@clear",
48+
"@prepare",
49+
"@php vendor/bin/testbench package:discover --ansi"
50+
],
51+
"phpstan": "@php vendor/bin/phpstan analyse --memory-limit=2G --verbose --ansi",
52+
"clear": "@php vendor/bin/testbench package:purge-skeleton --ansi",
53+
"prepare": "@php vendor/bin/testbench package:discover --ansi",
54+
"build": "@php vendor/bin/testbench workbench:build --ansi",
55+
"serve": [
56+
"Composer\\Config::disableProcessTimeout",
57+
"@build",
58+
"@php vendor/bin/testbench serve --ansi"
59+
],
60+
"analyse": [
61+
"phpstan"
62+
],
63+
"test": [
64+
"@clear",
65+
"@prepare",
66+
"@build",
67+
"@php vendor/bin/phpunit"
68+
],
69+
"mutation": [
70+
"@clear",
71+
"@prepare",
72+
"@build",
73+
"@php vendor/bin/infection --threads=12"
74+
],
75+
"lint": [
76+
"@php vendor/bin/phpstan analyse --verbose --ansi"
77+
]
78+
},
79+
"extra": {
80+
"laravel": {
81+
"providers": [
82+
"Articulate\\ArticulateServiceProvider"
83+
],
84+
"facades": []
85+
}
86+
},
87+
"config": {
88+
"allow-plugins": {
89+
"infection/extension-installer": true
90+
}
91+
}
92+
}

phpstan.neon

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
includes:
2+
- vendor/larastan/larastan/extension.neon
3+
4+
parameters:
5+
level: max
6+
paths:
7+
- src
8+
excludePaths:
9+
- tests
10+
ignoreErrors:

phpunit.xml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5+
backupGlobals="false"
6+
bootstrap="vendor/autoload.php"
7+
colors="true"
8+
processIsolation="false"
9+
stopOnFailure="false"
10+
executionOrder="random"
11+
failOnWarning="true"
12+
failOnRisky="true"
13+
failOnEmptyTestSuite="true"
14+
beStrictAboutOutputDuringTests="true"
15+
testdox="true"
16+
>
17+
<testsuites>
18+
<testsuite name="Testsuite">
19+
<directory>./tests</directory>
20+
</testsuite>
21+
</testsuites>
22+
<source>
23+
<include>
24+
<directory suffix=".php">./src</directory>
25+
</include>
26+
</source>
27+
<coverage>
28+
<report>
29+
<html outputDirectory="build/coverage"/>
30+
<text outputFile="build/coverage.txt"/>
31+
<clover outputFile="build/logs/clover.xml"/>
32+
</report>
33+
</coverage>
34+
<logging>
35+
<junit outputFile="build/report.junit.xml"/>
36+
</logging>
37+
<php>
38+
<server name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
39+
</php>
40+
</phpunit>

src/ConciseServiceProvider.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
declare(strict_types=1);
3+
4+
namespace Articulate\Concise;
5+
6+
use Illuminate\Support\ServiceProvider;
7+
8+
class ConciseServiceProvider extends ServiceProvider
9+
{
10+
11+
}

testbench.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
providers:
2+
- Articulate\Concise\ConciseServiceProvider
3+
4+
migrations:
5+
- workbench/database/migrations
6+
7+
seeders:
8+
- Database\Seeders\DatabaseSeeder
9+
10+
workbench:
11+
start: '/'
12+
install: true
13+
health: false
14+
discovers:
15+
web: false
16+
api: false
17+
commands: false
18+
components: false
19+
views: false
20+
build:
21+
- asset-publish
22+
- create-sqlite-db
23+
- migrate:refresh
24+
assets: []
25+
sync: []

0 commit comments

Comments
 (0)