Download the PHP package jahudka/nittro-project without Composer
On this page you can find all versions of the php package jahudka/nittro-project. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package nittro-project
Nittro project skeleton
This is a simple skeleton for a Nette project with Nittro via Gulp, Doctrine via Kdyby and a basic admin template based on Bootstrap v4. PHP 7.1 is required.
Installation
Application layout
- Configuration is stored in
./etc. - Executable console tool is at
./bin/console. - All application sources are under
./src, which is a PSR-4 namespace root for theAppnamespace; autoloading in this namespace is provided by Composer. - All caches and logs, as well as sessions, are under
./var.
Doctrine
- Entities reside in
./src/Entity. - A default entity exists for user identity, users can be managed
using the console tool's
user:*family of commands.
Components
- There is an abstract base class
App\UI\BaseControlwhich adds thesetView(string $view),getView()andrender()methods; components extending this class will be rendered using a latte template located at<component directory>/templates/<view>.latte. - As a convenience, all interfaces with a single method called
createdefined in either the common./src/Componentsor the per-moduleComponentsdirectories are automatically registered in the DI container (unless a service implementing the interface already exists).
Assets
- All assets are managed and compiled using Gulp.
- As a convention, assets specific to each module are in the
module's
assetssubdirectory while (potentially) common assets are in the./src/assetsdirectory. -
There are many available Gulp tasks to build all the individual assets, as well as a couple of watch tasks to make life easier during development. They are named according to the following convention:
You can think of the task names as a list of tags separated by a colon. The
watchtag doesn't work with thefontstag, but otherwise all combinations are allowed. Omitting any tag except thewatchtag is the same as if you specified all the permutations of the tag, e.g.watch:jsis the same aswatch:public:js watch:admin:jsandpublicis the same aspublic:js public:css public:fonts. - The default task builds everything.
- Nittro components are enabled at the beginning of the gulpfile using configuration flags of the builder instances; additional libraries from other vendors as well as your custom code can be specified there as well. Reading the source of the gulpfile should make everything clear.
- All non-minified javascripts are minified, all LESS styles are compiled and all non-minified styles are minified.
- Bootstrap for Nittro is generated automatically.
Console
- There are a number of useful Doctrine-related commands defined
by the
kdyby/doctrinepackage - those are available as usual. - There are also a couple of commands for user management as mentioned previously.
- As a convenience, all classes in the common
./src/Commandsor the per-moduleCommandsdirectories that extend Symfony'sCommandclass are automatically registered in the DI container and tagged with thekdyby.console.commandtag (unless a service of the same type already exists).
All versions of nittro-project with dependencies
nette/di Version ^2.4.10
nette/application Version ^2.4.9
nette/forms Version ^2.4.6
nette/bootstrap Version ^2.4.5
nette/utils Version ^2.4.8
latte/latte Version ^2.4.6
tracy/tracy Version ^2.4.10
nittro/nette-bridges Version ^2.0.14
nette/security Version ^2.4.2
symfony/console Version ^3.3.10
nette/finder Version ^2.4.1
nette/robot-loader Version ^2.4.3
kdyby/doctrine Version ^3.2.1
kdyby/console Version ^2.7.0
kdyby/events Version ^3.1.0