project s3-skeleton
Skeleton App for microsites
gosoft/s3-skeleton
Skeleton App for microsites
- Tuesday, December 12, 2017
- by braian125
- Repository
- 3 Watchers
- 4 Stars
- 13 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 3 Forks
- 4 Open issues
- 1 Versions
- 0 % Grown
Welcome to S3 Skeleton!
Install
Using Composer, (*1)
composer create-project gosoft/s3-skeleton=dev-master, (*2)
Github, (*3)
git clone https://github.com/braian125/s3-skeleton.git, (*4)
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
, (*5)
Direcotories
-
app
: Application code
-
app/Controller
: All controllers files within the App\Controller
namespace
-
app/Models
: All models files within the App\Models
namespace
-
app/Middleware
: All middlewares files within the App\Middleware
namespace
-
resources/views
: Twig template files
-
resources/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 root
-
vendor
: Composer dependencies
-
node_modules
: npm dependencies
How to use Grunt?
Devops, (*6)
run grunt dev, (*7)
Production, (*8)
run grunt dist, (*9)
Command Line
Create Controller, (*10)
php skeleton create:controller yourcontrollername, (*11)
Create Model, (*12)
php skeleton create:model yourmodelname, (*13)
Create Migration, (*14)
php skeleton create:migration yourmigrationname, (*15)
php skeleton migrate, (*16)
php skeleton rollback, (*17)
About us
@braian125, (*18)
@julianhm9612, (*19)
dev-master
9999999-dev
Skeleton App for microsites
Sources
Download
MIT
The Requires
by
Brian Vanegas
by
Julian Henao Marin
framework
skeleton
slim
slim3