PHP code example of pushword / skeleton
1. Go to this page and download the library: Download pushword/skeleton library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pushword / skeleton example snippets
cd packages/skeleton;
rm -rf media && cp -r media~ media
php bin/console doctrine:schema:update --force
php bin/console doctrine:fixtures:load
# Add an admin user :
read -p 'Email: ' emailvar
read -sp 'Password: ' passvar
php bin/console pushword:user:create $emailvar $passvar ROLE_SUPER_ADMIN
#php bin/console pushword:user:create [email protected] p@ssword ROLE_SUPER_ADMIN
# Install Bundle Assets
php bin/console assets:install
# Launch Server and Play
symfony server:start -d