You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.8 KiB
JSON
83 lines
2.8 KiB
JSON
{
|
|
"$schema": "https://getcomposer.org/schema.json",
|
|
"name": "leafs/mvc",
|
|
"description": "A lightweight framework for people who just want to ship",
|
|
"type": "project",
|
|
"keywords": [
|
|
"framework",
|
|
"leaf",
|
|
"mvc"
|
|
],
|
|
"license": "MIT",
|
|
"require": {
|
|
"leafs/aloe": "^4.0",
|
|
"leafs/blade": "^4.0",
|
|
"leafs/mvc-core": "^4.0",
|
|
"leafs/leaf": "^4.0",
|
|
"leafs/logger": "^4.0",
|
|
"leafs/auth": "^4.1"
|
|
},
|
|
"require-dev": {
|
|
"fakerphp/faker": "^1.24",
|
|
"leafs/alchemy": "^4.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "app/",
|
|
"Tests\\": "tests/",
|
|
"Config\\": "config/",
|
|
"App\\Http\\": "app/http/",
|
|
"App\\Jobs\\": "app/jobs/",
|
|
"App\\Lang\\": "app/lang/",
|
|
"App\\Mail\\": "app/mail/",
|
|
"App\\Views\\": "app/views/",
|
|
"App\\Utils\\": "app/utils/",
|
|
"App\\Events\\": "app/events/",
|
|
"App\\Models\\": "app/models/",
|
|
"App\\Mailers\\": "app/mailers/",
|
|
"App\\Workers\\": "app/workers/",
|
|
"App\\Console\\": "app/console/",
|
|
"App\\Scripts\\": "app/scripts/",
|
|
"App\\Helpers\\": "app/helpers/",
|
|
"App\\Channels\\": "app/channels/",
|
|
"App\\Services\\": "app/services/",
|
|
"App\\Database\\": "app/database/",
|
|
"App\\Middleware\\": "app/middleware/",
|
|
"App\\Components\\": "app/components/",
|
|
"App\\Controllers\\": "app/controllers/",
|
|
"App\\Notifications\\": "app/notifications/",
|
|
"App\\Database\\Seeds\\": "app/database/seeds/",
|
|
"App\\Database\\Schema\\": "app/database/schema/",
|
|
"App\\Database\\Factories\\": "app/database/factories/"
|
|
},
|
|
"exclude-from-classmap": [
|
|
"app/database/migrations"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"post-root-package-install": [
|
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
|
|
"@php -r \"if (file_exists('README2.MD')) {unlink('README.MD'); rename('README2.MD', 'README.MD');}\""
|
|
],
|
|
"post-create-project-cmd": [
|
|
"@php leaf key:generate"
|
|
],
|
|
"dev": [
|
|
"Composer\\Config::disableProcessTimeout",
|
|
"@php leaf serve --ansi"
|
|
],
|
|
"alchemy": "./vendor/bin/alchemy setup",
|
|
"test": "./vendor/bin/alchemy setup --test",
|
|
"lint": "./vendor/bin/alchemy setup --lint",
|
|
"actions": "./vendor/bin/alchemy setup --actions"
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"sort-packages": false,
|
|
"allow-plugins": {
|
|
"pestphp/pest-plugin": true
|
|
}
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true
|
|
} |