Skip to content

Commit

Permalink
Change license
Browse files Browse the repository at this point in the history
  • Loading branch information
that-guy-iain authored and Iain Cambridge committed Mar 21, 2024
1 parent 71a00bc commit 4b5a143
Show file tree
Hide file tree
Showing 1,063 changed files with 12,376 additions and 4,404 deletions.
27 changes: 12 additions & 15 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,25 @@

declare(strict_types=1);

/*
* Copyright Iain Cambridge 2020-2024.
*
* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
*
* Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
*
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
*/

return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setRules([
'@PSR2' => true,
'@Symfony' => true,
'header_comment' => ['header' => 'Copyright Humbly Arrogant Software Limited 2020-2024
Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
'header_comment' => ['header' => 'Copyright (C) 2020-2024 Iain Cambridge
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.'],
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.'],
'list_syntax' => ['syntax' => 'short'],
'array_syntax' => ['syntax' => 'short'],
'declare_strict_types' => true,
Expand Down
716 changes: 650 additions & 66 deletions LICENSE

Large diffs are not rendered by default.

35 changes: 3 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

* Supporting other frameworks or languages
* Provide custom business logic
* Provide a FOSS solution.

## Repositories

Expand Down Expand Up @@ -90,35 +89,11 @@ Issues we will provide support and fixes for:

### Is Parthenon Open-Source?

Parthenon is not considered to be open-source; it's made available under a license type known as a source available license. The License Parthenon is released under is the Business Source License which was created by MariaDB. The premise is you're allowed to use Parthenon free of charge for non-production use but are required to have a commercial license if you use it in production and generate more than $5,000 USD a month.
Yes, it's released under GPL v3.

### Can I use Parthenon for free?

A quick answer is that you can use Parthenon for free if you're generating less $5,000 USD a month.

For non-production use, you can use Parthenon for free. This includes development and testing. If you're generating less than $5,000 USD a month in revenue you can use Parthenon for free. Otherwise, you'll need a commercial license to use it in production.

### Where can I get a commercial license?

You can find out more information about getting a commercial license at https://getparthenon.com.

### How much does a commercial license cost?

The cost of a commercial license is $250 per developer.

### Do I get better support when I have a commercial license?

Yes. Bugs report, support requests, and feature requests from commercial license holders will receive preferential treatment and will always receive a response.

Those without a commercial license will receive better efforts to support them.

### Do I get a perpetual commercial license for Parthenon?

When you get a license, you have a perpetual license for the minor version of Parthenon that is currently released at the time of purchase, as well as the right to receive updates for a year. If you subscribe to the one-year update support, you'll be able to always use the latest version. If you choose not to continue an updates subscription, you'll be entitled to use the minor version of Parthenon that was available at the last yearly license update.

For example, if you buy a commercial license and the minor version is 2.0, and you don't subscribe to a yearly subscription, you'll be able to use 2.0 and any minor version released throughout the year, but once the update support has ended, you'll be entitled to use 2.0 only.

Another example: if you buy a commercial license and the minor version is 2.0 and subscribe for three years, and after the support license has ended, you would be entitled to use the minor version that was available 12 months before. So if 2.4 was released at the start of the final year of update support and 2.5 was available at the end of it, you would be entitled to use version 2.4 after the support license is over.
Yes.

### Who is Parthenon for?

Expand All @@ -134,8 +109,4 @@ Yes. Parthenon is a bundle that can be used with your existing Symfony applicati

Parthenon is designed to scale. It has been purposefully designed so that things are able to be replaced as you grow.

We know that as your system scales, there will be parts of Parthenon you'll want to replace with highly custom code, and we designed Parthenon to allow you to do it with ease.

### What happens if the development of Parthenon stops?

Because we've licensed Parthenon under the Business Source License, after three years, the release will be licensed under a FOSS license which means the community will be able to take over if anything unforeseen happens.
We know that as your system scales, there will be parts of Parthenon you'll want to replace with highly custom code, and we designed Parthenon to allow you to do it with ease.
15 changes: 11 additions & 4 deletions src/Billing/EntityFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
declare(strict_types=1);

/*
* Copyright Humbly Arrogant Software Limited 2020-2024
* Copyright (C) 2020-2024 Iain Cambridge
*
* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace App\Billing;
Expand Down
15 changes: 11 additions & 4 deletions src/Controller/HomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
declare(strict_types=1);

/*
* Copyright Humbly Arrogant Software Limited 2020-2024
* Copyright (C) 2020-2024 Iain Cambridge
*
* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace App\Controller;
Expand Down
15 changes: 11 additions & 4 deletions src/Controller/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
declare(strict_types=1);

/*
* Copyright Humbly Arrogant Software Limited 2020-2024
* Copyright (C) 2020-2024 Iain Cambridge
*
* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace App\Controller;
Expand Down
15 changes: 11 additions & 4 deletions src/Controller/WebhookController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
declare(strict_types=1);

/*
* Copyright Humbly Arrogant Software Limited 2020-2024
* Copyright (C) 2020-2024 Iain Cambridge
*
* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace App\Controller;
Expand Down
15 changes: 11 additions & 4 deletions src/Dummy/Provider/ChargeBackService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
declare(strict_types=1);

/*
* Copyright Humbly Arrogant Software Limited 2020-2024
* Copyright (C) 2020-2024 Iain Cambridge
*
* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace App\Dummy\Provider;
Expand Down
15 changes: 11 additions & 4 deletions src/Dummy/Provider/CustomerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
declare(strict_types=1);

/*
* Copyright Humbly Arrogant Software Limited 2020-2024
* Copyright (C) 2020-2024 Iain Cambridge
*
* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace App\Dummy\Provider;
Expand Down
15 changes: 11 additions & 4 deletions src/Dummy/Provider/HostedCheckoutService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
declare(strict_types=1);

/*
* Copyright Humbly Arrogant Software Limited 2020-2024
* Copyright (C) 2020-2024 Iain Cambridge
*
* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace App\Dummy\Provider;
Expand Down
15 changes: 11 additions & 4 deletions src/Dummy/Provider/InvoiceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
declare(strict_types=1);

/*
* Copyright Humbly Arrogant Software Limited 2020-2024
* Copyright (C) 2020-2024 Iain Cambridge
*
* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace App\Dummy\Provider;
Expand Down
15 changes: 11 additions & 4 deletions src/Dummy/Provider/PaymentService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
declare(strict_types=1);

/*
* Copyright Humbly Arrogant Software Limited 2020-2024
* Copyright (C) 2020-2024 Iain Cambridge
*
* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace App\Dummy\Provider;
Expand Down
15 changes: 11 additions & 4 deletions src/Dummy/Provider/PriceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
declare(strict_types=1);

/*
* Copyright Humbly Arrogant Software Limited 2020-2024
* Copyright (C) 2020-2024 Iain Cambridge
*
* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace App\Dummy\Provider;
Expand Down
15 changes: 11 additions & 4 deletions src/Dummy/Provider/ProductService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
declare(strict_types=1);

/*
* Copyright Humbly Arrogant Software Limited 2020-2024
* Copyright (C) 2020-2024 Iain Cambridge
*
* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Change Date: 26.06.2026 ( 3 years after 2.2.0 release )
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace App\Dummy\Provider;
Expand Down
Loading

0 comments on commit 4b5a143

Please sign in to comment.