gosoft / s3-skeleton
Skeleton App for microsites
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 2
Open Issues: 10
Type:project
Requires
- cboden/ratchet: ^0.4.0
- davedevelopment/phpmig: ^1.2
- illuminate/database: 5.4.36
- slim/csrf: ^0.8.2
- slim/flash: ^0.4
- slim/slim: 3.*
- slim/twig-view: *
- symfony/process: ^3.0
- vlucas/phpdotenv: ^2.4
This package is not auto-updated.
Last update: 2025-03-11 19:46:41 UTC
README
Install
Using Composer
composer create-project gosoft/s3-skeleton=dev-master
Github
Run it
1. run composer install
2. run npm i, on linux run with sudo (optional)
3. run npm install -g grunt, on linux run with sudo (optional)
4. Copy the .env.example file and rename it as .env, in the file configure your development environment variables
5. Serving your application using built-in PHP development server: php -S localhost:8080 -t public
Direcotories
app
: Application codeapp/Controller
: All controllers files within theApp\Controller
namespaceapp/Models
: All models files within theApp\Models
namespaceapp/Middleware
: All middlewares files within theApp\Middleware
namespaceresources/views
: Twig template filesresources/assets
: The less work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, etc, the easier your job becomes.public
: Webserver rootvendor
: Composer dependenciesnode_modules
: npm dependencies
How to use Grunt?
Devops
run grunt dev
Production
run grunt dist
Command Line
Create Controller
php skeleton create:controller yourcontrollername
Create Model
php skeleton create:model yourmodelname
Create Migration
php skeleton create:migration yourmigrationname
php skeleton migrate
php skeleton rollback