定制 despark/laravel-project-starter 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

despark/laravel-project-starter

最新稳定版本:v1.5

Composer 安装命令:

composer create-project despark/laravel-project-starter

包简介

How we bootstrap Laravel's core at Despark.

README 文档

README

The project starter is a seed for Laravel web applications. The project contains a sample application and it is pre-configured to install bunch of front-end and back-end tools that helps to setup new projects. We suggest to use Homestead vagrant box for your local environment, because the project starter contains environment specific configurations and scripts. Also homestead helps when working in a team and you have to use the same local environments. For more information on how to install Homestead check out this tutorial from laracasts.

Default Dependencies

Backend

Frontend (Bower Dependencies)

  • modernizr: 2.8.x - Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.
  • jquery: 2.x.x - jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax
  • fastclick: ~1.0.6 - FastClick is a simple, easy-to-use library for eliminating the 300ms delay between a physical tap and the firing of a click event on mobile browsers.

Features

  • Different environments setup
  • Automatic DB settings based on project name
  • Custom error pages
  • Default behaviour for model validation exceptions
  • Custom model validation
  • Debug bar
  • Authentication and Users/Roles handled with Sentry
  • Creation of DB, running migrations and seeding data for default users and roles

Installation

To install the project you should run the following command in the Homestead:

$ composer create-project despark/laravel-project-starter <project_name>

Where project_name is the name of the project that you want to start.

What command does?

  • Create database with the entered project_name, setup the migrations
  • Setup the migration table
  • Migrate and seed the users table
  • Publish configurations
  • Change placeholders that contains name of the project in configuration files

Frontend installation and running

To complete the next step you should have installed Bower & Npm manager. If no:

Than:

  • $ npm install -g bower

Run the following commands to install the dependecies

  • bower install
  • npm install

For building and watching sass, js, image and fonts files run the following command

  • gulp

Frontend dev folder is static_html. The result is delivered in public folder.

统计信息

  • 总下载量: 122
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 14
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固