vpremiss / crafty
Some essential helpers to rely on during TALL stack development.
Fund package maintenance!
VPremiss
Requires
- php: ^8.2
- illuminate/contracts: ^11.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^2.9
- nunomaduro/collision: ^8.1.1
- orchestra/testbench: ^9.0.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-arch: ^2.7
- pestphp/pest-plugin-laravel: ^2.3
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- dev-main
- v4.14.0
- v4.13.0
- v4.12.0
- v4.11.0
- v4.10.0
- v4.9.8
- v4.9.6
- v4.9.5
- v4.9.4
- v4.9.3
- v4.9.2
- v4.9.1
- v4.9.0
- v4.8.2
- v4.7.5
- v4.5.2
- v4.5.0
- v4.4.9
- v4.4.8
- v4.4.7
- v4.4.6
- v4.4.5
- v4.4.4
- v4.4.3
- v4.4.2
- v4.4.1
- v4.4.0
- v4.3.1
- v4.3.0
- v4.2.0
- v4.0.0
- v3.1.1
- v3.1.0
- v3.0.1
- v3.0.0
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-dependabot/github_actions/codecov/codecov-action-4.5.0
- dev-dev
This package is auto-updated.
Last update: 2025-01-02 04:00:02 UTC
README
بسم الله الرحمن الرحيمCrafty
Some essential helpers to rely on during TALL stack development.
Description
Contains some helper service classes (that you can use as Laravel facades). And it has some global helper functions for quick actions as well... Pretty much the things we found ourselves needing and without having a "strong" reason to PR Laravel about.
Installation
-
Install the package via composer:
composer require VPremiss/Crafty
-
Publish the config file using this Artisan command:
php artisan vendor:publish --tag="crafty-config"
Upgrading
-
Backup your current config.
-
Republish the package stuff using this Artisan command:
php artisan vendor:publish --tag="crafty-config" --force
Usage
-
Enumerified
- Can be applied to enums to extend their TALL abilities.
-
Installable
- Used along
HasInstallationCommand
trait on the package service provider, in order to implement an installation command. - Needs the
installationCommand()
method applied within the laravel-package-tools service provider'sbootingPackage()
method.
- Used along
-
Configurated
- Ensures, as a package service provider's interface, that package configurations are validated and handled gracefully.
- During
packageRegistered()
, you have to callregisterConfigurations()
method that's available inManagesConfigurations
trait. - It's used along
CraftyPackage::getConfiguration()
method.
API
Below are the tables of all the Crafty
package helpers:
Package Development
To integrate this package into the development of another package, ensure you load it first within your TestCase file:
class TestCase extends Orchestra { // ... public function ignorePackageDiscoveriesFrom() { return [ 'vpremiss/arabicable', // the other package 'vpremiss/crafty', ]; } protected function getPackageProviders($_) { return [ \VPremiss\Crafty\CraftyServiceProvider::class, \VPremiss\Arabicable\ArabicableServiceProvider::class, // the other package ]; } // ... }
Changelogs
You can check out the package's changelogs online via WTD.
Progress
You can also checkout the project's roadmap among others in the organization's dedicated section for projects.
Support
Support ongoing package maintenance as well as the development of other projects through sponsorship or one-time donations if you prefer.
And may Allah accept your strive; aameen.
License
This package is open-sourced software licensed under the MIT license.
Credits
- ChatGPT
- Graphite
- Laravel
- Spatie
- BeyondCode
- The Contributors
- All the backend packages and services this package relies on...
- And the generous individuals that we've learned from and been supported by throughout our journey...
والحمد لله رب العالمين